mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 11:36:05 +01: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:
parent
64a809b198
commit
2b03dc82bb
4 changed files with 15 additions and 5 deletions
|
|
@ -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; };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue