From 827a85bf3839328133525b1b979e40a9b4694ac2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Tue, 25 Jan 2022 08:30:03 +0100 Subject: [PATCH 1/2] bump template to build for 21.11 --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 09d3fdd..2a674a8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -36,7 +36,7 @@ jobs: nixPath: - nixpkgs=channel:nixos-unstable - nixpkgs=channel:nixpkgs-unstable - - nixpkgs=channel:nixos-21.05 + - nixpkgs=channel:nixos-21.11 runs-on: ubuntu-latest steps: - name: Checkout repository From 06b3af0a14e352945735859fe8c40209ef4d6a54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Tue, 25 Jan 2022 09:01:43 +0100 Subject: [PATCH 2/2] pin nix 2.5.1 for ci --- .github/workflows/build.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2a674a8..57eb234 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 }}