From 9318bd3b0d4d50d5617338bf8153bbc86027dae2 Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Sun, 25 Nov 2018 13:33:09 +0100 Subject: [PATCH] notmuch: replace incorrect use of toJSON --- modules/programs/notmuch.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/programs/notmuch.nix b/modules/programs/notmuch.nix index 2d8478f69..54242245f 100644 --- a/modules/programs/notmuch.nix +++ b/modules/programs/notmuch.nix @@ -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}";