Skip to content

Commit

Permalink
cardano-node-test: add mainnet config files
Browse files Browse the repository at this point in the history
  • Loading branch information
disassembler committed May 31, 2023
1 parent 56e157a commit d174cb3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions nix/haskell.nix
Expand Up @@ -173,6 +173,14 @@ let
export CARDANO_NODE_SRC=${filteredProjectBase}
'';
# cardano-testnet depends on cardano-node, cardano-cli, cardano-submit-api and some config files
packages.cardano-node.components.tests.cardano-node-test.preCheck =
let
# This define files included in the directory that will be passed to `H.getProjectBase` for this test:
filteredProjectBase = incl ../. mainnetConfigFiles;
in
''
export CARDANO_NODE_SRC=${filteredProjectBase}
'';
packages.cardano-testnet.preCheck =
let
# This define files included in the directory that will be passed to `H.getProjectBase` for this test:
Expand Down

0 comments on commit d174cb3

Please sign in to comment.