From ad6e55d777faaf49c601cf900a5f936062cb1d48 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 22 Jan 2020 00:25:17 +0100 Subject: 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 039e508a4..a312cb83b 100644 --- a/tests/github-flakes.nix +++ b/tests/github-flakes.nix @@ -27,7 +27,7 @@ let text = '' { "flakes": { - "nixpkgs": { + "flake:nixpkgs": { "uri": "github:NixOS/nixpkgs" } }, @@ -45,7 +45,7 @@ let cp -prd ${nixpkgs} $dir # Set the correct timestamp in the tarball. find $dir -print0 | xargs -0 touch -t ${builtins.substring 0 12 nixpkgs.lastModified}.${builtins.substring 12 2 nixpkgs.lastModified} -- - tar cfz $out/tarball/${nixpkgs.rev} $dir + tar cfz $out/tarball/${nixpkgs.rev} $dir --hard-dereference mkdir -p $out/commits echo '{"sha": "${nixpkgs.rev}"}' > $out/commits/master -- cgit v1.2.3