1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-30 06:59:45 +01:00

notmuch: replace incorrect use of toJSON

This commit is contained in:
Robert Helgesson 2018-11-25 13:33:09 +01:00
parent 59448d635c
commit 9318bd3b0d
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -11,7 +11,7 @@ let
tweakVal = v:
if isString v then 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;
in
"${key}=${tweakVal value}";