Revert "Revert "Merge pull request #27209 from nc6/nc/haskell-multiple-out""

This reverts commit 89f5d52cf4.
This commit is contained in:
Nicholas Clarke
2017-11-27 16:05:22 +00:00
parent 946ae87414
commit d90165c7db
13 changed files with 171 additions and 36 deletions
+4
View File
@@ -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; });
}