mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-12 01:50:44 +08:00
lib/zsh: revert escapeShellArg in toZshValue
Causes variables to be generated with single ticks breaking shell expansion. Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
@@ -7,7 +7,7 @@ rec {
|
||||
if builtins.isBool v then
|
||||
if v then "true" else "false"
|
||||
else if builtins.isString v then
|
||||
lib.escapeShellArg v
|
||||
''"${v}"''
|
||||
else if builtins.isList v then
|
||||
let
|
||||
shell = import ./shell.nix { inherit lib; };
|
||||
|
||||
Reference in New Issue
Block a user