Skip to content

Commit

Permalink
Merge pull request #234111 from reckenrode/pinentry-mac-darwin-sandbox
Browse files Browse the repository at this point in the history
pinentry-mac: fix build with Darwin sandbox enabled
  • Loading branch information
wegank authored May 27, 2023
2 parents 5bf58e0 + 8f84341 commit 9fdb5f9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkgs/tools/security/pinentry/mac.nix
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ stdenv.mkDerivation rec {
chmod -R u+w macosx/*.nib
'';

# Unfortunately, PlistBuddy from xcbuild is not compatible enough pinentry-mac’s build process.
sandboxProfile = ''
(allow process-exec (literal "/usr/libexec/PlistBuddy"))
'';

nativeBuildInputs = [ autoreconfHook texinfo ];
buildInputs = [ libassuan libgpg-error libiconv Cocoa ];

Expand Down

0 comments on commit 9fdb5f9

Please sign in to comment.