Skip to content

Commit

Permalink
Fix perlBindings build on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
edolstra committed Oct 31, 2024
1 parent a640aa0 commit d977522
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion perl/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ perl.pkgs.toPerlModule (stdenv.mkDerivation {
boost
]
++ lib.optional (stdenv.isLinux || stdenv.isDarwin) libsodium
++ lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Security;
++ lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Security
++ lib.optional stdenv.hostPlatform.isDarwin darwin.apple_sdk.libs.sandbox;

configureFlags = [
"--with-dbi=${perlPackages.DBI}/${perl.libPrefix}"
Expand Down

0 comments on commit d977522

Please sign in to comment.