aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-05-21 22:02:34 +0200
committerEelco Dolstra <edolstra@gmail.com>2020-05-21 22:02:34 +0200
commit00b562c87ec4c3bbe514f5dc1f4d1c41f66f66bf (patch)
tree36e1739bb7624516c618ea52bca7e02a0627d885 /tests
parent5f64655ff429be08aa0787761697787e7050f373 (diff)
Fix GitHub test
Diffstat (limited to 'tests')
-rw-r--r--tests/github-flakes.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/github-flakes.nix b/tests/github-flakes.nix
index 02b78ffe0..5d43201bb 100644
--- a/tests/github-flakes.nix
+++ b/tests/github-flakes.nix
@@ -115,12 +115,12 @@ makeTest (
$client->succeed("curl -v https://github.com/ >&2");
- $client->succeed("nix flake list | grep nixpkgs");
+ $client->succeed("nix registry list | grep nixpkgs");
$client->succeed("nix flake info nixpkgs --json | jq -r .revision") eq "${nixpkgs.rev}\n"
or die "revision mismatch";
- $client->succeed("nix flake pin nixpkgs");
+ $client->succeed("nix registry pin nixpkgs");
$client->succeed("nix flake info nixpkgs --tarball-ttl 0 >&2");