@@ -3287,14 +3287,9 @@ with pkgs;
3287
3287
3288
3288
pal = callPackage ../tools/misc/pal { };
3289
3289
3290
- pandoc = haskell.lib.overrideCabal haskellPackages.pandoc (drv: {
3290
+ pandoc = haskell.lib.overrideCabal (haskell.lib.justStaticExecutables haskellPackages.pandoc) (drv: {
3291
3291
configureFlags = drv.configureFlags or [] ++ ["-fembed_data_files"];
3292
3292
buildTools = drv.buildTools or [] ++ [haskellPackages.hsb2hs];
3293
- enableSharedExecutables = false;
3294
- enableSharedLibraries = false;
3295
- isLibrary = false;
3296
- doHaddock = false;
3297
- postFixup = "rm -rf $out/lib $out/nix-support $out/share";
3298
3293
});
3299
3294
3300
3295
panomatic = callPackage ../tools/graphics/panomatic { };
@@ -5132,15 +5127,12 @@ with pkgs;
5132
5127
5133
5128
cabal-install = haskell.lib.disableSharedExecutables haskellPackages.cabal-install;
5134
5129
5135
- stack = haskell.lib.overrideCabal haskellPackages.stack (drv: {
5136
- enableSharedExecutables = false;
5137
- isLibrary = false;
5138
- doHaddock = false;
5139
- postFixup = "rm -rf $out/lib $out/nix-support $out/share/doc";
5140
- });
5130
+ stack = haskell.lib.justStaticExecutables haskellPackages.stack;
5141
5131
5142
5132
all-cabal-hashes = callPackage ../data/misc/hackage/default.nix { };
5143
5133
5134
+ purescript = haskell.lib.justStaticExecutables haskellPackages.purescript;
5135
+
5144
5136
inherit (ocamlPackages) haxe;
5145
5137
5146
5138
hxcpp = callPackage ../development/compilers/haxe/hxcpp.nix { };
@@ -6756,12 +6748,7 @@ with pkgs;
6756
6748
6757
6749
shards = callPackage ../development/tools/build-managers/shards { };
6758
6750
6759
- shellcheck = haskell.lib.overrideCabal haskellPackages.ShellCheck (drv: {
6760
- isLibrary = false;
6761
- enableSharedExecutables = false;
6762
- doHaddock = false;
6763
- postFixup = "rm -rf $out/lib $out/nix-support $out/share/doc";
6764
- });
6751
+ shellcheck = haskell.lib.justStaticExecutables haskellPackages.ShellCheck;
6765
6752
6766
6753
shncpd = callPackage ../tools/networking/shncpd { };
6767
6754
@@ -13020,13 +13007,8 @@ with pkgs;
13020
13007
13021
13008
cyclone = callPackage ../applications/audio/pd-plugins/cyclone { };
13022
13009
13023
- darcs = haskell.lib.overrideCabal haskellPackages.darcs (drv: {
13010
+ darcs = haskell.lib.overrideCabal (haskell.lib.justStaticExecutables haskellPackages.darcs) (drv: {
13024
13011
configureFlags = (stdenv.lib.remove "-flibrary" drv.configureFlags or []) ++ ["-f-library"];
13025
- enableSharedExecutables = false;
13026
- enableSharedLibraries = false;
13027
- isLibrary = false;
13028
- doHaddock = false;
13029
- postFixup = "rm -rf $out/lib $out/nix-support $out/share";
13030
13012
});
13031
13013
13032
13014
darktable = callPackage ../applications/graphics/darktable {
0 commit comments