mirror of
https://github.com/NixOS/nix
synced 2025-07-06 21:41:48 +02: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
|
@ -62,13 +62,17 @@ AC_CHECK_TOOL([AR], [ar])
|
|||
AC_SYS_LARGEFILE
|
||||
|
||||
|
||||
# Solaris-specific stuff.
|
||||
# OS-specific stuff.
|
||||
AC_STRUCT_DIRENT_D_TYPE
|
||||
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