macvim: fix compatibility with Xcode 11

This fixes several Xcode 11 incompatibilities with MacVim, including an
issue where it wasn't inheriting the deployment target correctly to
begin with.
This commit is contained in:
Lily Ballard
2019-09-11 20:13:36 -07:00
parent bcaa3e702f
commit 4563496375
2 changed files with 30 additions and 0 deletions
+3
View File
@@ -102,6 +102,9 @@ stdenv.mkDerivation {
substituteInPlace src/auto/config.mk --replace "PERL_CFLAGS =" "PERL_CFLAGS = -I${darwin.libutil}/include"
substituteInPlace src/MacVim/vimrc --subst-var-by CSCOPE ${cscope}/bin/cscope
# Work around weird code-signing issue
substituteInPlace src/auto/config.mk --replace "XCODEFLAGS''\t=" "XCODEFLAGS''\t= CODE_SIGN_IDENTITY="
'';
postInstall = ''