pinentry_mac: use xcbuild

This commit is contained in:
Matthew Bauer 2017-04-09 04:24:16 -05:00
parent a78af29ae7
commit 38fa991064
No known key found for this signature in database
GPG Key ID: E04D0AD9469141C3

View File

@ -1,4 +1,4 @@
{ fetchurl, stdenv }:
{ fetchurl, stdenv, xcbuild }:
stdenv.mkDerivation rec {
name = "pinentry-mac-0.9.4";
@ -8,9 +8,9 @@ stdenv.mkDerivation rec {
sha256 = "037ebb010377d3a3879ae2a832cefc4513f5c397d7d887d7b86b4e5d9a628271";
};
postPatch = ''
substituteInPlace ./Makefile --replace "xcodebuild" "/usr/bin/xcodebuild"
'';
buildInputs = [ xcbuild ];
dontUseXcbuild = true;
installPhase = ''
mkdir -p $out/Applications