diff --git a/pkgs/applications/editors/vim/macvim.nix b/pkgs/applications/editors/vim/macvim.nix index 64119b78709f..2005eef7b6fe 100644 --- a/pkgs/applications/editors/vim/macvim.nix +++ b/pkgs/applications/editors/vim/macvim.nix @@ -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