mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 12:53:54 +00:00
agda: enable debug printing
This commit is contained in:
parent
b40d1bc8d7
commit
0e15c844a9
@ -345,7 +345,7 @@ self: super: ({
|
||||
}) (disableCabalFlag "fixity-th" super.fourmolu);
|
||||
|
||||
# https://github.com/NixOS/nixpkgs/issues/149692
|
||||
Agda = removeConfigureFlag "-foptimise-heavily" super.Agda;
|
||||
Agda = disableCabalFlag "optimise-heavily" super.Agda;
|
||||
|
||||
} // lib.optionalAttrs pkgs.stdenv.isx86_64 { # x86_64-darwin
|
||||
|
||||
|
@ -1133,10 +1133,16 @@ self: super: builtins.intersectAttrs super {
|
||||
preCheck = "export CI=true";
|
||||
}) super.aeson-typescript;
|
||||
|
||||
# Enable extra optimisations which increase build time, but also
|
||||
# later compiler performance, so we should do this for user's benefit.
|
||||
# Flag added in Agda 2.6.2
|
||||
Agda = appendConfigureFlag "-foptimise-heavily" super.Agda;
|
||||
Agda = lib.pipe super.Agda [
|
||||
# Enable extra optimisations which increase build time, but also
|
||||
# later compiler performance, so we should do this for user's benefit.
|
||||
# Flag added in Agda 2.6.2
|
||||
(enableCabalFlag "optimise-heavily")
|
||||
# Enable debug printing, which worsens performance slightly but is
|
||||
# very useful.
|
||||
# Flag added in Agda 2.6.4.1, was always enabled before
|
||||
(enableCabalFlag "debug")
|
||||
];
|
||||
|
||||
# ats-format uses cli-setup in Setup.hs which is quite happy to write
|
||||
# to arbitrary files in $HOME. This doesn't either not achieve anything
|
||||
|
Loading…
Reference in New Issue
Block a user