Merge pull request #234111 from reckenrode/pinentry-mac-darwin-sandbox

pinentry-mac: fix build with Darwin sandbox enabled
This commit is contained in:
Weijia Wang 2023-05-27 13:28:41 +03:00 committed by GitHub
commit 9fdb5f9820
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -32,6 +32,11 @@ stdenv.mkDerivation rec {
chmod -R u+w macosx/*.nib
'';
# Unfortunately, PlistBuddy from xcbuild is not compatible enough pinentry-macs build process.
sandboxProfile = ''
(allow process-exec (literal "/usr/libexec/PlistBuddy"))
'';
nativeBuildInputs = [ autoreconfHook texinfo ];
buildInputs = [ libassuan libgpg-error libiconv Cocoa ];