shellcheck: reduce closure size

from 1.5GB to 20mb
This commit is contained in:
Jörg Thalheim 2017-02-22 23:21:27 +01:00
parent 354243c784
commit df4c0aeff8

View file

@ -6708,7 +6708,12 @@ with pkgs;
shards = callPackage ../development/tools/build-managers/shards { };
shellcheck = self.haskellPackages.ShellCheck;
shellcheck = haskell.lib.overrideCabal haskellPackages.ShellCheck (drv: {
isLibrary = false;
enableSharedExecutables = false;
doHaddock = false;
postFixup = "rm -rf $out/lib $out/nix-support $out/share/doc";
});
shncpd = callPackage ../tools/networking/shncpd { };