ghc-with-packages.nix: make sure that GHC itself is included in the environment
This commit is contained in:
parent
f58a1f5c98
commit
094edba311
|
@ -10,7 +10,7 @@ let
|
||||||
in
|
in
|
||||||
buildEnv {
|
buildEnv {
|
||||||
name = "haskell-env-${ghc.name}";
|
name = "haskell-env-${ghc.name}";
|
||||||
paths = stdenv.lib.filter (x: x ? ghc) (stdenv.lib.closePropagation (packages ++ [ghc]));
|
paths = stdenv.lib.filter (x: x ? ghc) (stdenv.lib.closePropagation packages) ++ [ghc];
|
||||||
postBuild = ''
|
postBuild = ''
|
||||||
. ${makeWrapper}/nix-support/setup-hook
|
. ${makeWrapper}/nix-support/setup-hook
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue