Skip to content

Commit

Permalink
shellcheck: reduce closure size
Browse files Browse the repository at this point in the history
from 1.5GB to 20mb
  • Loading branch information
Mic92 committed Feb 22, 2017
1 parent 354243c commit df4c0ae
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pkgs/top-level/all-packages.nix
Expand Up @@ -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 { };

Expand Down

1 comment on commit df4c0ae

@bjornfor
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice reduction!

Please sign in to comment.