In #328573, ignoreCompilationError is added to elisp build helpers. To keep the old behavior, its default value is true, which means nix build succeeds even if there are native compilation errors.
Flipping the default value of ignoreCompilationError to false means native compilation errors cause nix build to fail. This is desirable because native compilation errors usually mean packaging issues or issues in the package itself.
In my test, 12.7% of emacsPackages fail to build if ignoreCompilationError is set to false. So to flip its default value, we need to fix native compilation for those packages first.
The first and easy part is done in #335440.
Add a 👍 reaction to issues you find important.
In #328573,
ignoreCompilationErroris added to elisp build helpers. To keep the old behavior, its default value istrue, which meansnix buildsucceeds even if there are native compilation errors.Flipping the default value of
ignoreCompilationErrortofalsemeans native compilation errors causenix buildto fail. This is desirable because native compilation errors usually mean packaging issues or issues in the package itself.In my test, 12.7% of
emacsPackagesfail to build ifignoreCompilationErroris set tofalse. So to flip its default value, we need to fix native compilation for those packages first.The first and easy part is done in #335440.
Add a 👍 reaction to issues you find important.