We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c72eef1 + e675cc0 commit 1e5c9a1Copy full SHA for 1e5c9a1
pkgs/applications/editors/emacs/build-support/trivial.nix
@@ -19,7 +19,12 @@ lib.extendMkDerivation {
19
foundMakefile=1
20
fi
21
22
- emacs -l package -f package-initialize -L . --batch -f batch-byte-compile *.el
+ emacs -l package -f package-initialize \
23
+ --eval "(setq byte-compile-debug ${if finalAttrs.ignoreCompilationError then "nil" else "t"})" \
24
+ --eval "(setq byte-compile-error-on-warn ${
25
+ if finalAttrs.turnCompilationWarningToError then "t" else "nil"
26
+ })" \
27
+ -L . --batch -f batch-byte-compile *.el
28
29
runHook postBuild
30
'';
0 commit comments