emacs: Ignore large file warnings for native compilation
This was blocking building phps-mode with native compilation enabled.
This commit is contained in:
parent
87a43a4b22
commit
9a86a53ec5
|
@ -86,7 +86,7 @@ stdenv.mkDerivation ({
|
||||||
|
|
||||||
find $out/share/emacs -type f -name '*.el' -print0 \
|
find $out/share/emacs -type f -name '*.el' -print0 \
|
||||||
| xargs -0 -n 1 -I {} -P $NIX_BUILD_CORES sh -c \
|
| xargs -0 -n 1 -I {} -P $NIX_BUILD_CORES sh -c \
|
||||||
"emacs --batch -f batch-native-compile {} || true"
|
"emacs --batch --eval '(setq large-file-warning-threshold nil)' -f batch-native-compile {} || true"
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue