git.iko.soy/typeable/nixpkgs
on master help sign in
emacs: fix accidental double wrapper (Darwin)

This was already fixed on non-Darwin, but the fix missed that it was also reintroduced for the Darwin code path at the same time. Fixes: dd5d2482c9d ("emacs: Fix accidental double wrapping")

commit0f06d94a206d9697bc6c4a6e5b592a9921deef2b authorAlyssa Ross <hi@alyssa.is> dateThu 7 Jan 2021, 10:05 (6 years ago) parenta00f391
1 file changed−4
pkgs/build-support/emacs/wrapper.nix−4
pkgs/build-support/emacs/wrapper.nix−4
@@ -203,10 +203,6 @@ runCommand
203203 --subst-var-by wrapperSiteLisp "$deps/share/emacs/site-lisp" \
204204 --subst-var-by prog "$emacs/Applications/Emacs.app/Contents/MacOS/Emacs"
205205 chmod +x $out/Applications/Emacs.app/Contents/MacOS/Emacs
206−
207− makeWrapper $emacs/Applications/Emacs.app/Contents/MacOS/Emacs $out/Applications/Emacs.app/Contents/MacOS/Emacs \
208− --suffix EMACSLOADPATH ":" "$deps/share/emacs/site-lisp:" \
209− --suffix EMACSNATIVELOADPATH ":" "$deps/share/emacs/native-lisp:"
210206 fi
211207
212208 mkdir -p $out/share