From 185a92ba6cae0a514b74c3630a6a06431b66dee1 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 (cherry picked from commit 750db54bfc0fe1c4ae20af98f537c8607e25368c) --- perl/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/perl/default.nix b/perl/default.nix index 4687976a1..86f564d79 100644 --- a/perl/default.nix +++ b/perl/default.nix @@ -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}"