From 750db54bfc0fe1c4ae20af98f537c8607e25368c Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 31 Oct 2024 12:23:35 +0100 Subject: [PATCH] Fix perlBindings build on macOS https://hydra.nixos.org/build/276515695 --- perl/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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;