From 222c3cb558f4e56e3f9e84bb65fe23034f7f9c79 Mon Sep 17 00:00:00 2001 From: Michael Hoang Date: Thu, 7 Nov 2024 16:47:15 +1100 Subject: [PATCH] ci: fix uninstaller failing to run in `install-against-unstable` --- .github/workflows/test.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 095cd3a6..623cb698 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -114,12 +114,13 @@ jobs: darwin-rebuild switch -I darwin=. - name: Test uninstallation of nix-darwin run: | + # A regression in Nix 2.19 means we need to put `--extra-experimental-features` before `--override-input` nix run .#darwin-uninstaller \ - --override-input nixpkgs nixpkgs/nixpkgs-unstable \ - --extra-experimental-features "nix-command flakes" + --extra-experimental-features "nix-command flakes" \ + --override-input nixpkgs nixpkgs/nixpkgs-unstable nix run .#darwin-uninstaller.tests.uninstaller \ - --override-input nixpkgs nixpkgs/nixpkgs-unstable \ - --extra-experimental-features "nix-command flakes" + --extra-experimental-features "nix-command flakes" \ + --override-input nixpkgs nixpkgs/nixpkgs-unstable - name: Debugging tmate session if: ${{ failure() }} uses: mxschmitt/action-tmate@v3