-
Notifications
You must be signed in to change notification settings - Fork 170
/
Copy pathshell.nix
53 lines (53 loc) · 1.04 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
# See header comment in default.nix for how to update sources.nix.
let
sources = import ./nix/sources.nix;
pkgs = import sources.nixpkgs {};
python = pkgs.python311Packages;
haskell = pkgs.haskell.packages.ghc96;
in
pkgs.stdenv.mkDerivation {
name = "futhark";
buildInputs =
with pkgs;
[
cabal-install
cacert
curl
file
git
parallel
haskell.ghc
ormolu
haskell.weeder
haskell.haskell-language-server
haskellPackages.graphmod
haskellPackages.apply-refact
xdot
hlint
pkg-config
zlib
zlib.out
cabal2nix
ghcid
niv
ispc
python.python
python.mypy
python.black
python.cycler
python.numpy
python.pyopencl
python.matplotlib
python.jsonschema
python.sphinx
python.sphinxcontrib-bibtex
imagemagick # needed for literate tests
]
++ lib.optionals (stdenv.isLinux)
[ opencl-headers
ocl-icd
oclgrind
rocmPackages.clr
]
;
}