macvim: fix build after Darwin SDK update (#348373)

This commit is contained in:
Emily 2024-10-14 18:32:16 +01:00 committed by GitHub
commit 29b6dbe7ed
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -94,6 +94,8 @@ stdenv.mkDerivation (finalAttrs: {
cppflags = map (drv: "-isystem ${lib.getDev drv}/include") inputs;
in
''
unset DEVELOPER_DIR # Use the system Xcode not the nixpkgs SDK.
CC=/usr/bin/clang
DEV_DIR=$(/usr/bin/xcode-select -print-path)/Platforms/MacOSX.platform/Developer