diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2016-11-07 21:55:31 -0600 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2016-11-15 18:58:10 -0600 |
commit | 1ee8685ee73b8867810e9a309d106019f11be0f7 (patch) | |
tree | 2041d481d6d89fdc7a93390dd88ad0023ed85271 /pkgs/os-specific/darwin/apple-source-releases | |
parent | 78c3acc2eee5510dfdebcab4e62b32a7f43930c4 (diff) | |
download | nixlib-1ee8685ee73b8867810e9a309d106019f11be0f7.tar nixlib-1ee8685ee73b8867810e9a309d106019f11be0f7.tar.gz nixlib-1ee8685ee73b8867810e9a309d106019f11be0f7.tar.bz2 nixlib-1ee8685ee73b8867810e9a309d106019f11be0f7.tar.lz nixlib-1ee8685ee73b8867810e9a309d106019f11be0f7.tar.xz nixlib-1ee8685ee73b8867810e9a309d106019f11be0f7.tar.zst nixlib-1ee8685ee73b8867810e9a309d106019f11be0f7.zip |
adv_cmds: add custom install phase
Diffstat (limited to 'pkgs/os-specific/darwin/apple-source-releases')
-rw-r--r-- | pkgs/os-specific/darwin/apple-source-releases/adv_cmds/xcode.nix | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/pkgs/os-specific/darwin/apple-source-releases/adv_cmds/xcode.nix b/pkgs/os-specific/darwin/apple-source-releases/adv_cmds/xcode.nix index e5600f3962da..7857a59161c0 100644 --- a/pkgs/os-specific/darwin/apple-source-releases/adv_cmds/xcode.nix +++ b/pkgs/os-specific/darwin/apple-source-releases/adv_cmds/xcode.nix @@ -8,12 +8,25 @@ stdenv.mkDerivation { sha256 = "12gbv35i09aij9g90p6b3x2f3ramw43qcb2gjrg8lzkzmwvcyw9q"; }; + # remove pkill from build patchPhase = '' substituteInPlace adv_cmds.xcodeproj/project.pbxproj \ --replace "FD201DC214369B4200906237 /* pkill.c in Sources */," "" ''; + # temporary install phase until xcodebuild has "install" support + installPhase = '' + mkdir -p $out/bin/ + + for cmd in cap_mkdb finger fingerd gencat last locale lsvfs ps stty tabs tty whois + do + install adv_cmds-*/Build/Products/Release-*/$cmd $out/bin/$cmd + done + ''; + buildInputs = [ xcbuild libcxx ]; + + # temporary fix for iostream issue NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin "-I${libcxx}/include/c++/v1"; meta = { |