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