Skip to content

Commit 57e228c

Browse files
authored
Merge pull request #6302 from IntersectMBO/bench-master
bench: fixes
2 parents f1dcd6b + b7b8664 commit 57e228c

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

nix/workbench/backend/nomad.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,9 +166,9 @@ let
166166
};
167167
tx-generator = rec {
168168
# Local reference only used if not "cloud".
169-
nix-store-path = pkgs.cardanoNodePackages.tx-generator;
169+
nix-store-path = pkgs.cardanoNodePackages.tx-generator.passthru.noGitRev;
170170
flake-reference = "github:intersectmbo/cardano-node";
171-
flake-output = "cardanoNodePackages.tx-generator";
171+
flake-output = "cardanoNodePackages.tx-generator.passthru.noGitRev";
172172
};
173173
}
174174
;

nix/workbench/backend/nomad/cloud.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ let
2525
else (import ./patch.nix {})
2626
)
2727
# Amazon S3 HTTP to upload/download the genesis tar file.
28-
pkgs.awscli
28+
pkgs.awscli2
2929
# Used to download the logs.
3030
pkgs.rsync
3131
]

nix/workbench/service/generator.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ let
5757
;
5858
} // optionalAttrs profile.node.tracer {
5959
tracerSocketPath = "../tracer/tracer.socket";
60+
} // optionalAttrs (!backend.useCabalRun) {
61+
# Use to `noGitRev` to avoid rebuilding on every commit.
62+
executable = "${pkgs.cardanoNodePackages.tx-generator.passthru.noGitRev}/bin/tx-generator";
6063
} // optionalAttrs backend.useCabalRun {
6164
executable = "tx-generator";
6265
});

0 commit comments

Comments
 (0)