haskell: remove any extraneous outputs from sdistTarball
commit291da85ed9582320694100c851e459793e5dad8a
authorMoritz Kiefer <moritz.kiefer@purelyfunctional.org>
dateThu 10 Aug 2017, 08:47 (9 years ago)
parentb224644
pkgs/development/haskell-modules/lib.nix+3
@@ -75,6 +75,9 @@ rec {
7575
7676 sdistTarball = pkg: lib.overrideDerivation pkg (drv: {
7777 name = "${drv.pname}-source-${drv.version}";
78+ # Since we disable the haddock phase, we also need to override the
79+ # outputs since the separate doc output will not be produced.
80+ outputs = ["out"];
7881 buildPhase = "./Setup sdist";
7982 haddockPhase = ":";
8083 checkPhase = ":";