Merge pull request #194279 from linj-fork/fix-emacs-native-comp-infra

emacs: remove warning of xargs when doing AOT native-comp
This commit is contained in:
Anderson Torres 2022-10-04 23:15:54 -03:00 committed by GitHub
commit 16c6df2996
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -85,7 +85,7 @@ stdenv.mkDerivation ({
addEmacsVars "$out"
find $out/share/emacs -type f -name '*.el' -print0 \
| xargs -0 -n 1 -I {} -P $NIX_BUILD_CORES sh -c \
| xargs -0 -I {} -n 1 -P $NIX_BUILD_CORES sh -c \
"emacs --batch --eval '(setq large-file-warning-threshold nil)' -f batch-native-compile {} || true"
'';
}