emacsMacport: fix sandbox build

This commit is contained in:
Daiderd Jordan 2019-02-13 19:49:17 +01:00
parent 91c7157919
commit b8a3084eaa
No known key found for this signature in database
GPG Key ID: D02435D05B810C96

View File

@ -53,6 +53,10 @@ stdenv.mkDerivation rec {
# use newer emacs icon
cp nextstep/Cocoa/Emacs.base/Contents/Resources/Emacs.icns mac/Emacs.app/Contents/Resources/Emacs.icns
# Fix sandbox impurities.
substituteInPlace Makefile.in --replace '/bin/pwd' 'pwd'
substituteInPlace lib-src/Makefile.in --replace '/bin/pwd' 'pwd'
'';
configureFlags = [