Revert "Enable sandbox on darwin"

This commit is contained in:
Domen Kožar 2020-02-26 17:17:21 +01:00 committed by GitHub
parent 4856b67e4a
commit ef735e86b9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,9 +31,6 @@ sh <(curl https://nixos.org/nix/install) --daemon
# write nix.conf again as installation overwrites it # write nix.conf again as installation overwrites it
nixConf nixConf
# Enable sandbox on Darwin/Linux
sudo sh -c 'echo sandbox = true >> /etc/nix/nix.conf'
# macOS needs certificates hints # macOS needs certificates hints
if [[ $OSTYPE =~ darwin ]]; then if [[ $OSTYPE =~ darwin ]]; then
cert_file=/nix/var/nix/profiles/default/etc/ssl/certs/ca-bundle.crt cert_file=/nix/var/nix/profiles/default/etc/ssl/certs/ca-bundle.crt