diff --git a/perl/default.nix b/perl/default.nix index 7103574c9..a797f2f3f 100644 --- a/perl/default.nix +++ b/perl/default.nix @@ -41,7 +41,8 @@ perl.pkgs.toPerlModule (stdenv.mkDerivation (finalAttrs: { 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; # `perlPackages.Test2Harness` is marked broken for Darwin doCheck = !stdenv.isDarwin;