From 95e2cdbe8bf1d457c6437c558ded1b5aa5452f41 Mon Sep 17 00:00:00 2001 From: Ryan Scott Date: Tue, 13 Dec 2022 06:44:16 -0500 Subject: [PATCH] CI: Use Nix 2.11.0 Nix 2.4 does not work well with GitHub Actions' Ubuntu 22.04 runners, as seen in cachix/install-nix-action#141. --- .github/workflows/test.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7803961e..e09c1d4d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,8 +14,8 @@ on: # * GHC versions # - specified in the strategy matrix # - provided via nix: ensure the nix base and NIXPKGS used provide the requested GHC version -# * nix tool version 2.4 -# - all nix operations use new tool suite and cmdline interface (available in 2.4) instead of older format +# * nix tool version 2.11.0 +# - all nix operations use new tool suite and cmdline interface (available in 2.4+) instead of older format # The CACHE_VERSION can be updated to force the use of a new cache if # the current cache contents become corrupted/invalid. This can @@ -40,7 +40,7 @@ jobs: uses: cachix/install-nix-action@v16 with: nix_path: nixpkgs=channel:nixos-21.11 - install_url: https://releases.nixos.org/nix/nix-2.4/install + install_url: https://releases.nixos.org/nix/nix-2.11.0/install - uses: cachix/cachix-action@v10 with: @@ -69,7 +69,7 @@ jobs: uses: cachix/install-nix-action@v16 with: nix_path: nixpkgs=channel:nixos-21.11 - install_url: https://releases.nixos.org/nix/nix-2.4/install + install_url: https://releases.nixos.org/nix/nix-2.11.0/install - uses: cachix/cachix-action@v10 with: