Skip to content

Commit 7e2ac1d

Browse files
committed
haskell.nix: supply cardano-tracer to trace-dispatcher-test
1 parent f48e9f9 commit 7e2ac1d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Diff for: nix/haskell.nix

+6
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,12 @@ haskell-nix.cabalProject' ({ pkgs
128128
export CARDANO_CLI=${config.hsPkgs.cardano-cli.components.exes.cardano-cli}/bin/cardano-cli${pkgs.stdenv.hostPlatform.extensions.executable}
129129
export CARDANO_NODE_SRC=${src}
130130
";
131+
packages.trace-dispatcher.components.tests.trace-dispatcher-test.preCheck =
132+
let
133+
cmp = config.hsPkgs.cardano-tracer.components.exes.cardano-tracer;
134+
deps = cmp.executableToolDepends;
135+
in
136+
''PATH=${lib.makeBinPath deps}:$PATH'';
131137
packages.cardano-node-chairman.components.tests.chairman-tests.build-tools =
132138
lib.mkForce [
133139
pkgs.lsof

0 commit comments

Comments
 (0)