mirror of
https://github.com/cachix/install-nix-action.git
synced 2024-11-22 08:30:51 +00:00
Merge pull request #27 from cachix/revert-26-sandbox
Revert "Enable sandbox on darwin"
This commit is contained in:
commit
9affe1ce81
1 changed files with 0 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue