fix(tvix/glue/tests): resolve logic error in hasContextInAttrKeys
Change-Id: I7aa09c10f803c2b79363fe3eb52c1127276a333b Reviewed-on: https://cl.tvl.fyi/c/depot/+/10676 Autosubmit: sterni <sternenseemann@systemli.org> Reviewed-by: raitobezarius <tvl@lahfa.xyz> Tested-by: BuildkiteCI
This commit is contained in:
parent
bdeb6f406e
commit
842d5ed3ee
1 changed files with 2 additions and 1 deletions
|
@ -18,7 +18,8 @@ let
|
|||
# then, we reassemble the list into a proper string.
|
||||
discardContext = target: builtins.concatStringsSep "" (builtins.split "(.*)" "${target}");
|
||||
|
||||
hasContextInAttrKeys = attrs: builtins.all builtins.hasContext (builtins.attrNames attrs);
|
||||
# Note that this should never return true for any attribute set.
|
||||
hasContextInAttrKeys = attrs: builtins.any builtins.hasContext (builtins.attrNames attrs);
|
||||
|
||||
path = "${./eval-okay-context-introspection.nix}";
|
||||
|
||||
|
|
Loading…
Reference in a new issue