1
1
mirror of https://github.com/nmattia/niv.git synced 2024-10-06 12:27:35 +03:00

Ad extra-experimental-features

This commit is contained in:
Nicolas Mattia 2021-11-08 12:31:41 +01:00
parent 19545d3926
commit 0ff60d5b09

View File

@ -12,6 +12,7 @@ install_nix() {
sudo sh -c 'echo max-jobs = auto >> /tmp/nix.conf'
# Allow binary caches for runner user
sudo sh -c 'echo trusted-users = root runner >> /tmp/nix.conf'
sudo sh -c 'echo extra-experimental-features = nix-command >> /tmp/nix.conf'
sh <(curl -L ${INPUT_INSTALL_URL:-https://nixos.org/nix/install}) \
--daemon --daemon-user-count 4 --nix-extra-conf-file /tmp/nix.conf --darwin-use-unencrypted-nix-store-volume --no-channel-add