Skip to content

Commit 63a43c3

Browse files
committed
Add materialized files
1 parent 5aa5e14 commit 63a43c3

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

ci-lib.nix

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,11 @@ rec {
3232
# derivations.
3333
filterAttrsOnlyRecursive = pred: set:
3434
lib.mapAttrs (name: v:
35-
if builtins.isAttrs v
36-
&& !(lib.isDerivation v || v ? outPath)
37-
then if pred name v
35+
if pred name v
36+
then
37+
if builtins.isAttrs v
38+
&& !lib.isDerivation v
3839
then filterAttrsOnlyRecursive pred v
39-
else {}
40-
else v.outPath or v) set;
40+
else v
41+
else {}) set;
4142
}

0 commit comments

Comments
 (0)