summary refs log tree commit diff
path: root/pkgs/os-specific/darwin/insert_dylib
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2018-07-06 18:53:50 -0400
committerMatthew Bauer <mjbauer95@gmail.com>2018-07-09 17:13:58 -0400
commit0534ceac816cb708434b126e38e98b925516498a (patch)
treeb77be2124af63bc0905e5b9f5735c117058e3d4a /pkgs/os-specific/darwin/insert_dylib
parent35b2c0edf2d3e12f1ca7dae2a91f5232a1ab1445 (diff)
downloadnixpkgs-0534ceac816cb708434b126e38e98b925516498a.tar
nixpkgs-0534ceac816cb708434b126e38e98b925516498a.tar.gz
nixpkgs-0534ceac816cb708434b126e38e98b925516498a.tar.bz2
nixpkgs-0534ceac816cb708434b126e38e98b925516498a.tar.lz
nixpkgs-0534ceac816cb708434b126e38e98b925516498a.tar.xz
nixpkgs-0534ceac816cb708434b126e38e98b925516498a.tar.zst
nixpkgs-0534ceac816cb708434b126e38e98b925516498a.zip
xcbuild: move setup hook to xcbuildHook
Not every package that needs xcbuild will want to use its build phase.
I have moved the xcbuild setup hook to the new attribute xcbuildHook.
This means that dontUseXcbuild is no longer needed. If you just need
to call xcbuild on its own you can just refer to xcbuild.
Diffstat (limited to 'pkgs/os-specific/darwin/insert_dylib')
-rw-r--r--pkgs/os-specific/darwin/insert_dylib/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/os-specific/darwin/insert_dylib/default.nix b/pkgs/os-specific/darwin/insert_dylib/default.nix
index b3790b8c87c..510c7154f2b 100644
--- a/pkgs/os-specific/darwin/insert_dylib/default.nix
+++ b/pkgs/os-specific/darwin/insert_dylib/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub, xcbuild }:
+{ stdenv, fetchFromGitHub, xcbuildHook }:
 
 stdenv.mkDerivation
   { name = "insert_dylib-2016.08.28";
@@ -8,7 +8,7 @@ stdenv.mkDerivation
         rev = "c8beef66a08688c2feeee2c9b6eaf1061c2e67a9";
         sha256 = "0az38y06pvvy9jf2wnzdwp9mp98lj6nr0ldv0cs1df5p9x2qvbya";
       };
-    buildInputs = [ xcbuild ];
+    nativeBuildInputs = [ xcbuildHook ];
     installPhase =
       ''
         prog=$(find . -type f -name insert_dylib)