Fix perlBindings build on macOS

https://hydra.nixos.org/build/276515695
(cherry picked from commit 750db54bfc)
This commit is contained in:
Eelco Dolstra 2024-10-31 12:23:35 +01:00
parent e89f7906db
commit 185a92ba6c

View File

@ -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}"