Skip to content

Commit 40a2b39

Browse files
committed
chore: update operables to accomodate local-config
1 parent 9b7c1d0 commit 40a2b39

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

nix/cardano-services/operables.nix

+5-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,11 @@ in {
1818
export CARDANO_NODE_CONFIGS_DIR="${cardanoServicesPath package}/config/network"
1919
2020
if [ -n "$NETWORK" ]; then
21-
export CARDANO_NODE_CONFIG_PATH="$CARDANO_NODE_CONFIGS_DIR/''${NETWORK}/cardano-node/config.json"
21+
if [ "$NETWORK" = "local-network" ]; then
22+
export CARDANO_NODE_CONFIG_PATH="/config/network/cardano-node/config.json"
23+
else
24+
export CARDANO_NODE_CONFIG_PATH="$CARDANO_NODE_CONFIGS_DIR/''${NETWORK}/cardano-node/config.json"
25+
fi
2226
fi
2327
2428
exec $CLI "$@"

0 commit comments

Comments
 (0)