lib.cli.toGNUCommandLine: move variable definition to higher scope
This commit is contained in:
+1
-3
@@ -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)
|
||||
);
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user