mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 13:41:26 +00:00
pinentry_mac: use xcbuild
This commit is contained in:
parent
a78af29ae7
commit
38fa991064
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue