diff options
author | Charles Strahan <charles.c.strahan@gmail.com> | 2015-01-22 18:10:08 -0500 |
---|---|---|
committer | Charles Strahan <charles.c.strahan@gmail.com> | 2015-06-11 20:25:31 -0400 |
commit | 3859f7bdabe8ec56c1eef832bd5b74280d8298e1 (patch) | |
tree | 4a6e63fcbb25143cfa6de29bac7357ce29d292bd /pkgs/development/haskell-modules/with-packages-wrapper.nix | |
parent | cd28c5517c224c0c969f6bccb1f85dcc280ed7f2 (diff) |
haskell-ng: hoogleLocal support
Diffstat (limited to 'pkgs/development/haskell-modules/with-packages-wrapper.nix')
-rw-r--r-- | pkgs/development/haskell-modules/with-packages-wrapper.nix | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/pkgs/development/haskell-modules/with-packages-wrapper.nix b/pkgs/development/haskell-modules/with-packages-wrapper.nix index 4362bacb9ee78..740047e2c27f5 100644 --- a/pkgs/development/haskell-modules/with-packages-wrapper.nix +++ b/pkgs/development/haskell-modules/with-packages-wrapper.nix @@ -1,6 +1,7 @@ { stdenv, lib, ghc, llvmPackages, packages, buildEnv, makeWrapper , ignoreCollisions ? false, withLLVM ? false , postBuild ? "" +, haskellPackages }: # This wrapper works only with GHC 6.12 or later. @@ -94,7 +95,9 @@ buildEnv { ${lib.optionalString hasLibraries "$out/bin/${ghcCommand}-pkg recache"} $out/bin/${ghcCommand}-pkg check '' + postBuild; -} // { - preferLocalBuild = true; - inherit (ghc) version meta; + passthru = { + preferLocalBuild = true; + inherit (ghc) version meta; + inherit haskellPackages; + }; } |