diff options
author | Nicholas Clarke <nick@topos.org.uk> | 2017-10-12 19:39:41 +0100 |
---|---|---|
committer | Nicholas Clarke <nick@topos.org.uk> | 2017-11-27 16:05:22 +0000 |
commit | d90165c7db3f4b9bc93fb89d1fc3bde1ec4be331 (patch) | |
tree | bf470fb62b16304abc3c10f37507ae529d3e77b3 /pkgs/development/haskell-modules/lib.nix | |
parent | 946ae87414a5c1039a2652814077db35c61f2074 (diff) |
Revert "Revert "Merge pull request #27209 from nc6/nc/haskell-multiple-out""
This reverts commit 89f5d52cf44baec14a7f542a605243777b16e7a5.
Diffstat (limited to '')
-rw-r--r-- | pkgs/development/haskell-modules/lib.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/lib.nix b/pkgs/development/haskell-modules/lib.nix index 96520dce2b2d..b542a29c8299 100644 --- a/pkgs/development/haskell-modules/lib.nix +++ b/pkgs/development/haskell-modules/lib.nix @@ -147,4 +147,8 @@ rec { overrideSrc = drv: { src, version ? drv.version }: overrideCabal drv (_: { inherit src version; editedCabalFile = null; }); + hasNoBinOutput = drv: overrideCabal drv (drv: { enableSeparateBinOutput = false; }); + + installOutputs = drv: outputs: overrideCabal drv + (drv: { outputsToInstall = outputs; }); } |