Skip to content

Commit 088c184

Browse files
committed
WIP start testing the advanced attrs in the structuredAttrs case too
1 parent bd6eb8a commit 088c184

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
let
2+
system = "my-system";
3+
foo = derivation {
4+
inherit system;
5+
name = "foo";
6+
builder = "/bin/bash";
7+
args = ["-c" "echo foo > $out"];
8+
};
9+
bar = derivation {
10+
inherit system;
11+
name = "bar";
12+
builder = "/bin/bash";
13+
args = ["-c" "echo bar > $out"];
14+
};
15+
in
16+
derivation {
17+
inherit system;
18+
name = "hello-again";
19+
builder = "/bin/bash";
20+
args = [ "-c" "echo hello > $out" ];
21+
outputs = [ "out" "dev" ];
22+
outputChecks = {
23+
out = {
24+
allowedReferences = [];
25+
};
26+
};
27+
# TODO add some others
28+
}

0 commit comments

Comments
 (0)