haskell: disable library profiling for static executables
Haskell packages overridden with justStaticExecutables (like cabal-install, stack, pandoc, darcs, etc.) don't provide libraries in the end result so it's futile to build them with library profiling enabled because it will just take extra time.
This commit is contained in:
parent
60cc518b22
commit
97a4d29545
@ -234,6 +234,7 @@ rec {
|
||||
*/
|
||||
justStaticExecutables = drv: overrideCabal drv (drv: {
|
||||
enableSharedExecutables = false;
|
||||
enableLibraryProfiling = false;
|
||||
isLibrary = false;
|
||||
doHaddock = false;
|
||||
postFixup = "rm -rf $out/lib $out/nix-support $out/share/doc";
|
||||
|
Loading…
Reference in New Issue
Block a user