From 7d47d4aa4e52a590d80b494cb3b2adc21810300a Mon Sep 17 00:00:00 2001 From: Emile Clark-Boman Date: Thu, 18 Dec 2025 12:22:49 +1000 Subject: [PATCH] am i stupid? --- nib/parse/struct.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nib/parse/struct.nix b/nib/parse/struct.nix index ed01225..729136a 100644 --- a/nib/parse/struct.nix +++ b/nib/parse/struct.nix @@ -78,7 +78,7 @@ in rec { # Alternative to mapAttrsRecursive # NOTE: refuses to go beyond Terminal types - recmap = recmapCond (_: leaf: !isTerminal leaf); + recmap = recmapCond (_: leaf: !(isTerminal leaf)); mergeStructsCond = cond: f: base: ext: recmapCond @@ -93,7 +93,7 @@ in rec { # NOTE: respects Terminal types mergeStructs = mergeStructsCond - (_: leaf: !isTerminal leaf) + (_: leaf: !(isTerminal leaf)) (leaf: if isTerminal leaf then unwrapTerminal leaf