File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 34
34
cabal = "latest" ;
35
35
hlint = "latest" ;
36
36
haskell-language-server = "latest" ;
37
+
38
+ # Env
39
+ GRIN_CC = "${ pkgs . clang_7 } /bin/clang" ;
40
+ GRIN_OPT = "${ pkgs . llvm_7 } /bin/opt" ;
41
+ GRIN_LLC = "${ pkgs . llvm_7 } /bin/llc" ;
37
42
} ;
38
43
} ;
39
44
}
Original file line number Diff line number Diff line change 1
1
let
2
+ sources = import ./nix/sources.nix { } ;
3
+ nixpkgs = import sources . nixpkgs { } ;
2
4
pkgs = import ./default.nix ;
3
5
in
4
6
pkgs . shellFor {
5
- buildInputs = with pkgs . haskellPackages ; [
7
+ buildInputs = with nixpkgs . haskellPackages ; [
6
8
hlint
7
9
ghcid
8
10
] ;
9
11
10
- GRIN_CC = "${ pkgs . clang_7 } /bin/clang" ;
11
- GRIN_OPT = "${ pkgs . llvm_7 } /bin/opt" ;
12
- GRIN_LLC = "${ pkgs . llvm_7 } /bin/llc" ;
12
+ GRIN_CC = "${ nixpkgs . clang_7 } /bin/clang" ;
13
+ GRIN_OPT = "${ nixpkgs . llvm_7 } /bin/opt" ;
14
+ GRIN_LLC = "${ nixpkgs . llvm_7 } /bin/llc" ;
13
15
}
You can’t perform that action at this time.
0 commit comments