.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
This commit is contained in:
Naïm Favier 2023-02-28 21:55:43 +01:00 committed by GitHub
parent 496623d4f9
commit 218c6dc78a
Failed to generate hash of commit
2 changed files with 2 additions and 0 deletions

View file

@ -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 }}

View file

@ -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