summaryrefslogtreecommitdiff
path: root/CC/proto/RULES
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2024-11-06 14:45:05 +0100
committerKlaus Aehlig <klaus.aehlig@huawei.com>2024-11-06 14:45:05 +0100
commit2b07a15b20ed814f253ec3bc7f0ee089ccd066f2 (patch)
tree9f82bf2e8ee68092eac3431b3423217ddfb531b6 /CC/proto/RULES
parent5803ce704eb9cf9c30235e82856ed738486256e1 (diff)
parent1e099fbbb5648177ceded11a7a56e6ca9e9103ac (diff)
downloadrules-cc-2b07a15b20ed814f253ec3bc7f0ee089ccd066f2.tar.gz
Merge branch 'just-rules' into rules
Diffstat (limited to 'CC/proto/RULES')
-rw-r--r--CC/proto/RULES18
1 files changed, 7 insertions, 11 deletions
diff --git a/CC/proto/RULES b/CC/proto/RULES
index 6fb0f40..e7a2f46 100644
--- a/CC/proto/RULES
+++ b/CC/proto/RULES
@@ -83,7 +83,6 @@
, "base-provides-++": ["./", "..", "defaults-base-provides-++"]
, "base-provides-list": ["./", "..", "defaults-base-provides-list"]
, "artifacts_list": ["", "field_artifacts_list"]
- , "nub_left": ["", "nub_left"]
, "compile-deps": ["CC", "compile-deps"]
, "compile-args-deps": ["CC", "compile-args-deps"]
, "link-deps": ["CC", "link-deps"]
@@ -139,17 +138,14 @@
]
, ["provider", "PATH"]
, [ "PATH"
- , { "type": "++"
+ , { "type": "nub_left"
, "$1":
- [ {"type": "var", "name": "PATH"}
- , {"type": "CALL_EXPRESSION", "name": "base-provides-++"}
- ]
- }
- ]
- , [ "PATH"
- , { "type": "let*"
- , "bindings": [["list", {"type": "var", "name": "PATH"}]]
- , "body": {"type": "CALL_EXPRESSION", "name": "nub_left"}
+ { "type": "++"
+ , "$1":
+ [ {"type": "var", "name": "PATH"}
+ , {"type": "CALL_EXPRESSION", "name": "base-provides-++"}
+ ]
+ }
}
]
, ["provider", "ENV"]