pinentry-mac: fix build with Darwin sandbox enabled

This commit is contained in:
Randy Eckenrode 2023-05-19 15:58:26 -04:00
parent bc7872990b
commit 8f84341c90
No known key found for this signature in database
GPG key ID: 64C1CD4EC2A600D9

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 ];