Merge pull request #28097 from cocreature/sdistTarball-doc

haskell: remove any extraneous outputs from sdistTarball
This commit is contained in:
Peter Simons 2017-08-18 16:32:51 +02:00 committed by GitHub
commit b6a746daa1

View file

@ -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 = ":";