-
Notifications
You must be signed in to change notification settings - Fork 12
/
shell.nix
50 lines (45 loc) · 894 Bytes
/
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
{ pkgs ? import <nixpkgs> {} }:
let
my-python = pkgs.python3;
python-with-my-packages = my-python.withPackages (p: with p; [
pygments
# add more needed python packages here
]);
my-texlive = pkgs.texlive.combine {
inherit (pkgs.texlive)
scheme-medium
preprint
catchfile
comment
environ
framed
fvextra
hyperxmp
ifmtarg
lipsum
marginnote
minted
ncctools
pygmentex
todonotes
totpages
upquote
xargs
xifthen
xstring
# add more needed texlive packages here
;
};
in
pkgs.mkShell {
name = "opencompl";
packages = [
python-with-my-packages
# include this if you wish to run --pure shells, otherwise save you the trouble and use your texlive scheme-full system installation
# my-texlive
# "normal dependencies"
pkgs.python3
pkgs.gnumake
pkgs.which
];
}