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
+2
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