mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-05 16:27:03 +00:00
ci: fix uninstaller failing to run in install-against-unstable
This commit is contained in:
parent
3a89b61432
commit
222c3cb558
1 changed files with 5 additions and 4 deletions
9
.github/workflows/test.yml
vendored
9
.github/workflows/test.yml
vendored
|
@ -114,12 +114,13 @@ jobs:
|
||||||
darwin-rebuild switch -I darwin=.
|
darwin-rebuild switch -I darwin=.
|
||||||
- name: Test uninstallation of nix-darwin
|
- name: Test uninstallation of nix-darwin
|
||||||
run: |
|
run: |
|
||||||
|
# A regression in Nix 2.19 means we need to put `--extra-experimental-features` before `--override-input`
|
||||||
nix run .#darwin-uninstaller \
|
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 \
|
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
|
- name: Debugging tmate session
|
||||||
if: ${{ failure() }}
|
if: ${{ failure() }}
|
||||||
uses: mxschmitt/action-tmate@v3
|
uses: mxschmitt/action-tmate@v3
|
||||||
|
|
Loading…
Add table
Reference in a new issue