-
Notifications
You must be signed in to change notification settings - Fork 34
/
Copy pathshell.nix
75 lines (74 loc) · 1.85 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
with import (fetchTarball https://github.com/NixOS/nixpkgs/archive/nixos-20.09.tar.gz) {};
let hp = haskellPackages.override{
overrides = self: super: {
lp-diagrams = self.callPackage ./lp-diagrams.nix {};
lp-diagrams-svg = self.callPackage ./lp-diagrams-svg.nix {};
marxup = self.callPackage ./marxup.nix {};
parsek = self.callPackage ./parsek.nix {};
gasp = self.callPackage ./gasp.nix {};
};};
ghc = hp.ghcWithPackages (ps: with ps; ([ base gasp lens lp-diagrams lp-diagrams-svg cabal-install ]));
myTexLive = texlive.combine {
inherit (texlive)
make4ht # html conversion
tex4ht # html conversion
hyphenat # don't hyphenate
dvipng # org-mode preview needs this
arabtex
ebgaramond # font
#fonts
tex-gyre
tex-gyre-math
collection-fontsrecommended
comment
dejavu
doublestroke # usepackage dsfont
inconsolata
latexmk
libertine
libertinus
# collection-fontutils
biblatex
capt-of
cm-super
# dvipng # org-mode preview wants this; but broken
mathdesign # jlm requirement
enumitem
fancyhdr
filehook
hyperref
lastpage
lazylist # for lhs2tex
lm
lm-math
logreq
marvosym
multirow
newunicodechar
newtx # newtxmath
pgfplots
polytable # for lhs2tex
scheme-small
soul
stmaryrd
titlesec # change the environment of sections, etc. in convenient way
titling # tweaking title
fontaxes
threeparttable
todonotes
ucharcat
unicode-math
varwidth
wasy
wasysym
wrapfig
xargs
xstring;
};
in pkgs.stdenv.mkDerivation {
name = "my-env-0";
buildInputs = [ z3 myTexLive ghc ];
shellHook = ''
export LANG=en_US.UTF-8
'';
}