diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-01-22 00:25:17 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-01-22 00:25:17 +0100 |
commit | ad6e55d777faaf49c601cf900a5f936062cb1d48 (patch) | |
tree | ae433d77469cf9b7d77d03d9af8209a92a6c19e2 | |
parent | b33b94748cc8cc30e8bdf58f34c4934833515440 (diff) |
Fix GitHub test
-rw-r--r-- | tests/github-flakes.nix | 4 |
1 files 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 |