Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DarwinTools: init at 1 #21898

Merged
merged 1 commit into from Jan 15, 2017
Merged

DarwinTools: init at 1 #21898

merged 1 commit into from Jan 15, 2017

Conversation

matthewbauer
Copy link
Member

@matthewbauer matthewbauer commented Jan 14, 2017

Motivation for this change

This derivation provides binaries for sw_vers and startupfiletool. This is useful because some configure scripts expect sw_vers to be in $PATH to determine the OS X version. DarwinTools should be usable as a native build input in these cases.

see https://github.com/NixOS/nixpkgs/search?q=sw_vers

NOTE: while this should go in apple-source-releases, it doesn't look like this is listed for any specific macOS or Developer Tools release, so I can't use the usual "applePackage" functions.

Things done
  • Tested using sandboxing
    (nix.useSandbox on NixOS,
    or option build-use-sandbox in nix.conf
    on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • Linux
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

@LnL7 LnL7 added the 6.topic: darwin Running or building packages on Darwin label Jan 14, 2017
@LnL7 LnL7 merged commit d6517b6 into NixOS:master Jan 15, 2017
@LnL7
Copy link
Member

LnL7 commented Jan 15, 2017

Note that I don't think this should be used for cases like this #21775 (comment).

@matthewbauer matthewbauer deleted the darwintools branch January 19, 2017 05:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: darwin Running or building packages on Darwin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants