mirror of
https://github.com/NixOS/nix
synced 2025-07-08 06:53:54 +02:00
fix: Run all derivation builders inside the sandbox on macOS
This commit is contained in:
parent
7718688f52
commit
170242cf0c
3 changed files with 123 additions and 122 deletions
|
@ -62,12 +62,16 @@ AC_CHECK_TOOL([AR], [ar])
|
|||
AC_SYS_LARGEFILE
|
||||
|
||||
|
||||
# Solaris-specific stuff.
|
||||
# OS-specific stuff.
|
||||
case "$host_os" in
|
||||
solaris*)
|
||||
# Solaris requires -lsocket -lnsl for network functions
|
||||
LDFLAGS="-lsocket -lnsl $LDFLAGS"
|
||||
;;
|
||||
darwin*)
|
||||
# Need to link to libsandbox.
|
||||
LDFLAGS="-lsandbox $LDFLAGS"
|
||||
;;
|
||||
esac
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue