From 1ffe9499a21e711952fca064b9158e8e45bc2160 Mon Sep 17 00:00:00 2001 From: Eman Resu <78693624+quatquatt@users.noreply.github.com> Date: Sun, 21 Jun 2026 16:13:54 -0400 Subject: [PATCH] lib.cli.toGNUCommandLine: move variable definition to higher scope --- lib/cli.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/cli.nix b/lib/cli.nix index 26c2b545ae72..9995a062fad9 100644 --- a/lib/cli.nix +++ b/lib/cli.nix @@ -155,7 +155,6 @@ rec { optionValueSeparator ? null, }: - options: let render = k: v: @@ -165,9 +164,8 @@ rec { mkList k v else mkOption k v; - in - concatLists (mapAttrsToList render options) + options: concatLists (mapAttrsToList render options) ); /**