-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathshell.nix
80 lines (77 loc) · 1.34 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{pkgs ? import (fetchTarball "https://github.com/tweag/nixpkgs/archive/befc83905c9.tar.gz") {}}:
let ghc = pkgs.haskell.packages.ghc924.ghcWithPackages (hpkgs: with hpkgs; [hpkgs.pandoc hpkgs.template hpkgs.hpack]);
texlive = pkgs.texlive.combine {
inherit (pkgs.texlive)
amsmath
appendix
bera
booktabs
caption
catchfile
ccaption
chngcntr
cleveref
comment
enumitem
etoolbox
everysel
filehook
framed
float
fontspec
fpl
fvextra
fancyvrb
graphics
hardwrap
helvetic
inconsolata
latexmk
lazylist
libertine
lineno
listings
mathpazo
metafont
microtype
multirow
minted
newtxsf
palatino
pgf
pgfopts
polytable
quotchap
ragged2e
scheme-basic
stmaryrd
setspace
subfig
tabulary
textcase
thmtools
titlesec
titling
tocloft
tufte-latex
unicode-math
upquote
xcolor
xstring
xetex;
};
in
pkgs.mkShell {
buildInputs = [
ghc
pkgs.gnumake
pkgs.git
texlive
# Needed to get correct locale for tests with encoding
pkgs.glibcLocales
pkgs.cacert
];
shellHook = ''
export PATH=$PWD/out/bin:$PATH
'';
}