We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c111ece commit d241e56Copy full SHA for d241e56
shell.nix
@@ -1,11 +1,11 @@
1
-with import <nixpkgs> {};
2
-let this = import ./. {}; in
3
-stdenv.mkDerivation rec {
+let
+ pkgs = import ./nixpkgs/default.nix (import ./default.nix);
+in pkgs.stdenv.mkDerivation rec {
4
name = "env";
5
- env = buildEnv { name = name; paths = buildInputs; };
+ env = pkgs.buildEnv { name = name; paths = buildInputs; };
6
buildInputs = [
7
- this.ghc
8
- this.cabal-install
9
- this.nix-tools
+ pkgs.cabal-install
+ pkgs.haskell-nix.ghc
+ pkgs.haskell-nix.nix-tools
10
];
11
}
0 commit comments