pin nix 2.5.1 for ci

This commit is contained in:
Jörg Thalheim 2022-01-25 09:01:43 +01:00
parent 827a85bf38
commit 06b3af0a14

View file

@ -45,6 +45,9 @@ jobs:
uses: cachix/install-nix-action@v16
with:
nix_path: "${{ matrix.nixPath }}"
# nix 2.6 breaks restrict-eval, when using the NIX_PATH
# see https://github.com/NixOS/nix/issues/5980
install_url: https://releases.nixos.org/nix/nix-2.5.1/install
extra_nix_config: |
experimental-features = nix-command flakes
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}