about summary refs log tree commit diff
path: root/pkgs/tools/misc/contacts
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/tools/misc/contacts
parent35b2c0edf2d3e12f1ca7dae2a91f5232a1ab1445 (diff)
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/tools/misc/contacts')
-rw-r--r--pkgs/tools/misc/contacts/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/tools/misc/contacts/default.nix b/pkgs/tools/misc/contacts/default.nix
index 47a74e84b55a2..dc8f776cef66f 100644
--- a/pkgs/tools/misc/contacts/default.nix
+++ b/pkgs/tools/misc/contacts/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, xcbuild, Foundation, AddressBook }:
+{ stdenv, fetchurl, xcbuildHook, Foundation, AddressBook }:
 
 stdenv.mkDerivation rec {
   version = "1.1a-3";
@@ -9,7 +9,8 @@ stdenv.mkDerivation rec {
     sha256 = "0wdqc1ndgrdhqapvvgx5xihc750szv08lp91x4l6n0gh59cpxpg3";
   };
 
-  buildInputs = [ xcbuild Foundation AddressBook ];
+  nativeBuildInputs = [ xcbuildHook ];
+  buildInputs = [ Foundation AddressBook ];
 
   installPhase = ''
     mkdir -p $out/bin