haskell: use new justStaticExecutables and add purescript
This commit is contained in:
parent
db23fe1581
commit
f67a89e248
|
@ -3287,14 +3287,9 @@ with pkgs;
|
||||||
|
|
||||||
pal = callPackage ../tools/misc/pal { };
|
pal = callPackage ../tools/misc/pal { };
|
||||||
|
|
||||||
pandoc = haskell.lib.overrideCabal haskellPackages.pandoc (drv: {
|
pandoc = haskell.lib.overrideCabal (haskell.lib.justStaticExecutables haskellPackages.pandoc) (drv: {
|
||||||
configureFlags = drv.configureFlags or [] ++ ["-fembed_data_files"];
|
configureFlags = drv.configureFlags or [] ++ ["-fembed_data_files"];
|
||||||
buildTools = drv.buildTools or [] ++ [haskellPackages.hsb2hs];
|
buildTools = drv.buildTools or [] ++ [haskellPackages.hsb2hs];
|
||||||
enableSharedExecutables = false;
|
|
||||||
enableSharedLibraries = false;
|
|
||||||
isLibrary = false;
|
|
||||||
doHaddock = false;
|
|
||||||
postFixup = "rm -rf $out/lib $out/nix-support $out/share";
|
|
||||||
});
|
});
|
||||||
|
|
||||||
panomatic = callPackage ../tools/graphics/panomatic { };
|
panomatic = callPackage ../tools/graphics/panomatic { };
|
||||||
|
@ -5132,15 +5127,12 @@ with pkgs;
|
||||||
|
|
||||||
cabal-install = haskell.lib.disableSharedExecutables haskellPackages.cabal-install;
|
cabal-install = haskell.lib.disableSharedExecutables haskellPackages.cabal-install;
|
||||||
|
|
||||||
stack = haskell.lib.overrideCabal haskellPackages.stack (drv: {
|
stack = haskell.lib.justStaticExecutables haskellPackages.stack;
|
||||||
enableSharedExecutables = false;
|
|
||||||
isLibrary = false;
|
|
||||||
doHaddock = false;
|
|
||||||
postFixup = "rm -rf $out/lib $out/nix-support $out/share/doc";
|
|
||||||
});
|
|
||||||
|
|
||||||
all-cabal-hashes = callPackage ../data/misc/hackage/default.nix { };
|
all-cabal-hashes = callPackage ../data/misc/hackage/default.nix { };
|
||||||
|
|
||||||
|
purescript = haskell.lib.justStaticExecutables haskellPackages.purescript;
|
||||||
|
|
||||||
inherit (ocamlPackages) haxe;
|
inherit (ocamlPackages) haxe;
|
||||||
|
|
||||||
hxcpp = callPackage ../development/compilers/haxe/hxcpp.nix { };
|
hxcpp = callPackage ../development/compilers/haxe/hxcpp.nix { };
|
||||||
|
@ -6756,12 +6748,7 @@ with pkgs;
|
||||||
|
|
||||||
shards = callPackage ../development/tools/build-managers/shards { };
|
shards = callPackage ../development/tools/build-managers/shards { };
|
||||||
|
|
||||||
shellcheck = haskell.lib.overrideCabal haskellPackages.ShellCheck (drv: {
|
shellcheck = haskell.lib.justStaticExecutables haskellPackages.ShellCheck;
|
||||||
isLibrary = false;
|
|
||||||
enableSharedExecutables = false;
|
|
||||||
doHaddock = false;
|
|
||||||
postFixup = "rm -rf $out/lib $out/nix-support $out/share/doc";
|
|
||||||
});
|
|
||||||
|
|
||||||
shncpd = callPackage ../tools/networking/shncpd { };
|
shncpd = callPackage ../tools/networking/shncpd { };
|
||||||
|
|
||||||
|
@ -13020,13 +13007,8 @@ with pkgs;
|
||||||
|
|
||||||
cyclone = callPackage ../applications/audio/pd-plugins/cyclone { };
|
cyclone = callPackage ../applications/audio/pd-plugins/cyclone { };
|
||||||
|
|
||||||
darcs = haskell.lib.overrideCabal haskellPackages.darcs (drv: {
|
darcs = haskell.lib.overrideCabal (haskell.lib.justStaticExecutables haskellPackages.darcs) (drv: {
|
||||||
configureFlags = (stdenv.lib.remove "-flibrary" drv.configureFlags or []) ++ ["-f-library"];
|
configureFlags = (stdenv.lib.remove "-flibrary" drv.configureFlags or []) ++ ["-f-library"];
|
||||||
enableSharedExecutables = false;
|
|
||||||
enableSharedLibraries = false;
|
|
||||||
isLibrary = false;
|
|
||||||
doHaddock = false;
|
|
||||||
postFixup = "rm -rf $out/lib $out/nix-support $out/share";
|
|
||||||
});
|
});
|
||||||
|
|
||||||
darktable = callPackage ../applications/graphics/darktable {
|
darktable = callPackage ../applications/graphics/darktable {
|
||||||
|
|
Loading…
Reference in New Issue