From bbfae1bbdcbada479b9b6f12f1dc869946d8ef3a Mon Sep 17 00:00:00 2001 From: sora Date: Tue, 14 Nov 2023 18:28:30 +0100 Subject: [PATCH] Update .github/workflows/main.yml --- .github/workflows/main.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) 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: