nixpkgs/pkgs/development/tools/xcbuild
Matthew Bauer b300dddae1 xcbuild: only override version with 1 arg
sometimes we want the "SDK" version from xcbuild so we do something
like:

$ xcbuild -version -sdk MacOSX10.10
SDKSettings.plist - MacOSX10.10 (MacOSX10.10)
SDKVersion: 10.10
Path: /nix/store/6k7crm1n4drf09ga0dwvbmb59x4zl2i2-SDKs/MacOSX10.10.sdk
PlatformPath: /nix/store/vhfwb1znfy65s2xs27j8xribk6mp6lbw-Platforms/MacOSX.platform
ProductName: Mac OS X
ProductVersion: 10.10

This was previously overriden by the current xcode version so you
would get:

Xcode 9.4.1
Build version 17E189

This should fix the other usage of -version in nodejs 6.x.
2018-08-20 13:16:37 -05:00
..
default.nix xcbuild: rework to use lib.PLIST 2018-06-27 15:36:00 -04:00
platforms.nix xcbuild: cleanup 2018-08-11 22:54:48 -05:00
sdks.nix xcbuild: cleanup 2018-08-11 22:54:48 -05:00
setup-hook.sh xcbuild: move setup hook to xcbuildHook 2018-07-09 17:13:58 -04:00
toolchains.nix xcbuild: cleanup 2018-08-11 22:54:48 -05:00
wrapper.nix xcbuild: only override version with 1 arg 2018-08-20 13:16:37 -05:00