mirror of
https://github.com/nix-community/home-manager
synced 2024-12-02 16:09:46 +01:00
notmuch: replace incorrect use of toJSON
This commit is contained in:
parent
59448d635c
commit
9318bd3b0d
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ let
|
||||||
tweakVal = v:
|
tweakVal = v:
|
||||||
if isString v then v
|
if isString v then v
|
||||||
else if isList v then concatMapStringsSep ";" tweakVal v
|
else if isList v then concatMapStringsSep ";" tweakVal v
|
||||||
else if isBool v then toJSON v
|
else if isBool v then (if v then "true" else "false")
|
||||||
else toString v;
|
else toString v;
|
||||||
in
|
in
|
||||||
"${key}=${tweakVal value}";
|
"${key}=${tweakVal value}";
|
||||||
|
|
Loading…
Reference in a new issue