-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathshell.nix
37 lines (35 loc) · 861 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
{ config ? { }
, pkgs ? import
(
fetchTarball {
# latest https://github.com/NixOS/nixpkgs/commits/nixos-22.11 as of Tue 16 May 2023 01:36:07 PM PDT
url = https://github.com/NixOS/nixpkgs/archive/55af203d468a6f5032a519cba4f41acf5a74b638.tar.gz;
# obtained by nix-prefetch-url --unpack https://github.com/NixOS/nixpkgs/archive/$REV.tar.gz
sha256 = "1174h8wbvm03qgbz8mw0iazh2zgl08rh2d59b26dqlc0an6idi84";
}
)
{ inherit config; }
}:
with pkgs;
mkShell {
name = "hakkell-environment";
buildInputs = [
texlive.combined.scheme-full
(haskellPackages.ghcWithPackages (p: with p; [
unlit
random
criterion
lhs2tex
threadscope
]))
ghcid
python3 # for the noprint.py script
gnuplot
inkscape
zip
unzip
];
passthru = {
inherit pkgs;
};
}