From 48a99a99fc2336dc87d8aa091418a38c1d64c818 Mon Sep 17 00:00:00 2001 From: Eman Resu <78693624+quatquatt@users.noreply.github.com> Date: Thu, 21 May 2026 16:01:19 -0400 Subject: [PATCH] lib.generators.toGitINI: only define helper variables once --- lib/generators.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/generators.nix b/lib/generators.nix index 7b53d3912822..0b8393e8ebe2 100644 --- a/lib/generators.nix +++ b/lib/generators.nix @@ -379,7 +379,6 @@ rec { See the [git-config documentation](https://git-scm.com/docs/git-config#_variables) for possible values. */ toGitINI = - attrs: let mkSectionName = name: @@ -427,7 +426,7 @@ rec { toINI_ = toINI { inherit mkKeyValue mkSectionName; }; in - toINI_ (gitFlattenAttrs attrs); + attrs: toINI_ (gitFlattenAttrs attrs); /** `mkKeyValueDefault` wrapper that handles dconf INI quirks.