aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/haskell-modules/lib.nix
diff options
context:
space:
mode:
authorMoritz Kiefer <moritz.kiefer@purelyfunctional.org>2017-08-10 08:47:07 +0200
committerMoritz Kiefer <moritz.kiefer@purelyfunctional.org>2017-08-10 08:48:59 +0200
commit291da85ed9582320694100c851e459793e5dad8a (patch)
tree0370bf4e4069f22f3b2a4f89fad4e6400d45b1b3 /pkgs/development/haskell-modules/lib.nix
parentb224644795bc2601da244b0e708ca7754bac64d4 (diff)
haskell: remove any extraneous outputs from sdistTarball
Diffstat (limited to '')
-rw-r--r--pkgs/development/haskell-modules/lib.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/lib.nix b/pkgs/development/haskell-modules/lib.nix
index c67b61acd78d..43723b807741 100644
--- a/pkgs/development/haskell-modules/lib.nix
+++ b/pkgs/development/haskell-modules/lib.nix
@@ -75,6 +75,9 @@ rec {
sdistTarball = pkg: lib.overrideDerivation pkg (drv: {
name = "${drv.pname}-source-${drv.version}";
+ # Since we disable the haddock phase, we also need to override the
+ # outputs since the separate doc output will not be produced.
+ outputs = ["out"];
buildPhase = "./Setup sdist";
haddockPhase = ":";
checkPhase = ":";