notmuch: replace incorrect use of toJSON
This commit is contained in:
parent
59448d635c
commit
9318bd3b0d
|
@ -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