summaryrefslogtreecommitdiff
path: root/etc/repos.template.json
diff options
context:
space:
mode:
authorKlaus T. Aehlig <aehlig@linta.de>2024-06-25 17:35:19 +0200
committerKlaus T. Aehlig <aehlig@linta.de>2024-06-25 17:52:47 +0200
commit628cb0ab06332086a7ea022bcebfb69d95c38068 (patch)
tree41a06a68e7a1e89f084e899e0a01b7d846958c7f /etc/repos.template.json
parentafcdb1184799526f20954e475af990254d772cd4 (diff)
downloadhello-nix-628cb0ab06332086a7ea022bcebfb69d95c38068.tar.gz
Import rules instead of hard-coding
Diffstat (limited to 'etc/repos.template.json')
-rw-r--r--etc/repos.template.json21
1 files changed, 21 insertions, 0 deletions
diff --git a/etc/repos.template.json b/etc/repos.template.json
new file mode 100644
index 0000000..bb4d04c
--- /dev/null
+++ b/etc/repos.template.json
@@ -0,0 +1,21 @@
+{ "repositories":
+ { "":
+ { "repository": {"type": "file", "path": "src"}
+ , "bindings": {"rules": "rules/nix"}
+ }
+ , "test":
+ { "repository": {"type": "file", "path": "test"}
+ , "bindings": {"rules": "rules/nix-test", "src": ""}
+ }
+ , "defaults": {"repository": {"type": "file", "path": "etc/defaults"}}
+ , "rules/nix":
+ {"repository": "rules", "target_root": "defaults", "rule_root": "rules"}
+ , "rules/nix-test":
+ { "repository": "rules"
+ , "target_root": "defaults"
+ , "rule_root": "rules"
+ , "target_file_name": "test.TARGETS"
+ , "bindings": {"base": "rules/nix"}
+ }
+ }
+}