1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-12-05 00:21:01 +01:00

packaging: Add darwin -lsandbox in meson

This commit is contained in:
Robert Hensing 2024-10-03 12:23:17 +02:00
parent d2c880b03f
commit f733553061
2 changed files with 7 additions and 0 deletions

View file

@ -3,6 +3,7 @@
, mkMesonLibrary
, unixtools
, darwin
, nix-util
, boost
@ -56,6 +57,7 @@ mkMesonLibrary (finalAttrs: {
sqlite
] ++ lib.optional stdenv.hostPlatform.isLinux libseccomp
# There have been issues building these dependencies
++ lib.optional stdenv.hostPlatform.isDarwin darwin.apple_sdk.libs.sandbox
++ lib.optional (stdenv.hostPlatform == stdenv.buildPlatform && (stdenv.isLinux || stdenv.isDarwin))
aws-sdk-cpp
;