From f196064e209bb4ec9a0b959b67f2618f8908ae86 Mon Sep 17 00:00:00 2001 From: Hugo Herter Date: Wed, 14 Feb 2024 18:16:21 +0100 Subject: [PATCH] fixup! CI fixes --- .github/workflows/nix-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/nix-ci.yml b/.github/workflows/nix-ci.yml index d5be4567d..9a21a2322 100644 --- a/.github/workflows/nix-ci.yml +++ b/.github/workflows/nix-ci.yml @@ -8,7 +8,6 @@ strategy: matrix: os: [ macos-latest, ubuntu-latest ] - channel: [ nixos-23.11, nixpkgs-23.11-darwin ] runs-on: ${{ matrix.os }} steps: @@ -23,7 +22,8 @@ - name: Set up Nix uses: cachix/install-nix-action@v25 with: - nix_path: nixpkgs=channel:${{ matrix.channel }} + # Use channel nixos-23.11 for Linux and nixpkgs-23.11-darwin for macOS + nix_path: nixpkgs=channel:${{ matrix.os == 'macos-latest' && 'nixpkgs-23.11-darwin' || 'nixos-23.11' }} - name: Run tests run: nix-shell --run "pytest"