3
0
Fork 0
forked from mirrors/nixpkgs

lighthouse: fix validator service not setting arguments properly

This commit is contained in:
Olaf Tomalka 2022-12-16 01:11:14 +01:00 committed by Yt
parent 5eb3cbe103
commit 813a0ef809

View file

@ -280,7 +280,7 @@ in {
${pkgs.lighthouse}/bin/lighthouse validator_client \
--network ${cfg.network} \
--beacon-nodes ${lib.concatStringsSep "," cfg.validator.beaconNodes} \
--datadir ${cfg.validator.dataDir}/${cfg.network}
--datadir ${cfg.validator.dataDir}/${cfg.network} \
${optionalString cfg.validator.metrics.enable ''--metrics --metrics-address ${cfg.validator.metrics.address} --metrics-port ${toString cfg.validator.metrics.port}''} \
${cfg.extraArgs} ${cfg.validator.extraArgs}
'';