Skip to content

Commit

Permalink
nix: Move restore benchmark from byron to shelley package
Browse files Browse the repository at this point in the history
  • Loading branch information
rvl committed Jul 31, 2020
1 parent 996ec86 commit 5d5c505
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nix/haskell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ let
# Add cardano-node to the PATH of the byroon restore benchmark.
# cardano-node will want to write logs to a subdirectory of the working directory.
# We don't `cd $src` because of that.
packages.cardano-wallet-byron.components.benchmarks.restore =
packages.cardano-wallet-shelley.components.benchmarks.restore =
lib.optionalAttrs (!stdenv.hostPlatform.isWindows) {
build-tools = [ pkgs.makeWrapper ];
postInstall = ''
Expand Down Expand Up @@ -213,7 +213,7 @@ let
enableLibraryProfiling = true;
packages.cardano-wallet-shelley.components.exes.cardano-wallet-shelley.enableExecutableProfiling = true;
packages.cardano-wallet-byron.components.exes.cardano-wallet-byron.enableExecutableProfiling = true;
packages.cardano-wallet-byron.components.benchmarks.restore.enableExecutableProfiling = true;
packages.cardano-wallet-shelley.components.benchmarks.restore.enableExecutableProfiling = true;
packages.cardano-wallet-byron.components.benchmarks.latency.enableExecutableProfiling = true;
packages.cardano-wallet-jormungandr.components.exes.cardano-wallet-jormungandr.enableExecutableProfiling = true;
})
Expand All @@ -231,10 +231,10 @@ let
in {
# Apply fully static options to our Haskell executables
packages.cardano-wallet-byron.components.benchmarks.latency = fullyStaticOptions;
packages.cardano-wallet-byron.components.benchmarks.restore = fullyStaticOptions;
packages.cardano-wallet-byron.components.exes.cardano-wallet-byron = fullyStaticOptions;
packages.cardano-wallet-byron.components.tests.integration = fullyStaticOptions;
packages.cardano-wallet-byron.components.tests.unit = fullyStaticOptions;
packages.cardano-wallet-shelley.components.benchmarks.restore = fullyStaticOptions;
packages.cardano-wallet-shelley.components.exes.cardano-wallet-shelley = fullyStaticOptions;
packages.cardano-wallet-shelley.components.tests.integration = fullyStaticOptions;
packages.cardano-wallet-shelley.components.tests.unit = fullyStaticOptions;
Expand Down

0 comments on commit 5d5c505

Please sign in to comment.