From 00b562c87ec4c3bbe514f5dc1f4d1c41f66f66bf Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 21 May 2020 22:02:34 +0200 Subject: [PATCH] Fix GitHub test --- tests/github-flakes.nix | 4 ++-- 1 file 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");