mirror of
https://github.com/NixOS/nix
synced 2025-07-07 22:33:57 +02:00
fix: Run all derivation builders inside the sandbox on macOS
This commit is contained in:
parent
766263d53a
commit
d2c880b03f
3 changed files with 123 additions and 122 deletions
|
@ -23,6 +23,7 @@
|
|||
, libseccomp
|
||||
, libsodium
|
||||
, man
|
||||
, darwin
|
||||
, lowdown
|
||||
, mdbook
|
||||
, mdbook-linkcheck
|
||||
|
@ -232,6 +233,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