mirror of
https://github.com/NixOS/nix.git
synced 2025-11-15 15:02:42 +01:00
fix: Run all derivation builders inside the sandbox on macOS
This commit is contained in:
parent
d7eaeaffd3
commit
ae8a38d29c
3 changed files with 122 additions and 121 deletions
|
|
@ -25,6 +25,7 @@
|
|||
, libseccomp
|
||||
, libsodium
|
||||
, man
|
||||
, darwin
|
||||
, lowdown
|
||||
, mdbook
|
||||
, mdbook-linkcheck
|
||||
|
|
@ -239,6 +240,7 @@ in {
|
|||
gtest
|
||||
rapidcheck
|
||||
] ++ lib.optional stdenv.isLinux libseccomp
|
||||
++ lib.optional stdenv.hostPlatform.isDarwin darwin.apple_sdk.libs.sandbox
|
||||
++ lib.optional stdenv.hostPlatform.isx86_64 libcpuid
|
||||
# There have been issues building these dependencies
|
||||
++ lib.optional (stdenv.hostPlatform == stdenv.buildPlatform && (stdenv.isLinux || stdenv.isDarwin))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue