From 218c6dc78af28956f7ee789cc762f48f9879b702 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Na=C3=AFm=20Favier?= Date: Tue, 28 Feb 2023 21:55:43 +0100 Subject: [PATCH] .github: pin nix 2.13 (#630) 2.14 has a bug related to profile locations that breaks nix-env, which in turn breaks cachix. Pin to 2.13 for now. More info at https://github.com/NixOS/nixpkgs/pull/218858#issuecomment-1448758169 --- .github/actions/common-setup/action.yml | 1 + .github/workflows/update-flake-lock.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/actions/common-setup/action.yml b/.github/actions/common-setup/action.yml index 1d64829..e44a5e4 100644 --- a/.github/actions/common-setup/action.yml +++ b/.github/actions/common-setup/action.yml @@ -13,6 +13,7 @@ runs: - name: Installing Nix uses: cachix/install-nix-action@v18 with: + install_url: https://releases.nixos.org/nix/nix-2.13.3/install nix_path: nixpkgs=channel:nixpkgs-unstable extra_nix_config: | access-tokens = github.com=${{ inputs.GITHUB_TOKEN }} diff --git a/.github/workflows/update-flake-lock.yml b/.github/workflows/update-flake-lock.yml index 184710b..2901efc 100644 --- a/.github/workflows/update-flake-lock.yml +++ b/.github/workflows/update-flake-lock.yml @@ -13,6 +13,7 @@ jobs: - name: Install Nix uses: cachix/install-nix-action@v19 with: + install_url: https://releases.nixos.org/nix/nix-2.13.3/install extra_nix_config: | access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} - name: Update flake.lock