Skip to content

Commit b6fe6cd

Browse files
committed
build: provide path to jormungandr bin in entrypoint
1 parent 14f568e commit b6fe6cd

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

nix/jormungandr/containers.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
std.lib.ops.mkStandardOCI {
1313
inherit operable;
1414
name = "${constants.registry}/${name}";
15+
debug = true;
1516
};
1617
in {
1718
jormungandr = mkOCI "jormungandr";

nix/jormungandr/operables.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,15 @@ in {
5555
5656
if [ -n "$PRIVATE" ]; then
5757
echo "Running with node with secrets..."
58-
exec jormungandr \
58+
exec ${l.getExe package} \
5959
--storage "$STORAGE_DIR" \
6060
--config "$NOMAD_TASK_DIR/running.yaml" \
6161
--genesis-block "artifacts/block0.bin" \
6262
--secret "$NOMAD_SECRETS_DIR/bft-secret.yaml" \
6363
"$@" || true
6464
else
6565
echo "Running with follower node..."
66-
exec jormungandr \
66+
exec ${l.getExe package} \
6767
--storage "$STORAGE_DIR" \
6868
--config "$NOMAD_TASK_DIR/running.yaml" \
6969
--genesis-block "artifacts/block0.bin" \

0 commit comments

Comments
 (0)