Skip to content

Commit d241e56

Browse files
authored
Fix shell.nix (#499)
1 parent c111ece commit d241e56

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

shell.nix

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
with import <nixpkgs> {};
2-
let this = import ./. {}; in
3-
stdenv.mkDerivation rec {
1+
let
2+
pkgs = import ./nixpkgs/default.nix (import ./default.nix);
3+
in pkgs.stdenv.mkDerivation rec {
44
name = "env";
5-
env = buildEnv { name = name; paths = buildInputs; };
5+
env = pkgs.buildEnv { name = name; paths = buildInputs; };
66
buildInputs = [
7-
this.ghc
8-
this.cabal-install
9-
this.nix-tools
7+
pkgs.cabal-install
8+
pkgs.haskell-nix.ghc
9+
pkgs.haskell-nix.nix-tools
1010
];
1111
}

0 commit comments

Comments
 (0)