-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathshell.nix
59 lines (49 loc) · 1.18 KB
/
shell.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
let
# Nixpkgs snapshot.
sources = import ./package/nix/sources.nix;
# The final "pkgs" attribute with all the bells and whistles of our overlays.
pkgs = import sources.nixpkgs {};
# This minimalist latex setup is adapted from https://nixos.wiki/wiki/TexLive.
tex_for_orgmode = (pkgs.texlive.combine {
# Start with scheme-basic.
inherit (pkgs.texlive) scheme-basic
# Add in additional TeX packages (think CTAN package names).
wrapfig amsmath ulem hyperref capt-of
# TikZ.
pgf
xkeyval
fontspec
tikz-qtree
# Source Sans Pro font.
sourcesanspro
# Source Code Pro font.
sourcecodepro
;
});
in
# This is our development shell.
pkgs.mkShell ({
buildInputs = [
# Tangling and weaving for Literate Programming.
pkgs.emacs29-nox
# Diagrams.
pkgs.inkscape
pkgs.pdf2svg
tex_for_orgmode
# Misc
pkgs.git
pkgs.less
# Update deps (bootstrap).
pkgs.niv
pkgs.nix
pkgs.cacert
# Spell checking.
pkgs.typos
# Link checker.
pkgs.lychee
# Python testing and linting.
pkgs.python3Packages.hypothesis
pkgs.python3Packages.mypy
pkgs.ruff
];
})