diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ef21a76..e1bf82e 100755 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,12 +14,14 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v2 - - name: Install Nix - uses: cachix/install-nix-action@v16 - with: - extra_nix_config: | - auto-optimise-store = true - experimental-features = nix-command flakes + - name: Install nix + run: | + sudo mkdir -p /nix /etc/nix + sudo chmod a+rwx /nix + sudo sh -c "echo 'sandbox = false' > /etc/nix/nix.conf" + sh <(curl -L https://nixos.org/nix/install) --no-daemon + mkdir -p /home/runner/.config/nix/ + echo 'experimental-features = nix-command flakes' > /home/runner/.config/nix/nix.conf - name: Update flake.lock uses: DeterminateSystems/update-flake-lock@v16 with: