on master help sign in
Use optimization flags
commit7e41ad80b40320e23e8ada040926074d5e7186b2 authoriko <ilyakooo0@gmail.com> dateFri 24 Dec 2021, 14:37 (5 years ago) parent51f0a25
1 file changed+4−5
default.nix+4−5
default.nix+4−5
@@ -24,12 +24,11 @@ let
2424 dontPatchELF = false;
2525 enableDeadCodeElimination = true;
2626 ghcOptions = [
27− # "-O2"
28− # "-fexpose-all-unfoldings"
29− # "-fspecialise-aggressively"
30− "-O0"
27+ "-O2"
28+ "-fexpose-all-unfoldings"
29+ "-fspecialise-aggressively"
3130 ];
32− # packages.pandoc.ghcOptions = [ "-O1" ];
31+ packages.pandoc.ghcOptions = [ "-O1" ];
3332 packages.compaREST.src = nix-filter {
3433 root = ./.;
3534 name = "compaREST-src";