1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2024-12-14 11:57:34 +00:00

ci: fix uninstaller failing to run in install-against-unstable

This commit is contained in:
Michael Hoang 2024-11-07 16:47:15 +11:00
parent 3a89b61432
commit 222c3cb558

View file

@ -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