pinentry_mac: make it compile on arm64
This commit is contained in:
committed by
github-actions[bot]
parent
394bc6c138
commit
4aff0e523a
@@ -14,6 +14,12 @@ stdenv.mkDerivation {
|
||||
nativeBuildInputs = [ xcbuildHook ];
|
||||
buildInputs = [ libiconv ncurses Cocoa ];
|
||||
|
||||
preBuild = ''
|
||||
# Only build for what we care about (also allows arm64)
|
||||
substituteInPlace pinentry-mac.xcodeproj/project.pbxproj \
|
||||
--replace "i386 x86_64 ppc" "${stdenv.targetPlatform.darwinArch}"
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/Applications
|
||||
mv Products/Release/pinentry-mac.app $out/Applications
|
||||
|
||||
Reference in New Issue
Block a user