mirror of
https://github.com/cachix/install-nix-action.git
synced 2024-12-22 15:03:28 +00:00
commit
4856b67e4a
1 changed files with 3 additions and 0 deletions
|
@ -31,6 +31,9 @@ sh <(curl https://nixos.org/nix/install) --daemon
|
|||
# write nix.conf again as installation overwrites it
|
||||
nixConf
|
||||
|
||||
# Enable sandbox on Darwin/Linux
|
||||
sudo sh -c 'echo sandbox = true >> /etc/nix/nix.conf'
|
||||
|
||||
# macOS needs certificates hints
|
||||
if [[ $OSTYPE =~ darwin ]]; then
|
||||
cert_file=/nix/var/nix/profiles/default/etc/ssl/certs/ca-bundle.crt
|
||||
|
|
Loading…
Reference in a new issue