aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
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";