nix-daemon: fix autoOptimiseStore option

(cherry picked from commit c808801937)
This commit is contained in:
Robin Gloster
2017-03-21 02:16:29 +01:00
parent a334a1737b
commit e87e108146

View File

@@ -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 = *
''}