diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 35fa5796807d..d7a4cce9468b 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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 { };