Merge pull request #100456 from maralorn/boolToString

treewide: De-inline uses of lib.boolToString
This commit is contained in:
Andreas Rammhold
2020-10-25 00:45:11 +02:00
committed by GitHub
20 changed files with 30 additions and 28 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ let
trusted-substituters = ${toString cfg.trustedBinaryCaches}
trusted-public-keys = ${toString cfg.binaryCachePublicKeys}
auto-optimise-store = ${boolToString cfg.autoOptimiseStore}
require-sigs = ${if cfg.requireSignedBinaryCaches then "true" else "false"}
require-sigs = ${boolToString cfg.requireSignedBinaryCaches}
trusted-users = ${toString cfg.trustedUsers}
allowed-users = ${toString cfg.allowedUsers}
${optionalString (!cfg.distributedBuilds) ''