Fix perlBindings build on macOS

This commit is contained in:
Eelco Dolstra 2024-10-31 12:47:51 +01:00
parent bddbe3b2e9
commit 0f665ff677

View File

@ -468,7 +468,8 @@
boost
]
++ lib.optional (currentStdenv.isLinux || currentStdenv.isDarwin) libsodium
++ lib.optional currentStdenv.isDarwin darwin.apple_sdk.frameworks.Security;
++ lib.optional currentStdenv.isDarwin darwin.apple_sdk.frameworks.Security
++ lib.optional stdenv.hostPlatform.isDarwin darwin.apple_sdk.libs.sandbox;
configureFlags = [
"--with-dbi=${perlPackages.DBI}/${pkgs.perl.libPrefix}"