Skip to content

Commit

Permalink
ci: use legacy nix commands
Browse files Browse the repository at this point in the history
Same semantic change as ffb5c85
  • Loading branch information
abathur authored and mkenigs committed May 27, 2024
1 parent 7fc7eed commit 9f9899c
Showing 1 changed file with 16 additions and 13 deletions.
29 changes: 16 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,12 @@ jobs:
- name: Test `nix` with `$GITHUB_PATH`
if: success() || failure()
run: |
nix run nixpkgs#hello
nix profile install nixpkgs#hello
nix-channel --update nixpkgs
nix-shell -p hello --command hello
nix-env --install hello
hello
nix store gc
nix run nixpkgs#hello
nix-store --gc
nix-shell -p hello --command hello
- name: Test bash
run: nix-instantiate -E 'builtins.currentTime' --eval
if: success() || failure()
Expand Down Expand Up @@ -229,11 +230,12 @@ jobs:
- name: Test `nix` with `$GITHUB_PATH`
if: success() || failure()
run: |
sudo -i nix run nixpkgs#hello
sudo -i nix profile install nixpkgs#hello
hello
sudo -i nix store gc
sudo -i nix run nixpkgs#hello
sudo -i nix-channel --update nixpkgs
sudo -i nix-shell -p hello --command hello
sudo -i nix-env --install hello
sudo -i hello
sudo -i nix-store --gc
sudo -i nix-shell -p hello --command hello
- name: Test bash
run: sudo -i nix-instantiate -E 'builtins.currentTime' --eval
if: success() || failure()
Expand Down Expand Up @@ -326,11 +328,12 @@ jobs:
- name: Test `nix` with `$GITHUB_PATH`
if: success() || failure()
run: |
nix run nixpkgs#hello
nix profile install nixpkgs#hello
nix-channel --update nixpkgs
nix-shell -p hello --command hello
nix-env --install hello
hello
nix store gc
nix run nixpkgs#hello
nix-store --gc
nix-shell -p hello --command hello
- name: Test bash
run: nix-instantiate -E 'builtins.currentTime' --eval
if: success() || failure()
Expand Down

0 comments on commit 9f9899c

Please sign in to comment.