diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2018-07-06 18:53:50 -0400 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2018-07-09 17:13:58 -0400 |
commit | 0534ceac816cb708434b126e38e98b925516498a (patch) | |
tree | b77be2124af63bc0905e5b9f5735c117058e3d4a /pkgs/tools/security/pinentry | |
parent | 35b2c0edf2d3e12f1ca7dae2a91f5232a1ab1445 (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/security/pinentry')
-rw-r--r-- | pkgs/tools/security/pinentry/mac.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/tools/security/pinentry/mac.nix b/pkgs/tools/security/pinentry/mac.nix index e555889d1abb6..b198d7446a924 100644 --- a/pkgs/tools/security/pinentry/mac.nix +++ b/pkgs/tools/security/pinentry/mac.nix @@ -1,4 +1,4 @@ -{ fetchurl, stdenv, fetchFromGitHub, xcbuild, libiconv, Cocoa, ncurses }: +{ fetchurl, stdenv, fetchFromGitHub, xcbuildHook, libiconv, Cocoa, ncurses }: stdenv.mkDerivation rec { name = "pinentry-mac-0.9.4"; @@ -10,7 +10,8 @@ stdenv.mkDerivation rec { sha256 = "0g75302697gqcxyf2hyqzvcbd5pyss1bl2xvfd40wqav7dlyvj83"; }; - buildInputs = [ xcbuild libiconv Cocoa ncurses ]; + nativeBuildInputs = [ xcbuildHook ]; + buildInputs = [ libiconv Cocoa ncurses ]; installPhase = '' mkdir -p $out/Applications |