diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6cf7946be3f8a0b0e9c33d9657a1110fc559ef93..3fa7ba8da4d6ed918b22895cf6884ad10df47dc1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -45,6 +45,9 @@ - name: Install nix uses: cachix/install-nix-action@v18 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 }}