From c808801937ec73e7df2e1cf671ecaecb04431eeb Mon Sep 17 00:00:00 2001 From: Robin Gloster Date: Tue, 21 Mar 2017 02:16:29 +0100 Subject: [PATCH] nix-daemon: fix autoOptimiseStore option --- nixos/modules/services/misc/nix-daemon.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/misc/nix-daemon.nix b/nixos/modules/services/misc/nix-daemon.nix index fed646aadac..cfb6a860178 100644 --- a/nixos/modules/services/misc/nix-daemon.nix +++ b/nixos/modules/services/misc/nix-daemon.nix @@ -46,7 +46,7 @@ let binary-caches = ${toString cfg.binaryCaches} trusted-binary-caches = ${toString cfg.trustedBinaryCaches} binary-cache-public-keys = ${toString cfg.binaryCachePublicKeys} - auto-optimise-store = ${toString cfg.autoOptimiseStore} + auto-optimise-store = ${if cfg.autoOptimiseStore then "true" else "false"} ${optionalString cfg.requireSignedBinaryCaches '' signed-binary-caches = * ''}