Merge pull request #28097 from cocreature/sdistTarball-doc
haskell: remove any extraneous outputs from sdistTarball
commitb6a746daa1677f3a56a72cea8bc97a9618a667bd
authorPeter Simons <simons@cryp.to>
dateFri 18 Aug 2017, 16:32 (9 years ago)
parentb4c7d59291da85
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 = ":";