haskell: use new justStaticExecutables and add purescript

This commit is contained in:
Domen Kožar 2017-03-07 18:15:07 +01:00
parent db23fe1581
commit f67a89e248
No known key found for this signature in database
GPG Key ID: C2FFBCAFD2C24246

View File

@ -3287,14 +3287,9 @@ with pkgs;
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"];
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 { };
@ -5132,15 +5127,12 @@ with pkgs;
cabal-install = haskell.lib.disableSharedExecutables haskellPackages.cabal-install;
stack = haskell.lib.overrideCabal haskellPackages.stack (drv: {
enableSharedExecutables = false;
isLibrary = false;
doHaddock = false;
postFixup = "rm -rf $out/lib $out/nix-support $out/share/doc";
});
stack = haskell.lib.justStaticExecutables haskellPackages.stack;
all-cabal-hashes = callPackage ../data/misc/hackage/default.nix { };
purescript = haskell.lib.justStaticExecutables haskellPackages.purescript;
inherit (ocamlPackages) haxe;
hxcpp = callPackage ../development/compilers/haxe/hxcpp.nix { };
@ -6756,12 +6748,7 @@ with pkgs;
shards = callPackage ../development/tools/build-managers/shards { };
shellcheck = haskell.lib.overrideCabal haskellPackages.ShellCheck (drv: {
isLibrary = false;
enableSharedExecutables = false;
doHaddock = false;
postFixup = "rm -rf $out/lib $out/nix-support $out/share/doc";
});
shellcheck = haskell.lib.justStaticExecutables haskellPackages.ShellCheck;
shncpd = callPackage ../tools/networking/shncpd { };
@ -13020,13 +13007,8 @@ with pkgs;
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"];
enableSharedExecutables = false;
enableSharedLibraries = false;
isLibrary = false;
doHaddock = false;
postFixup = "rm -rf $out/lib $out/nix-support $out/share";
});
darktable = callPackage ../applications/graphics/darktable {