nix-daemon: fix autoOptimiseStore option

This commit is contained in:
Robin Gloster 2017-03-21 02:16:29 +01:00
parent 818a37598c
commit c808801937
No known key found for this signature in database
GPG key ID: 5E4C836C632C2882

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