Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-18.03 13 lines 867 B view raw
1diff -Naur node-v8.9.4/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py node-v8.9.4-new/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py 2--- node-v8.9.4/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py 2018-01-03 03:34:44.000000000 +0100 3+++ node-v8.9.4-new/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py 2018-03-12 11:15:37.972537585 +0100 4@@ -1251,7 +1251,8 @@ 5 if XCODE_VERSION_CACHE: 6 return XCODE_VERSION_CACHE 7 try: 8- version_list = GetStdout(['xcodebuild', '-version']).splitlines() 9+ #version_list = GetStdout(['xcodebuild', '-version']).splitlines() 10+ version_list = ['Xcode 9.2', 'Build version 9C40b'] 11 # In some circumstances xcodebuild exits 0 but doesn't return 12 # the right results; for example, a user on 10.7 or 10.8 with 13 # a bogus path set via xcode-select