mirror of
https://github.com/nmattia/niv.git
synced 2024-09-16 01:47:08 +03:00
Only build static executable in top-level niv attribute
This reduces the closure size by about 2G.
This commit is contained in:
parent
d20eed4ce6
commit
461905a70c
@ -46,6 +46,7 @@ with rec
|
||||
haskellPackages = pkgs.haskellPackages.override {
|
||||
overrides = _: haskellPackages: {
|
||||
niv =
|
||||
pkgs.haskell.lib.justStaticExecutables (
|
||||
pkgs.haskell.lib.failOnAllWarnings (
|
||||
pkgs.haskell.lib.disableExecutableProfiling (
|
||||
pkgs.haskell.lib.disableLibraryProfiling (
|
||||
@ -54,6 +55,7 @@ with rec
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
);
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user