aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-06-03 16:29:04 +0200
committerEelco Dolstra <edolstra@gmail.com>2020-06-03 16:29:04 +0200
commit81cafda306e7257d0d77a20b9bde45049abaa52a (patch)
tree401145e21887c06050a562fcb11c78551eea50fc /tests
parentc20591ddc3454263ac49435624f4ec2983ee335d (diff)
Fix GitHub test
Diffstat (limited to 'tests')
-rw-r--r--tests/github-flakes.nix18
1 files changed, 13 insertions, 5 deletions
diff --git a/tests/github-flakes.nix b/tests/github-flakes.nix
index 5d43201bb..0b1f1322f 100644
--- a/tests/github-flakes.nix
+++ b/tests/github-flakes.nix
@@ -26,12 +26,20 @@ let
name = "registry";
text = ''
{
- "flakes": {
- "flake:nixpkgs": {
- "uri": "github:NixOS/nixpkgs"
+ "flakes": [
+ {
+ "from": {
+ "type": "indirect",
+ "id": "nixpkgs"
+ },
+ "to": {
+ "type": "github",
+ "owner": "NixOS",
+ "repo": "nixpkgs"
+ }
}
- },
- "version": 1
+ ],
+ "version": 2
}
'';
destination = "/flake-registry.json";