mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-23 09:00:51 +00:00
bat: fix escaping of shell settings values
(cherry picked from commit adc88786a1)
This commit is contained in:
committed by
github-actions[bot]
parent
23ade373c0
commit
4c8175371b
@@ -8,6 +8,7 @@ let
|
||||
inherit (builtins) isList;
|
||||
inherit (lib)
|
||||
concatMapStrings
|
||||
escapeShellArg
|
||||
literalExpression
|
||||
maintainers
|
||||
mapAttrs'
|
||||
@@ -34,7 +35,7 @@ let
|
||||
else if isBool value then
|
||||
boolToString value
|
||||
else
|
||||
toString value;
|
||||
escapeShellArg (toString value);
|
||||
in
|
||||
{
|
||||
options.programs.bat = {
|
||||
|
||||
Reference in New Issue
Block a user