summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/with-packages-wrapper.nix
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2015-01-16 20:54:35 +0100
committerPeter Simons <simons@cryp.to>2015-01-17 20:29:00 +0100
commit54bbfd544087dcaf422899191db2a0ce4425b67f (patch)
treea5c3f7858c1c463774c90d1c0550138c44438e8c /pkgs/development/haskell-modules/with-packages-wrapper.nix
parente6ecb1fb83a9fda089c6fa23617185145d54b80f (diff)
downloadnixlib-54bbfd544087dcaf422899191db2a0ce4425b67f.tar
nixlib-54bbfd544087dcaf422899191db2a0ce4425b67f.tar.gz
nixlib-54bbfd544087dcaf422899191db2a0ce4425b67f.tar.bz2
nixlib-54bbfd544087dcaf422899191db2a0ce4425b67f.tar.lz
nixlib-54bbfd544087dcaf422899191db2a0ce4425b67f.tar.xz
nixlib-54bbfd544087dcaf422899191db2a0ce4425b67f.tar.zst
nixlib-54bbfd544087dcaf422899191db2a0ce4425b67f.zip
haskell-generic-builder: re-factor for improved modularity
Diffstat (limited to 'pkgs/development/haskell-modules/with-packages-wrapper.nix')
-rw-r--r--pkgs/development/haskell-modules/with-packages-wrapper.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/haskell-modules/with-packages-wrapper.nix b/pkgs/development/haskell-modules/with-packages-wrapper.nix
index 4648050dd739..2824296c08fc 100644
--- a/pkgs/development/haskell-modules/with-packages-wrapper.nix
+++ b/pkgs/development/haskell-modules/with-packages-wrapper.nix
@@ -30,7 +30,7 @@ let
   libDir        = "$out/lib/ghc-${ghc.version}";
   docDir        = "$out/share/doc/ghc/html";
   packageCfgDir = "${libDir}/package.conf.d";
-  isHaskellPkg  = x: (x ? pname) && (x ? version);
+  isHaskellPkg  = x: (x ? pname) && (x ? version) && (x ? env);
   paths         = stdenv.lib.filter isHaskellPkg (stdenv.lib.closePropagation packages);
 in
 if paths == [] then ghc else