nixos/lighthouse: use lib.getExe

This commit is contained in:
Rolf Schröder 2024-10-31 06:58:10 +01:00
parent b6a0bf0b62
commit 498a3fb874

View File

@ -237,7 +237,7 @@ in
# make sure the chain data directory is created on first run
mkdir -p ${cfg.beacon.dataDir}/${cfg.network}
${cfg.package}/bin/lighthouse beacon_node \
${lib.getExe cfg.package} beacon_node \
--disable-upnp \
${lib.optionalString cfg.beacon.disableDepositContractSync "--disable-deposit-contract-sync"} \
--port ${toString cfg.beacon.port} \