diff options
author | Klaus T. Aehlig <aehlig@linta.de> | 2024-06-25 17:59:39 +0200 |
---|---|---|
committer | Klaus T. Aehlig <aehlig@linta.de> | 2024-06-25 18:29:41 +0200 |
commit | e65cf1d265210738a9b3c0b811fbfeffa0741c39 (patch) | |
tree | 3b1bfe9958b324b5bd0768b48bfa76aaaa3eecc7 /etc/repos.template.json | |
parent | 628cb0ab06332086a7ea022bcebfb69d95c38068 (diff) | |
download | hello-nix-e65cf1d265210738a9b3c0b811fbfeffa0741c39.tar.gz |
Import rust rules and add a minimal example
Note that the PATH for rust targets also has to include
that for the C compiler and hence also coreutils, as the
rust compiler calls out to `cc`.
Diffstat (limited to 'etc/repos.template.json')
-rw-r--r-- | etc/repos.template.json | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/etc/repos.template.json b/etc/repos.template.json index bb4d04c..929e149 100644 --- a/etc/repos.template.json +++ b/etc/repos.template.json @@ -1,7 +1,7 @@ { "repositories": { "": { "repository": {"type": "file", "path": "src"} - , "bindings": {"rules": "rules/nix"} + , "bindings": {"rules": "rules/nix", "rust": "rules-rust/nix"} } , "test": { "repository": {"type": "file", "path": "test"} @@ -10,6 +10,11 @@ , "defaults": {"repository": {"type": "file", "path": "etc/defaults"}} , "rules/nix": {"repository": "rules", "target_root": "defaults", "rule_root": "rules"} + , "rules-rust/nix": + { "repository": "rules-rust" + , "target_root": "defaults" + , "rule_root": "rules-rust" + } , "rules/nix-test": { "repository": "rules" , "target_root": "defaults" |