nixos/utils: fix stack overflow in genJqReplacementSnippet (#284027)
When the input contains derivations, don't attempt to recurse into them
This commit is contained in:
parent
fd400a9585
commit
c94d63a527
1 changed files with 1 additions and 0 deletions
|
@ -109,6 +109,7 @@ rec {
|
|||
recurse = prefix: item:
|
||||
if item ? ${attr} then
|
||||
nameValuePair prefix item.${attr}
|
||||
else if isDerivation item then []
|
||||
else if isAttrs item then
|
||||
map (name:
|
||||
let
|
||||
|
|
Loading…
Reference in a new issue