From 0f665ff6779454f2117dcc32e44380cda7f45523 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 31 Oct 2024 12:47:51 +0100 Subject: [PATCH] Fix perlBindings build on macOS --- flake.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 66ac1bfd8..676cc2088 100644 --- a/flake.nix +++ b/flake.nix @@ -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}"