ghc-with-packages.nix: make sure that GHC itself is included in the environment

This commit is contained in:
Peter Simons 2013-10-28 17:54:28 +01:00
parent f58a1f5c98
commit 094edba311

View file

@ -10,7 +10,7 @@ let
in
buildEnv {
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 = ''
. ${makeWrapper}/nix-support/setup-hook