From 7a0db1123498a5589d0300bf4e30068c29fbb993 Mon Sep 17 00:00:00 2001 From: Johannes Lund Date: Thu, 3 Mar 2022 21:05:13 +0100 Subject: [PATCH 1/5] Bump cardano-node to 1.34.1 --- README.md | 2 +- .../Cardano/Wallet/Shelley/Network/Node.hs | 8 +- .../stack-nix/.stack-to-nix.cache | 121 +++--- .../stack-nix/.stack-to-nix.cache.100 | 74 ---- .../stack-nix/.stack-to-nix.cache.37 | 5 +- .../stack-nix/.stack-to-nix.cache.38 | 9 +- .../stack-nix/.stack-to-nix.cache.39 | 12 +- .../stack-nix/.stack-to-nix.cache.40 | 94 +---- .../stack-nix/.stack-to-nix.cache.41 | 95 ++++- .../stack-nix/.stack-to-nix.cache.42 | 47 +-- .../stack-nix/.stack-to-nix.cache.43 | 58 ++- .../stack-nix/.stack-to-nix.cache.44 | 42 +- .../stack-nix/.stack-to-nix.cache.45 | 56 +-- .../stack-nix/.stack-to-nix.cache.46 | 148 ++----- .../stack-nix/.stack-to-nix.cache.47 | 144 +++++-- .../stack-nix/.stack-to-nix.cache.48 | 65 +-- .../stack-nix/.stack-to-nix.cache.49 | 38 +- .../stack-nix/.stack-to-nix.cache.50 | 88 +--- .../stack-nix/.stack-to-nix.cache.51 | 89 +++- .../stack-nix/.stack-to-nix.cache.52 | 24 +- .../stack-nix/.stack-to-nix.cache.53 | 56 +-- .../stack-nix/.stack-to-nix.cache.54 | 58 ++- .../stack-nix/.stack-to-nix.cache.55 | 29 +- .../stack-nix/.stack-to-nix.cache.56 | 53 +-- .../stack-nix/.stack-to-nix.cache.57 | 48 +-- .../stack-nix/.stack-to-nix.cache.58 | 40 +- .../stack-nix/.stack-to-nix.cache.59 | 26 +- .../stack-nix/.stack-to-nix.cache.60 | 35 +- .../stack-nix/.stack-to-nix.cache.61 | 96 +---- .../stack-nix/.stack-to-nix.cache.62 | 136 +++--- .../stack-nix/.stack-to-nix.cache.63 | 142 ++----- .../stack-nix/.stack-to-nix.cache.64 | 129 +++++- .../stack-nix/.stack-to-nix.cache.65 | 49 ++- .../stack-nix/.stack-to-nix.cache.66 | 61 +-- .../stack-nix/.stack-to-nix.cache.67 | 73 +++- .../stack-nix/.stack-to-nix.cache.68 | 34 +- .../stack-nix/.stack-to-nix.cache.69 | 55 +-- .../stack-nix/.stack-to-nix.cache.70 | 67 ++- .../stack-nix/.stack-to-nix.cache.71 | 69 ++-- .../stack-nix/.stack-to-nix.cache.72 | 193 +++------ .../stack-nix/.stack-to-nix.cache.73 | 141 ++++--- .../stack-nix/.stack-to-nix.cache.74 | 109 ++++- .../stack-nix/.stack-to-nix.cache.75 | 36 +- .../stack-nix/.stack-to-nix.cache.76 | 17 +- .../stack-nix/.stack-to-nix.cache.77 | 11 +- .../stack-nix/.stack-to-nix.cache.78 | 30 +- .../stack-nix/.stack-to-nix.cache.79 | 39 +- .../stack-nix/.stack-to-nix.cache.80 | 52 +-- .../stack-nix/.stack-to-nix.cache.81 | 58 ++- .../stack-nix/.stack-to-nix.cache.82 | 38 +- .../stack-nix/.stack-to-nix.cache.83 | 363 +++++++++++++--- .../stack-nix/.stack-to-nix.cache.84 | 127 ++---- .../stack-nix/.stack-to-nix.cache.85 | 134 +++--- .../stack-nix/.stack-to-nix.cache.86 | 273 ++---------- .../stack-nix/.stack-to-nix.cache.87 | 77 +--- .../stack-nix/.stack-to-nix.cache.88 | 68 +-- .../stack-nix/.stack-to-nix.cache.89 | 387 +----------------- .../stack-nix/.stack-to-nix.cache.90 | 96 +++-- .../stack-nix/.stack-to-nix.cache.91 | 83 +--- .../stack-nix/.stack-to-nix.cache.92 | 123 ++---- .../stack-nix/.stack-to-nix.cache.93 | 62 ++- .../stack-nix/.stack-to-nix.cache.94 | 73 ---- .../stack-nix/.stack-to-nix.cache.95 | 53 --- .../stack-nix/.stack-to-nix.cache.96 | 65 --- .../stack-nix/.stack-to-nix.cache.97 | 91 ---- .../stack-nix/.stack-to-nix.cache.98 | 40 -- .../stack-nix/.stack-to-nix.cache.99 | 67 --- nix/sha256map.nix | 8 +- stack.yaml | 17 +- 69 files changed, 2232 insertions(+), 3174 deletions(-) delete mode 100644 nix/materialized/stack-nix/.stack-to-nix.cache.100 delete mode 100644 nix/materialized/stack-nix/.stack-to-nix.cache.94 delete mode 100644 nix/materialized/stack-nix/.stack-to-nix.cache.95 delete mode 100644 nix/materialized/stack-nix/.stack-to-nix.cache.96 delete mode 100644 nix/materialized/stack-nix/.stack-to-nix.cache.97 delete mode 100644 nix/materialized/stack-nix/.stack-to-nix.cache.98 delete mode 100644 nix/materialized/stack-nix/.stack-to-nix.cache.99 diff --git a/README.md b/README.md index 961b2967d4d..03994e4cfe4 100644 --- a/README.md +++ b/README.md @@ -71,7 +71,7 @@ See **Installation Instructions** for each available [release](https://github.co > > | cardano-wallet | cardano-node (compatible versions) | SMASH (compatible versions) > | --- | --- | --- -> | `master` branch | [1.33.0](https://github.com/input-output-hk/cardano-node/releases/tag/1.33.0) | [1.6.1](https://github.com/input-output-hk/smash/releases/tag/1.6.1) +> | `master` branch | [1.34.1](https://github.com/input-output-hk/cardano-node/releases/tag/1.34.1) | [1.6.1](https://github.com/input-output-hk/smash/releases/tag/1.6.1) > | [v2022-01-18](https://github.com/input-output-hk/cardano-wallet/releases/tag/v2022-01-18) | [1.33.0](https://github.com/input-output-hk/cardano-node/releases/tag/1.33.0) | [1.6.1](https://github.com/input-output-hk/smash/releases/tag/1.6.1) > | [v2021-12-15](https://github.com/input-output-hk/cardano-wallet/releases/tag/v2021-12-15) | [1.32.1](https://github.com/input-output-hk/cardano-node/releases/tag/1.32.1) | [1.6.1](https://github.com/input-output-hk/smash/releases/tag/1.6.1) > | [v2021-11-11](https://github.com/input-output-hk/cardano-wallet/releases/tag/v2021-11-11) | [1.30.1](https://github.com/input-output-hk/cardano-node/releases/tag/1.30.1) | [1.6.1](https://github.com/input-output-hk/smash/releases/tag/1.6.1) diff --git a/lib/shelley/src/Cardano/Wallet/Shelley/Network/Node.hs b/lib/shelley/src/Cardano/Wallet/Shelley/Network/Node.hs index 2b99df350f2..2b5f78461f3 100644 --- a/lib/shelley/src/Cardano/Wallet/Shelley/Network/Node.hs +++ b/lib/shelley/src/Cardano/Wallet/Shelley/Network/Node.hs @@ -604,9 +604,10 @@ mkWalletClient tr follower cfg v = , localTxSubmissionProtocol = doNothingProtocol - , localStateQueryProtocol = doNothingProtocol + , localTxMonitorProtocol = + doNothingProtocol }) v -- | Construct a network client with the given communication channel, for the @@ -632,6 +633,9 @@ mkDelegationRewardsClient tr cfg queryRewardQ v = $ \channel -> runPeer tr' codec channel $ localStateQueryClientPeer $ localStateQuery queryRewardQ + + , localTxMonitorProtocol = + doNothingProtocol }) v where tr' = contramap (MsgLocalStateQuery DelegationRewardsClient) tr @@ -747,6 +751,8 @@ mkTipSyncClient tr np onPParamsUpdate onInterpreterUpdate onEraUpdate = do $ \channel -> runPeer tr' codec channel $ localStateQueryClientPeer $ localStateQuery localStateQueryQ + + , localTxMonitorProtocol = doNothingProtocol }) v return (client, snd <$> readTVar tipVar) -- FIXME: We can remove the era from the tip sync client now. diff --git a/nix/materialized/stack-nix/.stack-to-nix.cache b/nix/materialized/stack-nix/.stack-to-nix.cache index 49803f4981e..f98dc95e1ce 100644 --- a/nix/materialized/stack-nix/.stack-to-nix.cache +++ b/nix/materialized/stack-nix/.stack-to-nix.cache @@ -35,67 +35,60 @@ https://github.com/input-output-hk/cardano-ledger 1a9ec4ae9e0b09d54e49b2a40c4ead https://github.com/input-output-hk/cardano-ledger 1a9ec4ae9e0b09d54e49b2a40c4ead37edadcce5 libs/small-steps 0avzyiqq0m8njd41ck9kpn992yq676b1az9xs77977h7cf85y4wm small-steps .stack-to-nix.cache.34 https://github.com/input-output-hk/cardano-ledger 1a9ec4ae9e0b09d54e49b2a40c4ead37edadcce5 libs/small-steps-test 0avzyiqq0m8njd41ck9kpn992yq676b1az9xs77977h7cf85y4wm small-steps-test .stack-to-nix.cache.35 https://github.com/input-output-hk/cardano-ledger 1a9ec4ae9e0b09d54e49b2a40c4ead37edadcce5 libs/non-integral 0avzyiqq0m8njd41ck9kpn992yq676b1az9xs77977h7cf85y4wm non-integral .stack-to-nix.cache.36 -https://github.com/input-output-hk/cardano-node 814df2c146f5d56f8c35a681fe75e85b905aed5d cardano-api 1hr00wqzmcyc3x0kp2hyw78rfmimf6z4zd4vv85b9zv3nqbjgrik cardano-api .stack-to-nix.cache.37 -https://github.com/input-output-hk/cardano-node 814df2c146f5d56f8c35a681fe75e85b905aed5d cardano-cli 1hr00wqzmcyc3x0kp2hyw78rfmimf6z4zd4vv85b9zv3nqbjgrik cardano-cli .stack-to-nix.cache.38 -https://github.com/input-output-hk/cardano-node 814df2c146f5d56f8c35a681fe75e85b905aed5d cardano-node 1hr00wqzmcyc3x0kp2hyw78rfmimf6z4zd4vv85b9zv3nqbjgrik cardano-node .stack-to-nix.cache.39 -https://github.com/input-output-hk/cardano-node 814df2c146f5d56f8c35a681fe75e85b905aed5d trace-dispatcher 1hr00wqzmcyc3x0kp2hyw78rfmimf6z4zd4vv85b9zv3nqbjgrik trace-dispatcher .stack-to-nix.cache.40 -https://github.com/input-output-hk/cardano-node 814df2c146f5d56f8c35a681fe75e85b905aed5d trace-resources 1hr00wqzmcyc3x0kp2hyw78rfmimf6z4zd4vv85b9zv3nqbjgrik trace-resources .stack-to-nix.cache.41 -https://github.com/input-output-hk/cardano-node 814df2c146f5d56f8c35a681fe75e85b905aed5d trace-forward 1hr00wqzmcyc3x0kp2hyw78rfmimf6z4zd4vv85b9zv3nqbjgrik trace-forward .stack-to-nix.cache.42 -https://github.com/input-output-hk/cardano-prelude bb4ed71ba8e587f672d06edf9d2e376f4b055555 cardano-prelude 00h10l5mmiza9819p9v5q5749nb9pzgi20vpzpy1d34zmh6gf1cj cardano-prelude .stack-to-nix.cache.43 -https://github.com/input-output-hk/cardano-prelude bb4ed71ba8e587f672d06edf9d2e376f4b055555 cardano-prelude-test 00h10l5mmiza9819p9v5q5749nb9pzgi20vpzpy1d34zmh6gf1cj cardano-prelude-test .stack-to-nix.cache.44 -https://github.com/input-output-hk/cardano-sl-x509 12925934c533b3a6e009b61ede555f8f26bac037 . 1kma25g8sl6m3pgsihja7fysmv6vjdfc0x7dyky9g5z156sh8z7i cardano-sl-x509 .stack-to-nix.cache.45 -https://github.com/input-output-hk/flat ee59880f47ab835dbd73bea0847dab7869fc20d8 . 1lrzknw765pz2j97nvv9ip3l1mcpf2zr4n56hwlz0rk7wq7ls4cm flat .stack-to-nix.cache.46 -https://github.com/input-output-hk/goblins cde90a2b27f79187ca8310b6549331e59595e7ba . 17c88rbva3iw82yg9srlxjv2ia5wjb9cyqw44hik565f5v9svnyg goblins .stack-to-nix.cache.47 -https://github.com/input-output-hk/hedgehog-extras edf6945007177a638fbeb8802397f3a6f4e47c14 . 0wc7qzkc7j4ns2rz562h6qrx2f8xyq7yjcb7zidnj7f6j0pcd0i9 hedgehog-extras .stack-to-nix.cache.48 -https://github.com/input-output-hk/iohk-monitoring-framework 808724ff8a19a33d0ed06f9ef59fbd900b08553c contra-tracer 0298dpl29gxzs9as9ha6y0w18hqwc00ipa3hzkxv7nlfrjjz8hmz contra-tracer .stack-to-nix.cache.49 -https://github.com/input-output-hk/iohk-monitoring-framework 808724ff8a19a33d0ed06f9ef59fbd900b08553c iohk-monitoring 0298dpl29gxzs9as9ha6y0w18hqwc00ipa3hzkxv7nlfrjjz8hmz iohk-monitoring .stack-to-nix.cache.50 -https://github.com/input-output-hk/iohk-monitoring-framework 808724ff8a19a33d0ed06f9ef59fbd900b08553c plugins/backend-aggregation 0298dpl29gxzs9as9ha6y0w18hqwc00ipa3hzkxv7nlfrjjz8hmz lobemo-backend-aggregation .stack-to-nix.cache.51 -https://github.com/input-output-hk/iohk-monitoring-framework 808724ff8a19a33d0ed06f9ef59fbd900b08553c plugins/backend-ekg 0298dpl29gxzs9as9ha6y0w18hqwc00ipa3hzkxv7nlfrjjz8hmz lobemo-backend-ekg .stack-to-nix.cache.52 -https://github.com/input-output-hk/iohk-monitoring-framework 808724ff8a19a33d0ed06f9ef59fbd900b08553c plugins/backend-monitoring 0298dpl29gxzs9as9ha6y0w18hqwc00ipa3hzkxv7nlfrjjz8hmz lobemo-backend-monitoring .stack-to-nix.cache.53 -https://github.com/input-output-hk/iohk-monitoring-framework 808724ff8a19a33d0ed06f9ef59fbd900b08553c plugins/backend-trace-forwarder 0298dpl29gxzs9as9ha6y0w18hqwc00ipa3hzkxv7nlfrjjz8hmz lobemo-backend-trace-forwarder .stack-to-nix.cache.54 -https://github.com/input-output-hk/iohk-monitoring-framework 808724ff8a19a33d0ed06f9ef59fbd900b08553c plugins/scribe-systemd 0298dpl29gxzs9as9ha6y0w18hqwc00ipa3hzkxv7nlfrjjz8hmz lobemo-scribe-systemd .stack-to-nix.cache.55 -https://github.com/input-output-hk/iohk-monitoring-framework 808724ff8a19a33d0ed06f9ef59fbd900b08553c tracer-transformers 0298dpl29gxzs9as9ha6y0w18hqwc00ipa3hzkxv7nlfrjjz8hmz tracer-transformers .stack-to-nix.cache.56 -https://github.com/shmish111/purescript-bridge.git 6a92d7853ea514be8b70bab5e72077bf5a510596 . 13j64vv116in3c204qsl1v0ajphac9fqvsjp7x3zzfr7n7g61drb purescript-bridge .stack-to-nix.cache.57 -https://github.com/input-output-hk/ouroboros-network d2d219a86cda42787325bb8c20539a75c2667132 io-classes 18xk7r0h2pxrbx76d6flsxifh0a9rz1cj1rjqs1pbs5kdmy8b7kx io-classes .stack-to-nix.cache.58 -https://github.com/input-output-hk/ouroboros-network d2d219a86cda42787325bb8c20539a75c2667132 io-sim 18xk7r0h2pxrbx76d6flsxifh0a9rz1cj1rjqs1pbs5kdmy8b7kx io-sim .stack-to-nix.cache.59 -https://github.com/input-output-hk/ouroboros-network d2d219a86cda42787325bb8c20539a75c2667132 monoidal-synchronisation 18xk7r0h2pxrbx76d6flsxifh0a9rz1cj1rjqs1pbs5kdmy8b7kx monoidal-synchronisation .stack-to-nix.cache.60 -https://github.com/input-output-hk/ouroboros-network d2d219a86cda42787325bb8c20539a75c2667132 network-mux 18xk7r0h2pxrbx76d6flsxifh0a9rz1cj1rjqs1pbs5kdmy8b7kx network-mux .stack-to-nix.cache.61 -https://github.com/input-output-hk/ouroboros-network d2d219a86cda42787325bb8c20539a75c2667132 ouroboros-consensus 18xk7r0h2pxrbx76d6flsxifh0a9rz1cj1rjqs1pbs5kdmy8b7kx ouroboros-consensus .stack-to-nix.cache.62 -https://github.com/input-output-hk/ouroboros-network d2d219a86cda42787325bb8c20539a75c2667132 ouroboros-consensus-test 18xk7r0h2pxrbx76d6flsxifh0a9rz1cj1rjqs1pbs5kdmy8b7kx ouroboros-consensus-test .stack-to-nix.cache.63 -https://github.com/input-output-hk/ouroboros-network d2d219a86cda42787325bb8c20539a75c2667132 ouroboros-consensus-byron 18xk7r0h2pxrbx76d6flsxifh0a9rz1cj1rjqs1pbs5kdmy8b7kx ouroboros-consensus-byron .stack-to-nix.cache.64 -https://github.com/input-output-hk/ouroboros-network d2d219a86cda42787325bb8c20539a75c2667132 ouroboros-consensus-byronspec 18xk7r0h2pxrbx76d6flsxifh0a9rz1cj1rjqs1pbs5kdmy8b7kx ouroboros-consensus-byronspec .stack-to-nix.cache.65 -https://github.com/input-output-hk/ouroboros-network d2d219a86cda42787325bb8c20539a75c2667132 ouroboros-consensus-byron-test 18xk7r0h2pxrbx76d6flsxifh0a9rz1cj1rjqs1pbs5kdmy8b7kx ouroboros-consensus-byron-test .stack-to-nix.cache.66 -https://github.com/input-output-hk/ouroboros-network d2d219a86cda42787325bb8c20539a75c2667132 ouroboros-consensus-protocol 18xk7r0h2pxrbx76d6flsxifh0a9rz1cj1rjqs1pbs5kdmy8b7kx ouroboros-consensus-protocol .stack-to-nix.cache.67 -https://github.com/input-output-hk/ouroboros-network d2d219a86cda42787325bb8c20539a75c2667132 ouroboros-consensus-shelley 18xk7r0h2pxrbx76d6flsxifh0a9rz1cj1rjqs1pbs5kdmy8b7kx ouroboros-consensus-shelley .stack-to-nix.cache.68 -https://github.com/input-output-hk/ouroboros-network d2d219a86cda42787325bb8c20539a75c2667132 ouroboros-consensus-shelley-test 18xk7r0h2pxrbx76d6flsxifh0a9rz1cj1rjqs1pbs5kdmy8b7kx ouroboros-consensus-shelley-test .stack-to-nix.cache.69 -https://github.com/input-output-hk/ouroboros-network d2d219a86cda42787325bb8c20539a75c2667132 ouroboros-consensus-cardano 18xk7r0h2pxrbx76d6flsxifh0a9rz1cj1rjqs1pbs5kdmy8b7kx ouroboros-consensus-cardano .stack-to-nix.cache.70 -https://github.com/input-output-hk/ouroboros-network d2d219a86cda42787325bb8c20539a75c2667132 ouroboros-consensus-cardano-test 18xk7r0h2pxrbx76d6flsxifh0a9rz1cj1rjqs1pbs5kdmy8b7kx ouroboros-consensus-cardano-test .stack-to-nix.cache.71 -https://github.com/input-output-hk/ouroboros-network d2d219a86cda42787325bb8c20539a75c2667132 ouroboros-network 18xk7r0h2pxrbx76d6flsxifh0a9rz1cj1rjqs1pbs5kdmy8b7kx ouroboros-network .stack-to-nix.cache.72 -https://github.com/input-output-hk/ouroboros-network d2d219a86cda42787325bb8c20539a75c2667132 ouroboros-network-framework 18xk7r0h2pxrbx76d6flsxifh0a9rz1cj1rjqs1pbs5kdmy8b7kx ouroboros-network-framework .stack-to-nix.cache.73 -https://github.com/input-output-hk/ouroboros-network d2d219a86cda42787325bb8c20539a75c2667132 ouroboros-network-testing 18xk7r0h2pxrbx76d6flsxifh0a9rz1cj1rjqs1pbs5kdmy8b7kx ouroboros-network-testing .stack-to-nix.cache.74 -https://github.com/input-output-hk/ouroboros-network d2d219a86cda42787325bb8c20539a75c2667132 strict-stm 18xk7r0h2pxrbx76d6flsxifh0a9rz1cj1rjqs1pbs5kdmy8b7kx strict-stm .stack-to-nix.cache.75 -https://github.com/input-output-hk/ouroboros-network d2d219a86cda42787325bb8c20539a75c2667132 typed-protocols 18xk7r0h2pxrbx76d6flsxifh0a9rz1cj1rjqs1pbs5kdmy8b7kx typed-protocols .stack-to-nix.cache.76 -https://github.com/input-output-hk/ouroboros-network d2d219a86cda42787325bb8c20539a75c2667132 typed-protocols-cborg 18xk7r0h2pxrbx76d6flsxifh0a9rz1cj1rjqs1pbs5kdmy8b7kx typed-protocols-cborg .stack-to-nix.cache.77 -https://github.com/input-output-hk/ouroboros-network d2d219a86cda42787325bb8c20539a75c2667132 typed-protocols-examples 18xk7r0h2pxrbx76d6flsxifh0a9rz1cj1rjqs1pbs5kdmy8b7kx typed-protocols-examples .stack-to-nix.cache.78 -https://github.com/input-output-hk/ouroboros-network d2d219a86cda42787325bb8c20539a75c2667132 cardano-client 18xk7r0h2pxrbx76d6flsxifh0a9rz1cj1rjqs1pbs5kdmy8b7kx cardano-client .stack-to-nix.cache.79 -https://github.com/input-output-hk/ouroboros-network d2d219a86cda42787325bb8c20539a75c2667132 ntp-client 18xk7r0h2pxrbx76d6flsxifh0a9rz1cj1rjqs1pbs5kdmy8b7kx ntp-client .stack-to-nix.cache.80 -https://github.com/input-output-hk/ouroboros-network d2d219a86cda42787325bb8c20539a75c2667132 ouroboros-consensus-mock 18xk7r0h2pxrbx76d6flsxifh0a9rz1cj1rjqs1pbs5kdmy8b7kx ouroboros-consensus-mock .stack-to-nix.cache.81 -https://github.com/input-output-hk/plutus 1efbb276ef1a10ca6961d0fd32e6141e9798bd11 freer-extras 1jicyk4hr8p0xksj4048gdxndrb42jz4wsnkhc3ymxbm5v6snalf freer-extras .stack-to-nix.cache.82 -https://github.com/input-output-hk/plutus 1efbb276ef1a10ca6961d0fd32e6141e9798bd11 playground-common 1jicyk4hr8p0xksj4048gdxndrb42jz4wsnkhc3ymxbm5v6snalf playground-common .stack-to-nix.cache.83 -https://github.com/input-output-hk/plutus 1efbb276ef1a10ca6961d0fd32e6141e9798bd11 plutus-chain-index 1jicyk4hr8p0xksj4048gdxndrb42jz4wsnkhc3ymxbm5v6snalf plutus-chain-index .stack-to-nix.cache.84 -https://github.com/input-output-hk/plutus 1efbb276ef1a10ca6961d0fd32e6141e9798bd11 plutus-contract 1jicyk4hr8p0xksj4048gdxndrb42jz4wsnkhc3ymxbm5v6snalf plutus-contract .stack-to-nix.cache.85 -https://github.com/input-output-hk/plutus 1efbb276ef1a10ca6961d0fd32e6141e9798bd11 plutus-core 1jicyk4hr8p0xksj4048gdxndrb42jz4wsnkhc3ymxbm5v6snalf plutus-core .stack-to-nix.cache.86 -https://github.com/input-output-hk/plutus 1efbb276ef1a10ca6961d0fd32e6141e9798bd11 plutus-ledger 1jicyk4hr8p0xksj4048gdxndrb42jz4wsnkhc3ymxbm5v6snalf plutus-ledger .stack-to-nix.cache.87 -https://github.com/input-output-hk/plutus 1efbb276ef1a10ca6961d0fd32e6141e9798bd11 plutus-ledger-api 1jicyk4hr8p0xksj4048gdxndrb42jz4wsnkhc3ymxbm5v6snalf plutus-ledger-api .stack-to-nix.cache.88 -https://github.com/input-output-hk/plutus 1efbb276ef1a10ca6961d0fd32e6141e9798bd11 plutus-pab 1jicyk4hr8p0xksj4048gdxndrb42jz4wsnkhc3ymxbm5v6snalf plutus-pab .stack-to-nix.cache.89 -https://github.com/input-output-hk/plutus 1efbb276ef1a10ca6961d0fd32e6141e9798bd11 plutus-tx 1jicyk4hr8p0xksj4048gdxndrb42jz4wsnkhc3ymxbm5v6snalf plutus-tx .stack-to-nix.cache.90 -https://github.com/input-output-hk/plutus 1efbb276ef1a10ca6961d0fd32e6141e9798bd11 plutus-tx-plugin 1jicyk4hr8p0xksj4048gdxndrb42jz4wsnkhc3ymxbm5v6snalf plutus-tx-plugin .stack-to-nix.cache.91 -https://github.com/input-output-hk/plutus 1efbb276ef1a10ca6961d0fd32e6141e9798bd11 plutus-use-cases 1jicyk4hr8p0xksj4048gdxndrb42jz4wsnkhc3ymxbm5v6snalf plutus-use-cases .stack-to-nix.cache.92 -https://github.com/input-output-hk/plutus 1efbb276ef1a10ca6961d0fd32e6141e9798bd11 stubs/plutus-ghc-stub 1jicyk4hr8p0xksj4048gdxndrb42jz4wsnkhc3ymxbm5v6snalf plutus-ghc-stub .stack-to-nix.cache.93 -https://github.com/input-output-hk/plutus 1efbb276ef1a10ca6961d0fd32e6141e9798bd11 prettyprinter-configurable 1jicyk4hr8p0xksj4048gdxndrb42jz4wsnkhc3ymxbm5v6snalf prettyprinter-configurable .stack-to-nix.cache.94 -https://github.com/input-output-hk/plutus 1efbb276ef1a10ca6961d0fd32e6141e9798bd11 quickcheck-dynamic 1jicyk4hr8p0xksj4048gdxndrb42jz4wsnkhc3ymxbm5v6snalf quickcheck-dynamic .stack-to-nix.cache.95 -https://github.com/input-output-hk/plutus 1efbb276ef1a10ca6961d0fd32e6141e9798bd11 word-array 1jicyk4hr8p0xksj4048gdxndrb42jz4wsnkhc3ymxbm5v6snalf word-array .stack-to-nix.cache.96 -https://github.com/input-output-hk/ekg-forward 2adc8b698443bb10154304b24f6c1d6913bb65b9 . 0cyixq3jmq43zs1yzrycqw1klyjy0zxf1vifknnr1k9d6sc3zf6b ekg-forward .stack-to-nix.cache.97 -https://github.com/input-output-hk/cardano-config 1646e9167fab36c0bff82317743b96efa2d3adaa . 11kf65x38laqhwspsl28j2x5a4rky8mfr6356w0li5g53sfykmjc cardano-config .stack-to-nix.cache.98 -https://github.com/shmish111/servant-purescript.git a76104490499aa72d40c2790d10e9383e0dbde63 . 11nxxmi5bw66va7psvrgrw7b7n85fvqgfp58yva99w3v9q3a50v9 servant-purescript .stack-to-nix.cache.99 -https://github.com/input-output-hk/Win32-network 3825d3abf75f83f406c1f7161883c438dac7277d . 19wahfv726fa3mqajpqdqhnl9ica3xmf68i254q45iyjcpj1psqx Win32-network .stack-to-nix.cache.100 +https://github.com/input-output-hk/cardano-node 73f9a746362695dc2cb63ba757fbcabb81733d23 cardano-api 1hh53whcj5y9kw4qpkiza7rmkniz18r493vv4dzl1a8r5fy3b2bv cardano-api .stack-to-nix.cache.37 +https://github.com/input-output-hk/cardano-node 73f9a746362695dc2cb63ba757fbcabb81733d23 cardano-cli 1hh53whcj5y9kw4qpkiza7rmkniz18r493vv4dzl1a8r5fy3b2bv cardano-cli .stack-to-nix.cache.38 +https://github.com/input-output-hk/cardano-node 73f9a746362695dc2cb63ba757fbcabb81733d23 cardano-node 1hh53whcj5y9kw4qpkiza7rmkniz18r493vv4dzl1a8r5fy3b2bv cardano-node .stack-to-nix.cache.39 +https://github.com/input-output-hk/cardano-node 73f9a746362695dc2cb63ba757fbcabb81733d23 cardano-git-rev 1hh53whcj5y9kw4qpkiza7rmkniz18r493vv4dzl1a8r5fy3b2bv cardano-git-rev .stack-to-nix.cache.40 +https://github.com/input-output-hk/cardano-node 73f9a746362695dc2cb63ba757fbcabb81733d23 trace-dispatcher 1hh53whcj5y9kw4qpkiza7rmkniz18r493vv4dzl1a8r5fy3b2bv trace-dispatcher .stack-to-nix.cache.41 +https://github.com/input-output-hk/cardano-node 73f9a746362695dc2cb63ba757fbcabb81733d23 trace-resources 1hh53whcj5y9kw4qpkiza7rmkniz18r493vv4dzl1a8r5fy3b2bv trace-resources .stack-to-nix.cache.42 +https://github.com/input-output-hk/cardano-node 73f9a746362695dc2cb63ba757fbcabb81733d23 trace-forward 1hh53whcj5y9kw4qpkiza7rmkniz18r493vv4dzl1a8r5fy3b2bv trace-forward .stack-to-nix.cache.43 +https://github.com/input-output-hk/cardano-prelude bb4ed71ba8e587f672d06edf9d2e376f4b055555 cardano-prelude 00h10l5mmiza9819p9v5q5749nb9pzgi20vpzpy1d34zmh6gf1cj cardano-prelude .stack-to-nix.cache.44 +https://github.com/input-output-hk/cardano-prelude bb4ed71ba8e587f672d06edf9d2e376f4b055555 cardano-prelude-test 00h10l5mmiza9819p9v5q5749nb9pzgi20vpzpy1d34zmh6gf1cj cardano-prelude-test .stack-to-nix.cache.45 +https://github.com/input-output-hk/cardano-sl-x509 12925934c533b3a6e009b61ede555f8f26bac037 . 1kma25g8sl6m3pgsihja7fysmv6vjdfc0x7dyky9g5z156sh8z7i cardano-sl-x509 .stack-to-nix.cache.46 +https://github.com/input-output-hk/flat ee59880f47ab835dbd73bea0847dab7869fc20d8 . 1lrzknw765pz2j97nvv9ip3l1mcpf2zr4n56hwlz0rk7wq7ls4cm flat .stack-to-nix.cache.47 +https://github.com/input-output-hk/goblins cde90a2b27f79187ca8310b6549331e59595e7ba . 17c88rbva3iw82yg9srlxjv2ia5wjb9cyqw44hik565f5v9svnyg goblins .stack-to-nix.cache.48 +https://github.com/input-output-hk/hedgehog-extras edf6945007177a638fbeb8802397f3a6f4e47c14 . 0wc7qzkc7j4ns2rz562h6qrx2f8xyq7yjcb7zidnj7f6j0pcd0i9 hedgehog-extras .stack-to-nix.cache.49 +https://github.com/input-output-hk/iohk-monitoring-framework 808724ff8a19a33d0ed06f9ef59fbd900b08553c contra-tracer 0298dpl29gxzs9as9ha6y0w18hqwc00ipa3hzkxv7nlfrjjz8hmz contra-tracer .stack-to-nix.cache.50 +https://github.com/input-output-hk/iohk-monitoring-framework 808724ff8a19a33d0ed06f9ef59fbd900b08553c iohk-monitoring 0298dpl29gxzs9as9ha6y0w18hqwc00ipa3hzkxv7nlfrjjz8hmz iohk-monitoring .stack-to-nix.cache.51 +https://github.com/input-output-hk/iohk-monitoring-framework 808724ff8a19a33d0ed06f9ef59fbd900b08553c plugins/backend-aggregation 0298dpl29gxzs9as9ha6y0w18hqwc00ipa3hzkxv7nlfrjjz8hmz lobemo-backend-aggregation .stack-to-nix.cache.52 +https://github.com/input-output-hk/iohk-monitoring-framework 808724ff8a19a33d0ed06f9ef59fbd900b08553c plugins/backend-ekg 0298dpl29gxzs9as9ha6y0w18hqwc00ipa3hzkxv7nlfrjjz8hmz lobemo-backend-ekg .stack-to-nix.cache.53 +https://github.com/input-output-hk/iohk-monitoring-framework 808724ff8a19a33d0ed06f9ef59fbd900b08553c plugins/backend-monitoring 0298dpl29gxzs9as9ha6y0w18hqwc00ipa3hzkxv7nlfrjjz8hmz lobemo-backend-monitoring .stack-to-nix.cache.54 +https://github.com/input-output-hk/iohk-monitoring-framework 808724ff8a19a33d0ed06f9ef59fbd900b08553c plugins/backend-trace-forwarder 0298dpl29gxzs9as9ha6y0w18hqwc00ipa3hzkxv7nlfrjjz8hmz lobemo-backend-trace-forwarder .stack-to-nix.cache.55 +https://github.com/input-output-hk/iohk-monitoring-framework 808724ff8a19a33d0ed06f9ef59fbd900b08553c plugins/scribe-systemd 0298dpl29gxzs9as9ha6y0w18hqwc00ipa3hzkxv7nlfrjjz8hmz lobemo-scribe-systemd .stack-to-nix.cache.56 +https://github.com/input-output-hk/iohk-monitoring-framework 808724ff8a19a33d0ed06f9ef59fbd900b08553c tracer-transformers 0298dpl29gxzs9as9ha6y0w18hqwc00ipa3hzkxv7nlfrjjz8hmz tracer-transformers .stack-to-nix.cache.57 +https://github.com/shmish111/purescript-bridge.git 6a92d7853ea514be8b70bab5e72077bf5a510596 . 13j64vv116in3c204qsl1v0ajphac9fqvsjp7x3zzfr7n7g61drb purescript-bridge .stack-to-nix.cache.58 +https://github.com/input-output-hk/ouroboros-network 4fac197b6f0d2ff60dc3486c593b68dc00969fbf io-classes 1b43vbdsr9m3ry1kgag2p2ixpv54gw7a4vvmndxl6knqg8qbsb8b io-classes .stack-to-nix.cache.59 +https://github.com/input-output-hk/ouroboros-network 4fac197b6f0d2ff60dc3486c593b68dc00969fbf io-sim 1b43vbdsr9m3ry1kgag2p2ixpv54gw7a4vvmndxl6knqg8qbsb8b io-sim .stack-to-nix.cache.60 +https://github.com/input-output-hk/ouroboros-network 4fac197b6f0d2ff60dc3486c593b68dc00969fbf monoidal-synchronisation 1b43vbdsr9m3ry1kgag2p2ixpv54gw7a4vvmndxl6knqg8qbsb8b monoidal-synchronisation .stack-to-nix.cache.61 +https://github.com/input-output-hk/ouroboros-network 4fac197b6f0d2ff60dc3486c593b68dc00969fbf network-mux 1b43vbdsr9m3ry1kgag2p2ixpv54gw7a4vvmndxl6knqg8qbsb8b network-mux .stack-to-nix.cache.62 +https://github.com/input-output-hk/ouroboros-network 4fac197b6f0d2ff60dc3486c593b68dc00969fbf ouroboros-consensus 1b43vbdsr9m3ry1kgag2p2ixpv54gw7a4vvmndxl6knqg8qbsb8b ouroboros-consensus .stack-to-nix.cache.63 +https://github.com/input-output-hk/ouroboros-network 4fac197b6f0d2ff60dc3486c593b68dc00969fbf ouroboros-consensus-test 1b43vbdsr9m3ry1kgag2p2ixpv54gw7a4vvmndxl6knqg8qbsb8b ouroboros-consensus-test .stack-to-nix.cache.64 +https://github.com/input-output-hk/ouroboros-network 4fac197b6f0d2ff60dc3486c593b68dc00969fbf ouroboros-consensus-byron 1b43vbdsr9m3ry1kgag2p2ixpv54gw7a4vvmndxl6knqg8qbsb8b ouroboros-consensus-byron .stack-to-nix.cache.65 +https://github.com/input-output-hk/ouroboros-network 4fac197b6f0d2ff60dc3486c593b68dc00969fbf ouroboros-consensus-byronspec 1b43vbdsr9m3ry1kgag2p2ixpv54gw7a4vvmndxl6knqg8qbsb8b ouroboros-consensus-byronspec .stack-to-nix.cache.66 +https://github.com/input-output-hk/ouroboros-network 4fac197b6f0d2ff60dc3486c593b68dc00969fbf ouroboros-consensus-byron-test 1b43vbdsr9m3ry1kgag2p2ixpv54gw7a4vvmndxl6knqg8qbsb8b ouroboros-consensus-byron-test .stack-to-nix.cache.67 +https://github.com/input-output-hk/ouroboros-network 4fac197b6f0d2ff60dc3486c593b68dc00969fbf ouroboros-consensus-protocol 1b43vbdsr9m3ry1kgag2p2ixpv54gw7a4vvmndxl6knqg8qbsb8b ouroboros-consensus-protocol .stack-to-nix.cache.68 +https://github.com/input-output-hk/ouroboros-network 4fac197b6f0d2ff60dc3486c593b68dc00969fbf ouroboros-consensus-shelley 1b43vbdsr9m3ry1kgag2p2ixpv54gw7a4vvmndxl6knqg8qbsb8b ouroboros-consensus-shelley .stack-to-nix.cache.69 +https://github.com/input-output-hk/ouroboros-network 4fac197b6f0d2ff60dc3486c593b68dc00969fbf ouroboros-consensus-shelley-test 1b43vbdsr9m3ry1kgag2p2ixpv54gw7a4vvmndxl6knqg8qbsb8b ouroboros-consensus-shelley-test .stack-to-nix.cache.70 +https://github.com/input-output-hk/ouroboros-network 4fac197b6f0d2ff60dc3486c593b68dc00969fbf ouroboros-consensus-cardano 1b43vbdsr9m3ry1kgag2p2ixpv54gw7a4vvmndxl6knqg8qbsb8b ouroboros-consensus-cardano .stack-to-nix.cache.71 +https://github.com/input-output-hk/ouroboros-network 4fac197b6f0d2ff60dc3486c593b68dc00969fbf ouroboros-consensus-cardano-test 1b43vbdsr9m3ry1kgag2p2ixpv54gw7a4vvmndxl6knqg8qbsb8b ouroboros-consensus-cardano-test .stack-to-nix.cache.72 +https://github.com/input-output-hk/ouroboros-network 4fac197b6f0d2ff60dc3486c593b68dc00969fbf ouroboros-network 1b43vbdsr9m3ry1kgag2p2ixpv54gw7a4vvmndxl6knqg8qbsb8b ouroboros-network .stack-to-nix.cache.73 +https://github.com/input-output-hk/ouroboros-network 4fac197b6f0d2ff60dc3486c593b68dc00969fbf ouroboros-network-framework 1b43vbdsr9m3ry1kgag2p2ixpv54gw7a4vvmndxl6knqg8qbsb8b ouroboros-network-framework .stack-to-nix.cache.74 +https://github.com/input-output-hk/ouroboros-network 4fac197b6f0d2ff60dc3486c593b68dc00969fbf ouroboros-network-testing 1b43vbdsr9m3ry1kgag2p2ixpv54gw7a4vvmndxl6knqg8qbsb8b ouroboros-network-testing .stack-to-nix.cache.75 +https://github.com/input-output-hk/ouroboros-network 4fac197b6f0d2ff60dc3486c593b68dc00969fbf strict-stm 1b43vbdsr9m3ry1kgag2p2ixpv54gw7a4vvmndxl6knqg8qbsb8b strict-stm .stack-to-nix.cache.76 +https://github.com/input-output-hk/ouroboros-network 4fac197b6f0d2ff60dc3486c593b68dc00969fbf typed-protocols 1b43vbdsr9m3ry1kgag2p2ixpv54gw7a4vvmndxl6knqg8qbsb8b typed-protocols .stack-to-nix.cache.77 +https://github.com/input-output-hk/ouroboros-network 4fac197b6f0d2ff60dc3486c593b68dc00969fbf typed-protocols-cborg 1b43vbdsr9m3ry1kgag2p2ixpv54gw7a4vvmndxl6knqg8qbsb8b typed-protocols-cborg .stack-to-nix.cache.78 +https://github.com/input-output-hk/ouroboros-network 4fac197b6f0d2ff60dc3486c593b68dc00969fbf typed-protocols-examples 1b43vbdsr9m3ry1kgag2p2ixpv54gw7a4vvmndxl6knqg8qbsb8b typed-protocols-examples .stack-to-nix.cache.79 +https://github.com/input-output-hk/ouroboros-network 4fac197b6f0d2ff60dc3486c593b68dc00969fbf cardano-client 1b43vbdsr9m3ry1kgag2p2ixpv54gw7a4vvmndxl6knqg8qbsb8b cardano-client .stack-to-nix.cache.80 +https://github.com/input-output-hk/ouroboros-network 4fac197b6f0d2ff60dc3486c593b68dc00969fbf ntp-client 1b43vbdsr9m3ry1kgag2p2ixpv54gw7a4vvmndxl6knqg8qbsb8b ntp-client .stack-to-nix.cache.81 +https://github.com/input-output-hk/ouroboros-network 4fac197b6f0d2ff60dc3486c593b68dc00969fbf ouroboros-consensus-mock 1b43vbdsr9m3ry1kgag2p2ixpv54gw7a4vvmndxl6knqg8qbsb8b ouroboros-consensus-mock .stack-to-nix.cache.82 +https://github.com/input-output-hk/plutus fc5fe94d3d9525d032bcbc79ff0e1ebcfd8ef143 plutus-core 1gnzhns44rzvf9cw84jaqajqqbi9xdcpyy2sapa890vwf796nigv plutus-core .stack-to-nix.cache.83 +https://github.com/input-output-hk/plutus fc5fe94d3d9525d032bcbc79ff0e1ebcfd8ef143 plutus-ledger-api 1gnzhns44rzvf9cw84jaqajqqbi9xdcpyy2sapa890vwf796nigv plutus-ledger-api .stack-to-nix.cache.84 +https://github.com/input-output-hk/plutus fc5fe94d3d9525d032bcbc79ff0e1ebcfd8ef143 plutus-tx 1gnzhns44rzvf9cw84jaqajqqbi9xdcpyy2sapa890vwf796nigv plutus-tx .stack-to-nix.cache.85 +https://github.com/input-output-hk/plutus fc5fe94d3d9525d032bcbc79ff0e1ebcfd8ef143 plutus-tx-plugin 1gnzhns44rzvf9cw84jaqajqqbi9xdcpyy2sapa890vwf796nigv plutus-tx-plugin .stack-to-nix.cache.86 +https://github.com/input-output-hk/plutus fc5fe94d3d9525d032bcbc79ff0e1ebcfd8ef143 stubs/plutus-ghc-stub 1gnzhns44rzvf9cw84jaqajqqbi9xdcpyy2sapa890vwf796nigv plutus-ghc-stub .stack-to-nix.cache.87 +https://github.com/input-output-hk/plutus fc5fe94d3d9525d032bcbc79ff0e1ebcfd8ef143 prettyprinter-configurable 1gnzhns44rzvf9cw84jaqajqqbi9xdcpyy2sapa890vwf796nigv prettyprinter-configurable .stack-to-nix.cache.88 +https://github.com/input-output-hk/plutus fc5fe94d3d9525d032bcbc79ff0e1ebcfd8ef143 word-array 1gnzhns44rzvf9cw84jaqajqqbi9xdcpyy2sapa890vwf796nigv word-array .stack-to-nix.cache.89 +https://github.com/input-output-hk/ekg-forward 297cd9db5074339a2fb2e5ae7d0780debb670c63 . 1zcwry3y5rmd9lgxy89wsb3k4kpffqji35dc7ghzbz603y1gy24g ekg-forward .stack-to-nix.cache.90 +https://github.com/input-output-hk/cardano-config 1646e9167fab36c0bff82317743b96efa2d3adaa . 11kf65x38laqhwspsl28j2x5a4rky8mfr6356w0li5g53sfykmjc cardano-config .stack-to-nix.cache.91 +https://github.com/shmish111/servant-purescript.git a76104490499aa72d40c2790d10e9383e0dbde63 . 11nxxmi5bw66va7psvrgrw7b7n85fvqgfp58yva99w3v9q3a50v9 servant-purescript .stack-to-nix.cache.92 +https://github.com/input-output-hk/Win32-network 3825d3abf75f83f406c1f7161883c438dac7277d . 19wahfv726fa3mqajpqdqhnl9ica3xmf68i254q45iyjcpj1psqx Win32-network .stack-to-nix.cache.93 diff --git a/nix/materialized/stack-nix/.stack-to-nix.cache.100 b/nix/materialized/stack-nix/.stack-to-nix.cache.100 deleted file mode 100644 index e7cc04d19e6..00000000000 --- a/nix/materialized/stack-nix/.stack-to-nix.cache.100 +++ /dev/null @@ -1,74 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - { - flags = { demo = false; }; - package = { - specVersion = "2.4"; - identifier = { name = "Win32-network"; version = "0.1.0.0"; }; - license = "Apache-2.0"; - copyright = "2019 Input Output (Hong Kong) Ltd."; - maintainer = "duncan@well-typed.com, marcin.szamotulski@iohk.io"; - author = "Duncan Coutts, Marcin Szamotulski"; - homepage = ""; - url = ""; - synopsis = "Win32 network API"; - description = ""; - buildType = "Simple"; - }; - components = { - "library" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - ] ++ (pkgs.lib).optionals (system.isWindows) [ - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."network" or (errorHandler.buildDepError "network")) - (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) - ]; - libs = (pkgs.lib).optional (system.isWindows) (pkgs."ws2_32" or (errorHandler.sysDepError "ws2_32")); - buildable = true; - }; - exes = { - "named-pipe-demo" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - ] ++ (pkgs.lib).optionals (system.isWindows) [ - (hsPkgs."binary" or (errorHandler.buildDepError "binary")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) - (hsPkgs."Win32-network" or (errorHandler.buildDepError "Win32-network")) - ]; - buildable = true; - }; - }; - tests = { - "test" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - ] ++ (pkgs.lib).optionals (system.isWindows) [ - (hsPkgs."async" or (errorHandler.buildDepError "async")) - (hsPkgs."binary" or (errorHandler.buildDepError "binary")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."network" or (errorHandler.buildDepError "network")) - (hsPkgs."stm" or (errorHandler.buildDepError "stm")) - (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) - (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) - (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) - (hsPkgs."quickcheck-instances" or (errorHandler.buildDepError "quickcheck-instances")) - (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) - (hsPkgs."Win32-network" or (errorHandler.buildDepError "Win32-network")) - ]; - buildable = true; - }; - }; - }; - } // rec { - src = (pkgs.lib).mkDefault /nix/store/jlbg3d6rcixbbvhpnh8383yv26l041gp-Win32-network-3825d3a; - } diff --git a/nix/materialized/stack-nix/.stack-to-nix.cache.37 b/nix/materialized/stack-nix/.stack-to-nix.cache.37 index 01e41358ad3..9dab910ce6d 100644 --- a/nix/materialized/stack-nix/.stack-to-nix.cache.37 +++ b/nix/materialized/stack-nix/.stack-to-nix.cache.37 @@ -11,7 +11,7 @@ flags = {}; package = { specVersion = "3.0"; - identifier = { name = "cardano-api"; version = "1.33.0"; }; + identifier = { name = "cardano-api"; version = "1.34.1"; }; license = "Apache-2.0"; copyright = ""; maintainer = "operations@iohk.io"; @@ -70,6 +70,7 @@ (hsPkgs."plutus-ledger-api" or (errorHandler.buildDepError "plutus-ledger-api")) (hsPkgs."prettyprinter" or (errorHandler.buildDepError "prettyprinter")) (hsPkgs."scientific" or (errorHandler.buildDepError "scientific")) + (hsPkgs."serialise" or (errorHandler.buildDepError "serialise")) (hsPkgs."small-steps" or (errorHandler.buildDepError "small-steps")) (hsPkgs."cardano-ledger-shelley" or (errorHandler.buildDepError "cardano-ledger-shelley")) (hsPkgs."stm" or (errorHandler.buildDepError "stm")) @@ -144,5 +145,5 @@ }; }; } // rec { - src = (pkgs.lib).mkDefault /nix/store/5v6m8vb6nqr07xqivmlshnc9b26pkm6d-cardano-node-814df2c/cardano-api; + src = (pkgs.lib).mkDefault /nix/store/7a63xbyzp6sr6kdddsa9aaaz00yvkljq-cardano-node-73f9a74/cardano-api; } diff --git a/nix/materialized/stack-nix/.stack-to-nix.cache.38 b/nix/materialized/stack-nix/.stack-to-nix.cache.38 index b523454107b..2b9a8e0413b 100644 --- a/nix/materialized/stack-nix/.stack-to-nix.cache.38 +++ b/nix/materialized/stack-nix/.stack-to-nix.cache.38 @@ -11,7 +11,7 @@ flags = { unexpected_thunks = false; }; package = { specVersion = "3.0"; - identifier = { name = "cardano-cli"; version = "1.33.0"; }; + identifier = { name = "cardano-cli"; version = "1.34.1"; }; license = "Apache-2.0"; copyright = ""; maintainer = "operations@iohk.io"; @@ -36,10 +36,11 @@ (hsPkgs."base16-bytestring" or (errorHandler.buildDepError "base16-bytestring")) (hsPkgs."cardano-api" or (errorHandler.buildDepError "cardano-api")) (hsPkgs."cardano-binary" or (errorHandler.buildDepError "cardano-binary")) - (hsPkgs."cardano-config" or (errorHandler.buildDepError "cardano-config")) + (hsPkgs."cardano-git-rev" or (errorHandler.buildDepError "cardano-git-rev")) (hsPkgs."cardano-crypto" or (errorHandler.buildDepError "cardano-crypto")) (hsPkgs."cardano-crypto-class" or (errorHandler.buildDepError "cardano-crypto-class")) (hsPkgs."cardano-crypto-wrapper" or (errorHandler.buildDepError "cardano-crypto-wrapper")) + (hsPkgs."cardano-data" or (errorHandler.buildDepError "cardano-data")) (hsPkgs."cardano-ledger-alonzo" or (errorHandler.buildDepError "cardano-ledger-alonzo")) (hsPkgs."cardano-ledger-byron" or (errorHandler.buildDepError "cardano-ledger-byron")) (hsPkgs."cardano-ledger-core" or (errorHandler.buildDepError "cardano-ledger-core")) @@ -67,7 +68,6 @@ (hsPkgs."prettyprinter" or (errorHandler.buildDepError "prettyprinter")) (hsPkgs."cardano-ledger-shelley" or (errorHandler.buildDepError "cardano-ledger-shelley")) (hsPkgs."set-algebra" or (errorHandler.buildDepError "set-algebra")) - (hsPkgs."small-steps" or (errorHandler.buildDepError "small-steps")) (hsPkgs."split" or (errorHandler.buildDepError "split")) (hsPkgs."strict-containers" or (errorHandler.buildDepError "strict-containers")) (hsPkgs."text" or (errorHandler.buildDepError "text")) @@ -107,6 +107,7 @@ (hsPkgs."cardano-node" or (errorHandler.buildDepError "cardano-node")) (hsPkgs."cardano-prelude" or (errorHandler.buildDepError "cardano-prelude")) (hsPkgs."cardano-slotting" or (errorHandler.buildDepError "cardano-slotting")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) (hsPkgs."directory" or (errorHandler.buildDepError "directory")) (hsPkgs."exceptions" or (errorHandler.buildDepError "exceptions")) (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) @@ -150,5 +151,5 @@ }; }; } // rec { - src = (pkgs.lib).mkDefault /nix/store/5v6m8vb6nqr07xqivmlshnc9b26pkm6d-cardano-node-814df2c/cardano-cli; + src = (pkgs.lib).mkDefault /nix/store/7a63xbyzp6sr6kdddsa9aaaz00yvkljq-cardano-node-73f9a74/cardano-cli; } diff --git a/nix/materialized/stack-nix/.stack-to-nix.cache.39 b/nix/materialized/stack-nix/.stack-to-nix.cache.39 index de01c0f4679..bedba33c9b3 100644 --- a/nix/materialized/stack-nix/.stack-to-nix.cache.39 +++ b/nix/materialized/stack-nix/.stack-to-nix.cache.39 @@ -11,7 +11,7 @@ flags = { unexpected_thunks = false; systemd = true; }; package = { specVersion = "3.0"; - identifier = { name = "cardano-node"; version = "1.33.0"; }; + identifier = { name = "cardano-node"; version = "1.34.1"; }; license = "Apache-2.0"; copyright = ""; maintainer = "operations@iohk.io"; @@ -32,7 +32,7 @@ (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) (hsPkgs."cardano-api" or (errorHandler.buildDepError "cardano-api")) - (hsPkgs."cardano-config" or (errorHandler.buildDepError "cardano-config")) + (hsPkgs."cardano-git-rev" or (errorHandler.buildDepError "cardano-git-rev")) (hsPkgs."cardano-crypto-class" or (errorHandler.buildDepError "cardano-crypto-class")) (hsPkgs."cardano-crypto-wrapper" or (errorHandler.buildDepError "cardano-crypto-wrapper")) (hsPkgs."cardano-ledger-alonzo" or (errorHandler.buildDepError "cardano-ledger-alonzo")) @@ -70,7 +70,6 @@ (hsPkgs."ouroboros-consensus-shelley" or (errorHandler.buildDepError "ouroboros-consensus-shelley")) (hsPkgs."ouroboros-network" or (errorHandler.buildDepError "ouroboros-network")) (hsPkgs."ouroboros-network-framework" or (errorHandler.buildDepError "ouroboros-network-framework")) - (hsPkgs."process" or (errorHandler.buildDepError "process")) (hsPkgs."psqueues" or (errorHandler.buildDepError "psqueues")) (hsPkgs."safe-exceptions" or (errorHandler.buildDepError "safe-exceptions")) (hsPkgs."scientific" or (errorHandler.buildDepError "scientific")) @@ -81,6 +80,9 @@ (hsPkgs."text" or (errorHandler.buildDepError "text")) (hsPkgs."time" or (errorHandler.buildDepError "time")) (hsPkgs."tracer-transformers" or (errorHandler.buildDepError "tracer-transformers")) + (hsPkgs."trace-dispatcher" or (errorHandler.buildDepError "trace-dispatcher")) + (hsPkgs."trace-forward" or (errorHandler.buildDepError "trace-forward")) + (hsPkgs."trace-resources" or (errorHandler.buildDepError "trace-resources")) (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) (hsPkgs."transformers-except" or (errorHandler.buildDepError "transformers-except")) (hsPkgs."typed-protocols" or (errorHandler.buildDepError "typed-protocols")) @@ -96,7 +98,7 @@ "cardano-node" = { depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."cardano-config" or (errorHandler.buildDepError "cardano-config")) + (hsPkgs."cardano-git-rev" or (errorHandler.buildDepError "cardano-git-rev")) (hsPkgs."cardano-node" or (errorHandler.buildDepError "cardano-node")) (hsPkgs."cardano-prelude" or (errorHandler.buildDepError "cardano-prelude")) (hsPkgs."optparse-applicative-fork" or (errorHandler.buildDepError "optparse-applicative-fork")) @@ -127,5 +129,5 @@ }; }; } // rec { - src = (pkgs.lib).mkDefault /nix/store/5v6m8vb6nqr07xqivmlshnc9b26pkm6d-cardano-node-814df2c/cardano-node; + src = (pkgs.lib).mkDefault /nix/store/7a63xbyzp6sr6kdddsa9aaaz00yvkljq-cardano-node-73f9a74/cardano-node; } diff --git a/nix/materialized/stack-nix/.stack-to-nix.cache.40 b/nix/materialized/stack-nix/.stack-to-nix.cache.40 index 39b531dabb8..90d8f37190b 100644 --- a/nix/materialized/stack-nix/.stack-to-nix.cache.40 +++ b/nix/materialized/stack-nix/.stack-to-nix.cache.40 @@ -8,17 +8,17 @@ , config , ... }: { - flags = {}; + flags = { systemd = true; }; package = { - specVersion = "2.4"; - identifier = { name = "trace-dispatcher"; version = "1.29.0"; }; - license = "NONE"; - copyright = "2020 IOHK"; + specVersion = "3.0"; + identifier = { name = "cardano-git-rev"; version = "0.1.0.0"; }; + license = "Apache-2.0"; + copyright = ""; maintainer = "operations@iohk.io"; - author = "Juergen Nicklisch-Franken"; + author = "IOHK"; homepage = ""; url = ""; - synopsis = "Package for development of simple and efficient tracers\nbased on the arrow based contra-tracer package"; + synopsis = ""; description = ""; buildType = "Simple"; }; @@ -26,83 +26,15 @@ "library" = { depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) - (hsPkgs."async" or (errorHandler.buildDepError "async")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."cborg" or (errorHandler.buildDepError "cborg")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."contra-tracer" or (errorHandler.buildDepError "contra-tracer")) - (hsPkgs."ekg" or (errorHandler.buildDepError "ekg")) - (hsPkgs."ekg-core" or (errorHandler.buildDepError "ekg-core")) - (hsPkgs."ekg-forward" or (errorHandler.buildDepError "ekg-forward")) - (hsPkgs."hostname" or (errorHandler.buildDepError "hostname")) - (hsPkgs."network" or (errorHandler.buildDepError "network")) - (hsPkgs."ouroboros-network-framework" or (errorHandler.buildDepError "ouroboros-network-framework")) - (hsPkgs."serialise" or (errorHandler.buildDepError "serialise")) - (hsPkgs."stm" or (errorHandler.buildDepError "stm")) + (hsPkgs."cardano-prelude" or (errorHandler.buildDepError "cardano-prelude")) + (hsPkgs."file-embed" or (errorHandler.buildDepError "file-embed")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) (hsPkgs."text" or (errorHandler.buildDepError "text")) - (hsPkgs."time" or (errorHandler.buildDepError "time")) - (hsPkgs."trace-forward" or (errorHandler.buildDepError "trace-forward")) - (hsPkgs."unagi-chan" or (errorHandler.buildDepError "unagi-chan")) - (hsPkgs."unliftio" or (errorHandler.buildDepError "unliftio")) - (hsPkgs."unliftio-core" or (errorHandler.buildDepError "unliftio-core")) - (hsPkgs."unordered-containers" or (errorHandler.buildDepError "unordered-containers")) - (hsPkgs."yaml" or (errorHandler.buildDepError "yaml")) - ] ++ (if system.isWindows - then [ (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) ] - else [ (hsPkgs."unix" or (errorHandler.buildDepError "unix")) ]); + ]; buildable = true; }; - exes = { - "trace-dispatcher-examples" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."ekg" or (errorHandler.buildDepError "ekg")) - (hsPkgs."ekg-core" or (errorHandler.buildDepError "ekg-core")) - (hsPkgs."hostname" or (errorHandler.buildDepError "hostname")) - (hsPkgs."text" or (errorHandler.buildDepError "text")) - (hsPkgs."trace-dispatcher" or (errorHandler.buildDepError "trace-dispatcher")) - (hsPkgs."time" or (errorHandler.buildDepError "time")) - (hsPkgs."unagi-chan" or (errorHandler.buildDepError "unagi-chan")) - (hsPkgs."unliftio" or (errorHandler.buildDepError "unliftio")) - (hsPkgs."unliftio-core" or (errorHandler.buildDepError "unliftio-core")) - (hsPkgs."stm" or (errorHandler.buildDepError "stm")) - (hsPkgs."unordered-containers" or (errorHandler.buildDepError "unordered-containers")) - (hsPkgs."yaml" or (errorHandler.buildDepError "yaml")) - ]; - buildable = true; - }; - }; - tests = { - "trace-dispatcher-test" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."ekg" or (errorHandler.buildDepError "ekg")) - (hsPkgs."ekg-core" or (errorHandler.buildDepError "ekg-core")) - (hsPkgs."hostname" or (errorHandler.buildDepError "hostname")) - (hsPkgs."text" or (errorHandler.buildDepError "text")) - (hsPkgs."trace-dispatcher" or (errorHandler.buildDepError "trace-dispatcher")) - (hsPkgs."time" or (errorHandler.buildDepError "time")) - (hsPkgs."unagi-chan" or (errorHandler.buildDepError "unagi-chan")) - (hsPkgs."unliftio" or (errorHandler.buildDepError "unliftio")) - (hsPkgs."unliftio-core" or (errorHandler.buildDepError "unliftio-core")) - (hsPkgs."stm" or (errorHandler.buildDepError "stm")) - (hsPkgs."unordered-containers" or (errorHandler.buildDepError "unordered-containers")) - (hsPkgs."yaml" or (errorHandler.buildDepError "yaml")) - (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) - (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) - ]; - buildable = true; - }; - }; }; } // rec { - src = (pkgs.lib).mkDefault /nix/store/5v6m8vb6nqr07xqivmlshnc9b26pkm6d-cardano-node-814df2c/trace-dispatcher; + src = (pkgs.lib).mkDefault /nix/store/7a63xbyzp6sr6kdddsa9aaaz00yvkljq-cardano-node-73f9a74/cardano-git-rev; } diff --git a/nix/materialized/stack-nix/.stack-to-nix.cache.41 b/nix/materialized/stack-nix/.stack-to-nix.cache.41 index 041b6230b8f..6a67b4e1d09 100644 --- a/nix/materialized/stack-nix/.stack-to-nix.cache.41 +++ b/nix/materialized/stack-nix/.stack-to-nix.cache.41 @@ -11,14 +11,14 @@ flags = {}; package = { specVersion = "2.4"; - identifier = { name = "trace-resources"; version = "0.1.0.0"; }; + identifier = { name = "trace-dispatcher"; version = "1.29.0"; }; license = "NONE"; - copyright = "2021 IOHK"; + copyright = "2020 IOHK"; maintainer = "operations@iohk.io"; author = "Juergen Nicklisch-Franken"; homepage = ""; url = ""; - synopsis = "Package for tracing resources for linux, mac and windows"; + synopsis = "Package for development of simple and efficient tracers\nbased on the arrow based contra-tracer package"; description = ""; buildType = "Simple"; }; @@ -26,30 +26,103 @@ "library" = { depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."trace-dispatcher" or (errorHandler.buildDepError "trace-dispatcher")) - (hsPkgs."text" or (errorHandler.buildDepError "text")) (hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) + (hsPkgs."async" or (errorHandler.buildDepError "async")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."cborg" or (errorHandler.buildDepError "cborg")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."contra-tracer" or (errorHandler.buildDepError "contra-tracer")) + (hsPkgs."ekg" or (errorHandler.buildDepError "ekg")) + (hsPkgs."ekg-core" or (errorHandler.buildDepError "ekg-core")) + (hsPkgs."ekg-forward" or (errorHandler.buildDepError "ekg-forward")) + (hsPkgs."hostname" or (errorHandler.buildDepError "hostname")) + (hsPkgs."network" or (errorHandler.buildDepError "network")) + (hsPkgs."optparse-applicative-fork" or (errorHandler.buildDepError "optparse-applicative-fork")) + (hsPkgs."ouroboros-network" or (errorHandler.buildDepError "ouroboros-network")) + (hsPkgs."ouroboros-network-framework" or (errorHandler.buildDepError "ouroboros-network-framework")) + (hsPkgs."serialise" or (errorHandler.buildDepError "serialise")) + (hsPkgs."stm" or (errorHandler.buildDepError "stm")) + (hsPkgs."text" or (errorHandler.buildDepError "text")) + (hsPkgs."time" or (errorHandler.buildDepError "time")) + (hsPkgs."trace-forward" or (errorHandler.buildDepError "trace-forward")) + (hsPkgs."unagi-chan" or (errorHandler.buildDepError "unagi-chan")) + (hsPkgs."unliftio" or (errorHandler.buildDepError "unliftio")) + (hsPkgs."unliftio-core" or (errorHandler.buildDepError "unliftio-core")) + (hsPkgs."unordered-containers" or (errorHandler.buildDepError "unordered-containers")) + (hsPkgs."yaml" or (errorHandler.buildDepError "yaml")) ] ++ (if system.isWindows then [ (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) ] else [ (hsPkgs."unix" or (errorHandler.buildDepError "unix")) ]); buildable = true; }; - tests = { - "trace-resources-test" = { + exes = { + "trace-dispatcher-examples" = { depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."trace-dispatcher" or (errorHandler.buildDepError "trace-dispatcher")) + (hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."ekg" or (errorHandler.buildDepError "ekg")) + (hsPkgs."ekg-core" or (errorHandler.buildDepError "ekg-core")) + (hsPkgs."hostname" or (errorHandler.buildDepError "hostname")) + (hsPkgs."stm" or (errorHandler.buildDepError "stm")) (hsPkgs."text" or (errorHandler.buildDepError "text")) + (hsPkgs."trace-dispatcher" or (errorHandler.buildDepError "trace-dispatcher")) + (hsPkgs."trace-forward" or (errorHandler.buildDepError "trace-forward")) + (hsPkgs."time" or (errorHandler.buildDepError "time")) + (hsPkgs."unagi-chan" or (errorHandler.buildDepError "unagi-chan")) + (hsPkgs."unliftio" or (errorHandler.buildDepError "unliftio")) + (hsPkgs."unliftio-core" or (errorHandler.buildDepError "unliftio-core")) + (hsPkgs."unordered-containers" or (errorHandler.buildDepError "unordered-containers")) + (hsPkgs."utf8-string" or (errorHandler.buildDepError "utf8-string")) + (hsPkgs."yaml" or (errorHandler.buildDepError "yaml")) + ]; + buildable = true; + }; + }; + tests = { + "trace-dispatcher-test" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) (hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) - (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."ekg" or (errorHandler.buildDepError "ekg")) + (hsPkgs."ekg-core" or (errorHandler.buildDepError "ekg-core")) + (hsPkgs."hostname" or (errorHandler.buildDepError "hostname")) + (hsPkgs."text" or (errorHandler.buildDepError "text")) + (hsPkgs."stm" or (errorHandler.buildDepError "stm")) (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) - (hsPkgs."trace-resources" or (errorHandler.buildDepError "trace-resources")) + (hsPkgs."time" or (errorHandler.buildDepError "time")) + (hsPkgs."trace-dispatcher" or (errorHandler.buildDepError "trace-dispatcher")) + (hsPkgs."unagi-chan" or (errorHandler.buildDepError "unagi-chan")) + (hsPkgs."unliftio" or (errorHandler.buildDepError "unliftio")) + (hsPkgs."unliftio-core" or (errorHandler.buildDepError "unliftio-core")) + (hsPkgs."unordered-containers" or (errorHandler.buildDepError "unordered-containers")) + (hsPkgs."yaml" or (errorHandler.buildDepError "yaml")) + (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) + ]; + buildable = true; + }; + }; + benchmarks = { + "trace-dispatcher-bench" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."criterion" or (errorHandler.buildDepError "criterion")) + (hsPkgs."ekg" or (errorHandler.buildDepError "ekg")) + (hsPkgs."text" or (errorHandler.buildDepError "text")) + (hsPkgs."time" or (errorHandler.buildDepError "time")) + (hsPkgs."trace-dispatcher" or (errorHandler.buildDepError "trace-dispatcher")) + (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) ]; buildable = true; }; }; }; } // rec { - src = (pkgs.lib).mkDefault /nix/store/5v6m8vb6nqr07xqivmlshnc9b26pkm6d-cardano-node-814df2c/trace-resources; + src = (pkgs.lib).mkDefault /nix/store/7a63xbyzp6sr6kdddsa9aaaz00yvkljq-cardano-node-73f9a74/trace-dispatcher; } diff --git a/nix/materialized/stack-nix/.stack-to-nix.cache.42 b/nix/materialized/stack-nix/.stack-to-nix.cache.42 index a2d23f6dc16..7ec587c95fd 100644 --- a/nix/materialized/stack-nix/.stack-to-nix.cache.42 +++ b/nix/materialized/stack-nix/.stack-to-nix.cache.42 @@ -11,60 +11,45 @@ flags = {}; package = { specVersion = "2.4"; - identifier = { name = "trace-forward"; version = "0.1.0"; }; - license = "Apache-2.0"; - copyright = "2021 Input Output (Hong Kong) Ltd."; + identifier = { name = "trace-resources"; version = "0.1.0.0"; }; + license = "NONE"; + copyright = "2021 IOHK"; maintainer = "operations@iohk.io"; - author = "IOHK"; + author = "Juergen Nicklisch-Franken"; homepage = ""; url = ""; - synopsis = "The forwarding protocols library for cardano node."; - description = "The library providing typed protocols for forwarding different\ninformation from the cardano node to an external application."; + synopsis = "Package for tracing resources for linux, mac and windows"; + description = ""; buildType = "Simple"; }; components = { "library" = { depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) - (hsPkgs."async" or (errorHandler.buildDepError "async")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."cborg" or (errorHandler.buildDepError "cborg")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."contra-tracer" or (errorHandler.buildDepError "contra-tracer")) - (hsPkgs."extra" or (errorHandler.buildDepError "extra")) - (hsPkgs."io-classes" or (errorHandler.buildDepError "io-classes")) - (hsPkgs."ouroboros-network-framework" or (errorHandler.buildDepError "ouroboros-network-framework")) - (hsPkgs."serialise" or (errorHandler.buildDepError "serialise")) - (hsPkgs."stm" or (errorHandler.buildDepError "stm")) + (hsPkgs."trace-dispatcher" or (errorHandler.buildDepError "trace-dispatcher")) (hsPkgs."text" or (errorHandler.buildDepError "text")) - (hsPkgs."typed-protocols" or (errorHandler.buildDepError "typed-protocols")) - (hsPkgs."typed-protocols-cborg" or (errorHandler.buildDepError "typed-protocols-cborg")) - ]; + (hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) + ] ++ (if system.isWindows + then [ (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) ] + else [ (hsPkgs."unix" or (errorHandler.buildDepError "unix")) ]); buildable = true; }; tests = { - "test" = { + "trace-resources-test" = { depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."trace-dispatcher" or (errorHandler.buildDepError "trace-dispatcher")) + (hsPkgs."text" or (errorHandler.buildDepError "text")) (hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."contra-tracer" or (errorHandler.buildDepError "contra-tracer")) - (hsPkgs."io-classes" or (errorHandler.buildDepError "io-classes")) - (hsPkgs."io-sim" or (errorHandler.buildDepError "io-sim")) - (hsPkgs."ouroboros-network-framework" or (errorHandler.buildDepError "ouroboros-network-framework")) - (hsPkgs."trace-forward" or (errorHandler.buildDepError "trace-forward")) (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) - (hsPkgs."serialise" or (errorHandler.buildDepError "serialise")) (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) - (hsPkgs."typed-protocols" or (errorHandler.buildDepError "typed-protocols")) - (hsPkgs."text" or (errorHandler.buildDepError "text")) + (hsPkgs."trace-resources" or (errorHandler.buildDepError "trace-resources")) ]; buildable = true; }; }; }; } // rec { - src = (pkgs.lib).mkDefault /nix/store/5v6m8vb6nqr07xqivmlshnc9b26pkm6d-cardano-node-814df2c/trace-forward; + src = (pkgs.lib).mkDefault /nix/store/7a63xbyzp6sr6kdddsa9aaaz00yvkljq-cardano-node-73f9a74/trace-resources; } diff --git a/nix/materialized/stack-nix/.stack-to-nix.cache.43 b/nix/materialized/stack-nix/.stack-to-nix.cache.43 index e1df118c8cd..9fafc30dcc3 100644 --- a/nix/materialized/stack-nix/.stack-to-nix.cache.43 +++ b/nix/materialized/stack-nix/.stack-to-nix.cache.43 @@ -8,18 +8,18 @@ , config , ... }: { - flags = { development = false; }; + flags = {}; package = { - specVersion = "2.2"; - identifier = { name = "cardano-prelude"; version = "0.1.0.0"; }; - license = "MIT"; - copyright = "2018-2021 IOHK"; + specVersion = "2.4"; + identifier = { name = "trace-forward"; version = "0.1.0"; }; + license = "Apache-2.0"; + copyright = "2021 Input Output (Hong Kong) Ltd."; maintainer = "operations@iohk.io"; author = "IOHK"; homepage = ""; url = ""; - synopsis = "A Prelude replacement for the Cardano project"; - description = "A Prelude replacement for the Cardano project"; + synopsis = "The forwarding protocols library for cardano node."; + description = "The library providing typed protocols for forwarding different\ninformation from the cardano node to an external application."; buildType = "Simple"; }; components = { @@ -27,26 +27,44 @@ depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) (hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) - (hsPkgs."array" or (errorHandler.buildDepError "array")) - (hsPkgs."base16-bytestring" or (errorHandler.buildDepError "base16-bytestring")) + (hsPkgs."async" or (errorHandler.buildDepError "async")) (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."canonical-json" or (errorHandler.buildDepError "canonical-json")) (hsPkgs."cborg" or (errorHandler.buildDepError "cborg")) (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."formatting" or (errorHandler.buildDepError "formatting")) - (hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap")) - (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) - (hsPkgs."integer-gmp" or (errorHandler.buildDepError "integer-gmp")) - (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - (hsPkgs."protolude" or (errorHandler.buildDepError "protolude")) - (hsPkgs."tagged" or (errorHandler.buildDepError "tagged")) + (hsPkgs."contra-tracer" or (errorHandler.buildDepError "contra-tracer")) + (hsPkgs."extra" or (errorHandler.buildDepError "extra")) + (hsPkgs."io-classes" or (errorHandler.buildDepError "io-classes")) + (hsPkgs."ouroboros-network-framework" or (errorHandler.buildDepError "ouroboros-network-framework")) + (hsPkgs."serialise" or (errorHandler.buildDepError "serialise")) + (hsPkgs."stm" or (errorHandler.buildDepError "stm")) (hsPkgs."text" or (errorHandler.buildDepError "text")) - (hsPkgs."time" or (errorHandler.buildDepError "time")) - (hsPkgs."vector" or (errorHandler.buildDepError "vector")) + (hsPkgs."typed-protocols" or (errorHandler.buildDepError "typed-protocols")) + (hsPkgs."typed-protocols-cborg" or (errorHandler.buildDepError "typed-protocols-cborg")) ]; buildable = true; }; + tests = { + "test" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."contra-tracer" or (errorHandler.buildDepError "contra-tracer")) + (hsPkgs."io-classes" or (errorHandler.buildDepError "io-classes")) + (hsPkgs."io-sim" or (errorHandler.buildDepError "io-sim")) + (hsPkgs."ouroboros-network-framework" or (errorHandler.buildDepError "ouroboros-network-framework")) + (hsPkgs."trace-forward" or (errorHandler.buildDepError "trace-forward")) + (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) + (hsPkgs."serialise" or (errorHandler.buildDepError "serialise")) + (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) + (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) + (hsPkgs."typed-protocols" or (errorHandler.buildDepError "typed-protocols")) + (hsPkgs."text" or (errorHandler.buildDepError "text")) + ]; + buildable = true; + }; + }; }; } // rec { - src = (pkgs.lib).mkDefault /nix/store/5hpda20xfxbq4wz60zblgfinyabkkal6-cardano-prelude-bb4ed71/cardano-prelude; + src = (pkgs.lib).mkDefault /nix/store/7a63xbyzp6sr6kdddsa9aaaz00yvkljq-cardano-node-73f9a74/trace-forward; } diff --git a/nix/materialized/stack-nix/.stack-to-nix.cache.44 b/nix/materialized/stack-nix/.stack-to-nix.cache.44 index f7ab485e22f..e1df118c8cd 100644 --- a/nix/materialized/stack-nix/.stack-to-nix.cache.44 +++ b/nix/materialized/stack-nix/.stack-to-nix.cache.44 @@ -11,15 +11,15 @@ flags = { development = false; }; package = { specVersion = "2.2"; - identifier = { name = "cardano-prelude-test"; version = "0.1.0.0"; }; + identifier = { name = "cardano-prelude"; version = "0.1.0.0"; }; license = "MIT"; copyright = "2018-2021 IOHK"; maintainer = "operations@iohk.io"; author = "IOHK"; homepage = ""; url = ""; - synopsis = "Utility types and functions for testing Cardano"; - description = "Utility types and functions for testing Cardano"; + synopsis = "A Prelude replacement for the Cardano project"; + description = "A Prelude replacement for the Cardano project"; buildType = "Simple"; }; components = { @@ -27,42 +27,26 @@ depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) (hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) - (hsPkgs."aeson-pretty" or (errorHandler.buildDepError "aeson-pretty")) - (hsPkgs."attoparsec" or (errorHandler.buildDepError "attoparsec")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) (hsPkgs."base16-bytestring" or (errorHandler.buildDepError "base16-bytestring")) (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) (hsPkgs."canonical-json" or (errorHandler.buildDepError "canonical-json")) - (hsPkgs."cardano-prelude" or (errorHandler.buildDepError "cardano-prelude")) + (hsPkgs."cborg" or (errorHandler.buildDepError "cborg")) (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."cryptonite" or (errorHandler.buildDepError "cryptonite")) (hsPkgs."formatting" or (errorHandler.buildDepError "formatting")) - (hsPkgs."hedgehog" or (errorHandler.buildDepError "hedgehog")) - (hsPkgs."hspec" or (errorHandler.buildDepError "hspec")) - (hsPkgs."pretty-show" or (errorHandler.buildDepError "pretty-show")) - (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) - (hsPkgs."quickcheck-instances" or (errorHandler.buildDepError "quickcheck-instances")) - (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + (hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."integer-gmp" or (errorHandler.buildDepError "integer-gmp")) + (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) + (hsPkgs."protolude" or (errorHandler.buildDepError "protolude")) + (hsPkgs."tagged" or (errorHandler.buildDepError "tagged")) (hsPkgs."text" or (errorHandler.buildDepError "text")) (hsPkgs."time" or (errorHandler.buildDepError "time")) + (hsPkgs."vector" or (errorHandler.buildDepError "vector")) ]; buildable = true; }; - tests = { - "cardano-prelude-test-suite" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."cardano-prelude" or (errorHandler.buildDepError "cardano-prelude")) - (hsPkgs."cardano-prelude-test" or (errorHandler.buildDepError "cardano-prelude-test")) - (hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap")) - (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) - (hsPkgs."hedgehog" or (errorHandler.buildDepError "hedgehog")) - (hsPkgs."text" or (errorHandler.buildDepError "text")) - ]; - buildable = true; - }; - }; }; } // rec { - src = (pkgs.lib).mkDefault /nix/store/5hpda20xfxbq4wz60zblgfinyabkkal6-cardano-prelude-bb4ed71/cardano-prelude-test; + src = (pkgs.lib).mkDefault /nix/store/5hpda20xfxbq4wz60zblgfinyabkkal6-cardano-prelude-bb4ed71/cardano-prelude; } diff --git a/nix/materialized/stack-nix/.stack-to-nix.cache.45 b/nix/materialized/stack-nix/.stack-to-nix.cache.45 index 8b5c3aff2dc..f7ab485e22f 100644 --- a/nix/materialized/stack-nix/.stack-to-nix.cache.45 +++ b/nix/materialized/stack-nix/.stack-to-nix.cache.45 @@ -8,18 +8,18 @@ , config , ... }: { - flags = {}; + flags = { development = false; }; package = { - specVersion = "1.10"; - identifier = { name = "cardano-sl-x509"; version = "3.0.0"; }; + specVersion = "2.2"; + identifier = { name = "cardano-prelude-test"; version = "0.1.0.0"; }; license = "MIT"; - copyright = "2018 IOHK"; + copyright = "2018-2021 IOHK"; maintainer = "operations@iohk.io"; - author = "IOHK Engineering Team"; - homepage = "https://github.com/input-output-hk/cardano-sl/x509/README.md"; + author = "IOHK"; + homepage = ""; url = ""; - synopsis = "Tool-suite for generating x509 certificates specialized for RSA with SHA-256"; - description = "See README"; + synopsis = "Utility types and functions for testing Cardano"; + description = "Utility types and functions for testing Cardano"; buildType = "Simple"; }; components = { @@ -27,42 +27,42 @@ depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) (hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) - (hsPkgs."asn1-encoding" or (errorHandler.buildDepError "asn1-encoding")) - (hsPkgs."asn1-types" or (errorHandler.buildDepError "asn1-types")) - (hsPkgs."base64-bytestring" or (errorHandler.buildDepError "base64-bytestring")) + (hsPkgs."aeson-pretty" or (errorHandler.buildDepError "aeson-pretty")) + (hsPkgs."attoparsec" or (errorHandler.buildDepError "attoparsec")) + (hsPkgs."base16-bytestring" or (errorHandler.buildDepError "base16-bytestring")) (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."canonical-json" or (errorHandler.buildDepError "canonical-json")) (hsPkgs."cardano-prelude" or (errorHandler.buildDepError "cardano-prelude")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) (hsPkgs."cryptonite" or (errorHandler.buildDepError "cryptonite")) - (hsPkgs."data-default-class" or (errorHandler.buildDepError "data-default-class")) - (hsPkgs."directory" or (errorHandler.buildDepError "directory")) - (hsPkgs."exceptions" or (errorHandler.buildDepError "exceptions")) - (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) - (hsPkgs."hourglass" or (errorHandler.buildDepError "hourglass")) - (hsPkgs."ip" or (errorHandler.buildDepError "ip")) + (hsPkgs."formatting" or (errorHandler.buildDepError "formatting")) + (hsPkgs."hedgehog" or (errorHandler.buildDepError "hedgehog")) + (hsPkgs."hspec" or (errorHandler.buildDepError "hspec")) + (hsPkgs."pretty-show" or (errorHandler.buildDepError "pretty-show")) + (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) + (hsPkgs."quickcheck-instances" or (errorHandler.buildDepError "quickcheck-instances")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) (hsPkgs."text" or (errorHandler.buildDepError "text")) - (hsPkgs."unordered-containers" or (errorHandler.buildDepError "unordered-containers")) - (hsPkgs."wide-word" or (errorHandler.buildDepError "wide-word")) - (hsPkgs."x509" or (errorHandler.buildDepError "x509")) - (hsPkgs."x509-store" or (errorHandler.buildDepError "x509-store")) - (hsPkgs."x509-validation" or (errorHandler.buildDepError "x509-validation")) - (hsPkgs."yaml" or (errorHandler.buildDepError "yaml")) + (hsPkgs."time" or (errorHandler.buildDepError "time")) ]; buildable = true; }; tests = { - "cardano-sl-x509-test" = { + "cardano-prelude-test-suite" = { depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) (hsPkgs."cardano-prelude" or (errorHandler.buildDepError "cardano-prelude")) - (hsPkgs."cardano-sl-x509" or (errorHandler.buildDepError "cardano-sl-x509")) - (hsPkgs."exceptions" or (errorHandler.buildDepError "exceptions")) + (hsPkgs."cardano-prelude-test" or (errorHandler.buildDepError "cardano-prelude-test")) + (hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) (hsPkgs."hedgehog" or (errorHandler.buildDepError "hedgehog")) + (hsPkgs."text" or (errorHandler.buildDepError "text")) ]; buildable = true; }; }; }; } // rec { - src = (pkgs.lib).mkDefault /nix/store/5lcpx8q17x275vgy3b5700vy3c9ga12w-cardano-sl-x509-1292593; + src = (pkgs.lib).mkDefault /nix/store/5hpda20xfxbq4wz60zblgfinyabkkal6-cardano-prelude-bb4ed71/cardano-prelude-test; } diff --git a/nix/materialized/stack-nix/.stack-to-nix.cache.46 b/nix/materialized/stack-nix/.stack-to-nix.cache.46 index 5041947392c..8b5c3aff2dc 100644 --- a/nix/materialized/stack-nix/.stack-to-nix.cache.46 +++ b/nix/materialized/stack-nix/.stack-to-nix.cache.46 @@ -11,130 +11,58 @@ flags = {}; package = { specVersion = "1.10"; - identifier = { name = "flat"; version = "0.4.5"; }; - license = "BSD-3-Clause"; - copyright = "Copyright: (c) 2016-2021 Pasqualino `Titto` Assini"; - maintainer = "tittoassini@gmail.com"; - author = "Pasqualino `Titto` Assini"; - homepage = "http://quid2.org"; + identifier = { name = "cardano-sl-x509"; version = "3.0.0"; }; + license = "MIT"; + copyright = "2018 IOHK"; + maintainer = "operations@iohk.io"; + author = "IOHK Engineering Team"; + homepage = "https://github.com/input-output-hk/cardano-sl/x509/README.md"; url = ""; - synopsis = "Principled and efficient bit-oriented binary serialization."; - description = "Reference implementation of `flat`, a principled and efficient binary serialization format."; + synopsis = "Tool-suite for generating x509 certificates specialized for RSA with SHA-256"; + description = "See README"; buildType = "Simple"; }; components = { "library" = { - depends = if compiler.isEta && true - then [ - (hsPkgs."array" or (errorHandler.buildDepError "array")) - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) - (hsPkgs."dlist" or (errorHandler.buildDepError "dlist")) - (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) - (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) - (hsPkgs."hashable" or (errorHandler.buildDepError "hashable")) - (hsPkgs."HUnit" or (errorHandler.buildDepError "HUnit")) - (hsPkgs."memory" or (errorHandler.buildDepError "memory")) - (hsPkgs."mono-traversable" or (errorHandler.buildDepError "mono-traversable")) - (hsPkgs."pretty" or (errorHandler.buildDepError "pretty")) - (hsPkgs."primitive" or (errorHandler.buildDepError "primitive")) - (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) - (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."text" or (errorHandler.buildDepError "text")) - (hsPkgs."unordered-containers" or (errorHandler.buildDepError "unordered-containers")) - (hsPkgs."vector" or (errorHandler.buildDepError "vector")) - ] - else [ - (hsPkgs."array" or (errorHandler.buildDepError "array")) - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) - (hsPkgs."dlist" or (errorHandler.buildDepError "dlist")) - (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) - (hsPkgs."hashable" or (errorHandler.buildDepError "hashable")) - (hsPkgs."mono-traversable" or (errorHandler.buildDepError "mono-traversable")) - (hsPkgs."pretty" or (errorHandler.buildDepError "pretty")) - (hsPkgs."primitive" or (errorHandler.buildDepError "primitive")) - (hsPkgs."semigroups" or (errorHandler.buildDepError "semigroups")) - (hsPkgs."text" or (errorHandler.buildDepError "text")) - (hsPkgs."unordered-containers" or (errorHandler.buildDepError "unordered-containers")) - (hsPkgs."vector" or (errorHandler.buildDepError "vector")) - (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) - (hsPkgs."quickcheck-instances" or (errorHandler.buildDepError "quickcheck-instances")) - (hsPkgs."list-t" or (errorHandler.buildDepError "list-t")) - ]; + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) + (hsPkgs."asn1-encoding" or (errorHandler.buildDepError "asn1-encoding")) + (hsPkgs."asn1-types" or (errorHandler.buildDepError "asn1-types")) + (hsPkgs."base64-bytestring" or (errorHandler.buildDepError "base64-bytestring")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."cardano-prelude" or (errorHandler.buildDepError "cardano-prelude")) + (hsPkgs."cryptonite" or (errorHandler.buildDepError "cryptonite")) + (hsPkgs."data-default-class" or (errorHandler.buildDepError "data-default-class")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."exceptions" or (errorHandler.buildDepError "exceptions")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."hourglass" or (errorHandler.buildDepError "hourglass")) + (hsPkgs."ip" or (errorHandler.buildDepError "ip")) + (hsPkgs."text" or (errorHandler.buildDepError "text")) + (hsPkgs."unordered-containers" or (errorHandler.buildDepError "unordered-containers")) + (hsPkgs."wide-word" or (errorHandler.buildDepError "wide-word")) + (hsPkgs."x509" or (errorHandler.buildDepError "x509")) + (hsPkgs."x509-store" or (errorHandler.buildDepError "x509-store")) + (hsPkgs."x509-validation" or (errorHandler.buildDepError "x509-validation")) + (hsPkgs."yaml" or (errorHandler.buildDepError "yaml")) + ]; buildable = true; }; tests = { - "spec" = { - depends = ([ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."flat" or (errorHandler.buildDepError "flat")) - (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) - (hsPkgs."quickcheck-text" or (errorHandler.buildDepError "quickcheck-text")) - (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) - (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) - (hsPkgs."text" or (errorHandler.buildDepError "text")) - ] ++ (pkgs.lib).optional (compiler.isGhc && (compiler.version).lt "8") (hsPkgs."semigroups" or (errorHandler.buildDepError "semigroups"))) ++ (if compiler.isEta && true - then [ - (hsPkgs."array" or (errorHandler.buildDepError "array")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) - (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) - (hsPkgs."HUnit" or (errorHandler.buildDepError "HUnit")) - (hsPkgs."mono-traversable" or (errorHandler.buildDepError "mono-traversable")) - (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) - (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."text" or (errorHandler.buildDepError "text")) - ] - else [ - (hsPkgs."array" or (errorHandler.buildDepError "array")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) - (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) - (hsPkgs."mono-traversable" or (errorHandler.buildDepError "mono-traversable")) - (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) - (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."text" or (errorHandler.buildDepError "text")) - (hsPkgs."quickcheck-instances" or (errorHandler.buildDepError "quickcheck-instances")) - ]); - buildable = true; - }; - "doc-static" = { - depends = [ - (hsPkgs."array" or (errorHandler.buildDepError "array")) - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."dlist" or (errorHandler.buildDepError "dlist")) - (hsPkgs."flat" or (errorHandler.buildDepError "flat")) - (hsPkgs."pretty" or (errorHandler.buildDepError "pretty")) - (hsPkgs."quickcheck-instances" or (errorHandler.buildDepError "quickcheck-instances")) - (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) - (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) - (hsPkgs."text" or (errorHandler.buildDepError "text")) - (hsPkgs."unordered-containers" or (errorHandler.buildDepError "unordered-containers")) - (hsPkgs."vector" or (errorHandler.buildDepError "vector")) - ] ++ (pkgs.lib).optional (compiler.isGhc && (compiler.version).lt "8") (hsPkgs."semigroups" or (errorHandler.buildDepError "semigroups")); - buildable = true; - }; - "Repr" = { + "cardano-sl-x509-test" = { depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."flat" or (errorHandler.buildDepError "flat")) - (hsPkgs."list-t" or (errorHandler.buildDepError "list-t")) + (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) + (hsPkgs."cardano-prelude" or (errorHandler.buildDepError "cardano-prelude")) + (hsPkgs."cardano-sl-x509" or (errorHandler.buildDepError "cardano-sl-x509")) + (hsPkgs."exceptions" or (errorHandler.buildDepError "exceptions")) + (hsPkgs."hedgehog" or (errorHandler.buildDepError "hedgehog")) ]; buildable = true; }; }; }; } // rec { - src = (pkgs.lib).mkDefault /nix/store/68dijg7gzxp697lfv65y5d5az0n37z9h-flat-ee59880; + src = (pkgs.lib).mkDefault /nix/store/5lcpx8q17x275vgy3b5700vy3c9ga12w-cardano-sl-x509-1292593; } diff --git a/nix/materialized/stack-nix/.stack-to-nix.cache.47 b/nix/materialized/stack-nix/.stack-to-nix.cache.47 index f1e00c7a8c1..5041947392c 100644 --- a/nix/materialized/stack-nix/.stack-to-nix.cache.47 +++ b/nix/materialized/stack-nix/.stack-to-nix.cache.47 @@ -8,57 +8,133 @@ , config , ... }: { - flags = { development = false; }; + flags = {}; package = { specVersion = "1.10"; - identifier = { name = "goblins"; version = "0.2.0.0"; }; + identifier = { name = "flat"; version = "0.4.5"; }; license = "BSD-3-Clause"; - copyright = ""; - maintainer = "nick@topos.org.uk"; - author = "Nicholas Clarke"; - homepage = "https://github.com/input-output-hk/goblins"; + copyright = "Copyright: (c) 2016-2021 Pasqualino `Titto` Assini"; + maintainer = "tittoassini@gmail.com"; + author = "Pasqualino `Titto` Assini"; + homepage = "http://quid2.org"; url = ""; - synopsis = "Genetic algorithm based randomised testing"; - description = ""; + synopsis = "Principled and efficient bit-oriented binary serialization."; + description = "Reference implementation of `flat`, a principled and efficient binary serialization format."; buildType = "Simple"; }; components = { "library" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bimap" or (errorHandler.buildDepError "bimap")) - (hsPkgs."binary" or (errorHandler.buildDepError "binary")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."extra" or (errorHandler.buildDepError "extra")) - (hsPkgs."hedgehog" or (errorHandler.buildDepError "hedgehog")) - (hsPkgs."microlens" or (errorHandler.buildDepError "microlens")) - (hsPkgs."microlens-mtl" or (errorHandler.buildDepError "microlens-mtl")) - (hsPkgs."microlens-th" or (errorHandler.buildDepError "microlens-th")) - (hsPkgs."mmorph" or (errorHandler.buildDepError "mmorph")) - (hsPkgs."monad-control" or (errorHandler.buildDepError "monad-control")) - (hsPkgs."moo" or (errorHandler.buildDepError "moo")) - (hsPkgs."random" or (errorHandler.buildDepError "random")) - (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) - (hsPkgs."th-utilities" or (errorHandler.buildDepError "th-utilities")) - (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) - (hsPkgs."tree-diff" or (errorHandler.buildDepError "tree-diff")) - (hsPkgs."typerep-map" or (errorHandler.buildDepError "typerep-map")) - ]; + depends = if compiler.isEta && true + then [ + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."dlist" or (errorHandler.buildDepError "dlist")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."hashable" or (errorHandler.buildDepError "hashable")) + (hsPkgs."HUnit" or (errorHandler.buildDepError "HUnit")) + (hsPkgs."memory" or (errorHandler.buildDepError "memory")) + (hsPkgs."mono-traversable" or (errorHandler.buildDepError "mono-traversable")) + (hsPkgs."pretty" or (errorHandler.buildDepError "pretty")) + (hsPkgs."primitive" or (errorHandler.buildDepError "primitive")) + (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) + (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) + (hsPkgs."text" or (errorHandler.buildDepError "text")) + (hsPkgs."unordered-containers" or (errorHandler.buildDepError "unordered-containers")) + (hsPkgs."vector" or (errorHandler.buildDepError "vector")) + ] + else [ + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."dlist" or (errorHandler.buildDepError "dlist")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."hashable" or (errorHandler.buildDepError "hashable")) + (hsPkgs."mono-traversable" or (errorHandler.buildDepError "mono-traversable")) + (hsPkgs."pretty" or (errorHandler.buildDepError "pretty")) + (hsPkgs."primitive" or (errorHandler.buildDepError "primitive")) + (hsPkgs."semigroups" or (errorHandler.buildDepError "semigroups")) + (hsPkgs."text" or (errorHandler.buildDepError "text")) + (hsPkgs."unordered-containers" or (errorHandler.buildDepError "unordered-containers")) + (hsPkgs."vector" or (errorHandler.buildDepError "vector")) + (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) + (hsPkgs."quickcheck-instances" or (errorHandler.buildDepError "quickcheck-instances")) + (hsPkgs."list-t" or (errorHandler.buildDepError "list-t")) + ]; buildable = true; }; tests = { - "goblin-test" = { + "spec" = { + depends = ([ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."flat" or (errorHandler.buildDepError "flat")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."quickcheck-text" or (errorHandler.buildDepError "quickcheck-text")) + (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) + (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) + (hsPkgs."text" or (errorHandler.buildDepError "text")) + ] ++ (pkgs.lib).optional (compiler.isGhc && (compiler.version).lt "8") (hsPkgs."semigroups" or (errorHandler.buildDepError "semigroups"))) ++ (if compiler.isEta && true + then [ + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."HUnit" or (errorHandler.buildDepError "HUnit")) + (hsPkgs."mono-traversable" or (errorHandler.buildDepError "mono-traversable")) + (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) + (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) + (hsPkgs."text" or (errorHandler.buildDepError "text")) + ] + else [ + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."mono-traversable" or (errorHandler.buildDepError "mono-traversable")) + (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) + (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) + (hsPkgs."text" or (errorHandler.buildDepError "text")) + (hsPkgs."quickcheck-instances" or (errorHandler.buildDepError "quickcheck-instances")) + ]); + buildable = true; + }; + "doc-static" = { + depends = [ + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."dlist" or (errorHandler.buildDepError "dlist")) + (hsPkgs."flat" or (errorHandler.buildDepError "flat")) + (hsPkgs."pretty" or (errorHandler.buildDepError "pretty")) + (hsPkgs."quickcheck-instances" or (errorHandler.buildDepError "quickcheck-instances")) + (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) + (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) + (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) + (hsPkgs."text" or (errorHandler.buildDepError "text")) + (hsPkgs."unordered-containers" or (errorHandler.buildDepError "unordered-containers")) + (hsPkgs."vector" or (errorHandler.buildDepError "vector")) + ] ++ (pkgs.lib).optional (compiler.isGhc && (compiler.version).lt "8") (hsPkgs."semigroups" or (errorHandler.buildDepError "semigroups")); + buildable = true; + }; + "Repr" = { depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."hedgehog" or (errorHandler.buildDepError "hedgehog")) - (hsPkgs."goblins" or (errorHandler.buildDepError "goblins")) - (hsPkgs."temporary" or (errorHandler.buildDepError "temporary")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."flat" or (errorHandler.buildDepError "flat")) + (hsPkgs."list-t" or (errorHandler.buildDepError "list-t")) ]; buildable = true; }; }; }; } // rec { - src = (pkgs.lib).mkDefault /nix/store/4hpdshkfiqw93mp84jsnws4p3826iv4r-goblins-cde90a2; + src = (pkgs.lib).mkDefault /nix/store/68dijg7gzxp697lfv65y5d5az0n37z9h-flat-ee59880; } diff --git a/nix/materialized/stack-nix/.stack-to-nix.cache.48 b/nix/materialized/stack-nix/.stack-to-nix.cache.48 index 7783121f5bf..f1e00c7a8c1 100644 --- a/nix/materialized/stack-nix/.stack-to-nix.cache.48 +++ b/nix/materialized/stack-nix/.stack-to-nix.cache.48 @@ -8,50 +8,57 @@ , config , ... }: { - flags = {}; + flags = { development = false; }; package = { - specVersion = "2.4"; - identifier = { name = "hedgehog-extras"; version = "0.1.0.0"; }; - license = "Apache-2.0"; + specVersion = "1.10"; + identifier = { name = "goblins"; version = "0.2.0.0"; }; + license = "BSD-3-Clause"; copyright = ""; - maintainer = "operations@iohk.io"; - author = "IOHK"; - homepage = ""; + maintainer = "nick@topos.org.uk"; + author = "Nicholas Clarke"; + homepage = "https://github.com/input-output-hk/goblins"; url = ""; - synopsis = "Supplemental library for hedgehog"; - description = "Supplemental library for hedgehog."; + synopsis = "Genetic algorithm based randomised testing"; + description = ""; buildType = "Simple"; }; components = { "library" = { depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) - (hsPkgs."aeson-pretty" or (errorHandler.buildDepError "aeson-pretty")) - (hsPkgs."async" or (errorHandler.buildDepError "async")) + (hsPkgs."bimap" or (errorHandler.buildDepError "bimap")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) - (hsPkgs."directory" or (errorHandler.buildDepError "directory")) - (hsPkgs."exceptions" or (errorHandler.buildDepError "exceptions")) - (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."extra" or (errorHandler.buildDepError "extra")) (hsPkgs."hedgehog" or (errorHandler.buildDepError "hedgehog")) + (hsPkgs."microlens" or (errorHandler.buildDepError "microlens")) + (hsPkgs."microlens-mtl" or (errorHandler.buildDepError "microlens-mtl")) + (hsPkgs."microlens-th" or (errorHandler.buildDepError "microlens-th")) (hsPkgs."mmorph" or (errorHandler.buildDepError "mmorph")) - (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - (hsPkgs."network" or (errorHandler.buildDepError "network")) - (hsPkgs."process" or (errorHandler.buildDepError "process")) - (hsPkgs."resourcet" or (errorHandler.buildDepError "resourcet")) - (hsPkgs."stm" or (errorHandler.buildDepError "stm")) - (hsPkgs."temporary" or (errorHandler.buildDepError "temporary")) - (hsPkgs."text" or (errorHandler.buildDepError "text")) - (hsPkgs."time" or (errorHandler.buildDepError "time")) + (hsPkgs."monad-control" or (errorHandler.buildDepError "monad-control")) + (hsPkgs."moo" or (errorHandler.buildDepError "moo")) + (hsPkgs."random" or (errorHandler.buildDepError "random")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + (hsPkgs."th-utilities" or (errorHandler.buildDepError "th-utilities")) (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) - (hsPkgs."unliftio" or (errorHandler.buildDepError "unliftio")) - (hsPkgs."unordered-containers" or (errorHandler.buildDepError "unordered-containers")) - (hsPkgs."yaml" or (errorHandler.buildDepError "yaml")) - ] ++ (pkgs.lib).optional (system.isWindows) (hsPkgs."Win32-network" or (errorHandler.buildDepError "Win32-network")); + (hsPkgs."tree-diff" or (errorHandler.buildDepError "tree-diff")) + (hsPkgs."typerep-map" or (errorHandler.buildDepError "typerep-map")) + ]; buildable = true; }; + tests = { + "goblin-test" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."hedgehog" or (errorHandler.buildDepError "hedgehog")) + (hsPkgs."goblins" or (errorHandler.buildDepError "goblins")) + (hsPkgs."temporary" or (errorHandler.buildDepError "temporary")) + ]; + buildable = true; + }; + }; }; } // rec { - src = (pkgs.lib).mkDefault /nix/store/v5ky06bax11582i8x13f1sl27mbnylc1-hedgehog-extras-edf6945; + src = (pkgs.lib).mkDefault /nix/store/4hpdshkfiqw93mp84jsnws4p3826iv4r-goblins-cde90a2; } diff --git a/nix/materialized/stack-nix/.stack-to-nix.cache.49 b/nix/materialized/stack-nix/.stack-to-nix.cache.49 index 7ad2dae7c0b..7783121f5bf 100644 --- a/nix/materialized/stack-nix/.stack-to-nix.cache.49 +++ b/nix/materialized/stack-nix/.stack-to-nix.cache.49 @@ -10,26 +10,48 @@ { flags = {}; package = { - specVersion = "1.10"; - identifier = { name = "contra-tracer"; version = "0.1.0.0"; }; + specVersion = "2.4"; + identifier = { name = "hedgehog-extras"; version = "0.1.0.0"; }; license = "Apache-2.0"; - copyright = "2019 IOHK"; + copyright = ""; maintainer = "operations@iohk.io"; - author = "Neil Davies, Alexander Diemand, Andreas Triantafyllos"; + author = "IOHK"; homepage = ""; url = ""; - synopsis = "A simple interface for logging, tracing or monitoring."; - description = ""; + synopsis = "Supplemental library for hedgehog"; + description = "Supplemental library for hedgehog."; buildType = "Simple"; }; components = { "library" = { depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) - ] ++ (pkgs.lib).optional (compiler.isGhc && (compiler.version).lt "8.5") (hsPkgs."contravariant" or (errorHandler.buildDepError "contravariant")); + (hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) + (hsPkgs."aeson-pretty" or (errorHandler.buildDepError "aeson-pretty")) + (hsPkgs."async" or (errorHandler.buildDepError "async")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."exceptions" or (errorHandler.buildDepError "exceptions")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."hedgehog" or (errorHandler.buildDepError "hedgehog")) + (hsPkgs."mmorph" or (errorHandler.buildDepError "mmorph")) + (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) + (hsPkgs."network" or (errorHandler.buildDepError "network")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + (hsPkgs."resourcet" or (errorHandler.buildDepError "resourcet")) + (hsPkgs."stm" or (errorHandler.buildDepError "stm")) + (hsPkgs."temporary" or (errorHandler.buildDepError "temporary")) + (hsPkgs."text" or (errorHandler.buildDepError "text")) + (hsPkgs."time" or (errorHandler.buildDepError "time")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + (hsPkgs."unliftio" or (errorHandler.buildDepError "unliftio")) + (hsPkgs."unordered-containers" or (errorHandler.buildDepError "unordered-containers")) + (hsPkgs."yaml" or (errorHandler.buildDepError "yaml")) + ] ++ (pkgs.lib).optional (system.isWindows) (hsPkgs."Win32-network" or (errorHandler.buildDepError "Win32-network")); buildable = true; }; }; } // rec { - src = (pkgs.lib).mkDefault /nix/store/dp15xfc309h2xx301937iacq5wym27gy-iohk-monitoring-framework-808724f/contra-tracer; + src = (pkgs.lib).mkDefault /nix/store/v5ky06bax11582i8x13f1sl27mbnylc1-hedgehog-extras-edf6945; } diff --git a/nix/materialized/stack-nix/.stack-to-nix.cache.50 b/nix/materialized/stack-nix/.stack-to-nix.cache.50 index f811f4c28ce..7ad2dae7c0b 100644 --- a/nix/materialized/stack-nix/.stack-to-nix.cache.50 +++ b/nix/materialized/stack-nix/.stack-to-nix.cache.50 @@ -8,17 +8,17 @@ , config , ... }: { - flags = { disable-observables = false; performance-test-queue = false; }; + flags = {}; package = { specVersion = "1.10"; - identifier = { name = "iohk-monitoring"; version = "0.1.10.1"; }; + identifier = { name = "contra-tracer"; version = "0.1.0.0"; }; license = "Apache-2.0"; - copyright = "2018 IOHK"; + copyright = "2019 IOHK"; maintainer = "operations@iohk.io"; - author = "Alexander Diemand, Andreas Triantafyllos"; + author = "Neil Davies, Alexander Diemand, Andreas Triantafyllos"; homepage = ""; url = ""; - synopsis = "logging, benchmarking and monitoring framework"; + synopsis = "A simple interface for logging, tracing or monitoring."; description = ""; buildType = "Simple"; }; @@ -26,84 +26,10 @@ "library" = { depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."contra-tracer" or (errorHandler.buildDepError "contra-tracer")) - (hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) - (hsPkgs."array" or (errorHandler.buildDepError "array")) - (hsPkgs."async" or (errorHandler.buildDepError "async")) - (hsPkgs."async-timer" or (errorHandler.buildDepError "async-timer")) - (hsPkgs."attoparsec" or (errorHandler.buildDepError "attoparsec")) - (hsPkgs."auto-update" or (errorHandler.buildDepError "auto-update")) - (hsPkgs."base64-bytestring" or (errorHandler.buildDepError "base64-bytestring")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."clock" or (errorHandler.buildDepError "clock")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."contravariant" or (errorHandler.buildDepError "contravariant")) - (hsPkgs."directory" or (errorHandler.buildDepError "directory")) - (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) - (hsPkgs."ekg" or (errorHandler.buildDepError "ekg")) - (hsPkgs."katip" or (errorHandler.buildDepError "katip")) - (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - (hsPkgs."network" or (errorHandler.buildDepError "network")) - (hsPkgs."safe" or (errorHandler.buildDepError "safe")) - (hsPkgs."safe-exceptions" or (errorHandler.buildDepError "safe-exceptions")) - (hsPkgs."scientific" or (errorHandler.buildDepError "scientific")) - (hsPkgs."stm" or (errorHandler.buildDepError "stm")) - (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) - (hsPkgs."text" or (errorHandler.buildDepError "text")) - (hsPkgs."time" or (errorHandler.buildDepError "time")) - (hsPkgs."time-units" or (errorHandler.buildDepError "time-units")) - (hsPkgs."tracer-transformers" or (errorHandler.buildDepError "tracer-transformers")) - (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) - (hsPkgs."unordered-containers" or (errorHandler.buildDepError "unordered-containers")) - (hsPkgs."vector" or (errorHandler.buildDepError "vector")) - (hsPkgs."Win32-network" or (errorHandler.buildDepError "Win32-network")) - (hsPkgs."yaml" or (errorHandler.buildDepError "yaml")) - (hsPkgs."libyaml" or (errorHandler.buildDepError "libyaml")) - ] ++ (if system.isWindows - then [ (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) ] - else [ (hsPkgs."unix" or (errorHandler.buildDepError "unix")) ]); + ] ++ (pkgs.lib).optional (compiler.isGhc && (compiler.version).lt "8.5") (hsPkgs."contravariant" or (errorHandler.buildDepError "contravariant")); buildable = true; }; - tests = { - "tests" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."contra-tracer" or (errorHandler.buildDepError "contra-tracer")) - (hsPkgs."iohk-monitoring" or (errorHandler.buildDepError "iohk-monitoring")) - (hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) - (hsPkgs."array" or (errorHandler.buildDepError "array")) - (hsPkgs."async" or (errorHandler.buildDepError "async")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."clock" or (errorHandler.buildDepError "clock")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."directory" or (errorHandler.buildDepError "directory")) - (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) - (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - (hsPkgs."process" or (errorHandler.buildDepError "process")) - (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) - (hsPkgs."random" or (errorHandler.buildDepError "random")) - (hsPkgs."semigroups" or (errorHandler.buildDepError "semigroups")) - (hsPkgs."split" or (errorHandler.buildDepError "split")) - (hsPkgs."stm" or (errorHandler.buildDepError "stm")) - (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) - (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) - (hsPkgs."temporary" or (errorHandler.buildDepError "temporary")) - (hsPkgs."text" or (errorHandler.buildDepError "text")) - (hsPkgs."time" or (errorHandler.buildDepError "time")) - (hsPkgs."time-units" or (errorHandler.buildDepError "time-units")) - (hsPkgs."tracer-transformers" or (errorHandler.buildDepError "tracer-transformers")) - (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) - (hsPkgs."unordered-containers" or (errorHandler.buildDepError "unordered-containers")) - (hsPkgs."vector" or (errorHandler.buildDepError "vector")) - (hsPkgs."void" or (errorHandler.buildDepError "void")) - (hsPkgs."yaml" or (errorHandler.buildDepError "yaml")) - (hsPkgs."libyaml" or (errorHandler.buildDepError "libyaml")) - ]; - buildable = true; - }; - }; }; } // rec { - src = (pkgs.lib).mkDefault /nix/store/dp15xfc309h2xx301937iacq5wym27gy-iohk-monitoring-framework-808724f/iohk-monitoring; + src = (pkgs.lib).mkDefault /nix/store/dp15xfc309h2xx301937iacq5wym27gy-iohk-monitoring-framework-808724f/contra-tracer; } diff --git a/nix/materialized/stack-nix/.stack-to-nix.cache.51 b/nix/materialized/stack-nix/.stack-to-nix.cache.51 index 8f67f2aea75..f811f4c28ce 100644 --- a/nix/materialized/stack-nix/.stack-to-nix.cache.51 +++ b/nix/materialized/stack-nix/.stack-to-nix.cache.51 @@ -8,20 +8,17 @@ , config , ... }: { - flags = {}; + flags = { disable-observables = false; performance-test-queue = false; }; package = { - specVersion = "2.0"; - identifier = { - name = "lobemo-backend-aggregation"; - version = "0.1.0.0"; - }; + specVersion = "1.10"; + identifier = { name = "iohk-monitoring"; version = "0.1.10.1"; }; license = "Apache-2.0"; - copyright = "2019 IOHK"; + copyright = "2018 IOHK"; maintainer = "operations@iohk.io"; - author = "Alexander Diemand"; - homepage = "https://github.com/input-output-hk/iohk-monitoring-framework"; + author = "Alexander Diemand, Andreas Triantafyllos"; + homepage = ""; url = ""; - synopsis = "provides a backend implementation to aggregate traced values"; + synopsis = "logging, benchmarking and monitoring framework"; description = ""; buildType = "Simple"; }; @@ -29,20 +26,84 @@ "library" = { depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."iohk-monitoring" or (errorHandler.buildDepError "iohk-monitoring")) + (hsPkgs."contra-tracer" or (errorHandler.buildDepError "contra-tracer")) (hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) (hsPkgs."async" or (errorHandler.buildDepError "async")) - (hsPkgs."text" or (errorHandler.buildDepError "text")) - (hsPkgs."time" or (errorHandler.buildDepError "time")) + (hsPkgs."async-timer" or (errorHandler.buildDepError "async-timer")) + (hsPkgs."attoparsec" or (errorHandler.buildDepError "attoparsec")) + (hsPkgs."auto-update" or (errorHandler.buildDepError "auto-update")) + (hsPkgs."base64-bytestring" or (errorHandler.buildDepError "base64-bytestring")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."clock" or (errorHandler.buildDepError "clock")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."contravariant" or (errorHandler.buildDepError "contravariant")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."ekg" or (errorHandler.buildDepError "ekg")) + (hsPkgs."katip" or (errorHandler.buildDepError "katip")) + (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) + (hsPkgs."network" or (errorHandler.buildDepError "network")) + (hsPkgs."safe" or (errorHandler.buildDepError "safe")) (hsPkgs."safe-exceptions" or (errorHandler.buildDepError "safe-exceptions")) + (hsPkgs."scientific" or (errorHandler.buildDepError "scientific")) (hsPkgs."stm" or (errorHandler.buildDepError "stm")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + (hsPkgs."text" or (errorHandler.buildDepError "text")) + (hsPkgs."time" or (errorHandler.buildDepError "time")) + (hsPkgs."time-units" or (errorHandler.buildDepError "time-units")) + (hsPkgs."tracer-transformers" or (errorHandler.buildDepError "tracer-transformers")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) (hsPkgs."unordered-containers" or (errorHandler.buildDepError "unordered-containers")) + (hsPkgs."vector" or (errorHandler.buildDepError "vector")) + (hsPkgs."Win32-network" or (errorHandler.buildDepError "Win32-network")) + (hsPkgs."yaml" or (errorHandler.buildDepError "yaml")) + (hsPkgs."libyaml" or (errorHandler.buildDepError "libyaml")) ] ++ (if system.isWindows then [ (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) ] else [ (hsPkgs."unix" or (errorHandler.buildDepError "unix")) ]); buildable = true; }; + tests = { + "tests" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."contra-tracer" or (errorHandler.buildDepError "contra-tracer")) + (hsPkgs."iohk-monitoring" or (errorHandler.buildDepError "iohk-monitoring")) + (hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."async" or (errorHandler.buildDepError "async")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."clock" or (errorHandler.buildDepError "clock")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) + (hsPkgs."random" or (errorHandler.buildDepError "random")) + (hsPkgs."semigroups" or (errorHandler.buildDepError "semigroups")) + (hsPkgs."split" or (errorHandler.buildDepError "split")) + (hsPkgs."stm" or (errorHandler.buildDepError "stm")) + (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) + (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) + (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) + (hsPkgs."temporary" or (errorHandler.buildDepError "temporary")) + (hsPkgs."text" or (errorHandler.buildDepError "text")) + (hsPkgs."time" or (errorHandler.buildDepError "time")) + (hsPkgs."time-units" or (errorHandler.buildDepError "time-units")) + (hsPkgs."tracer-transformers" or (errorHandler.buildDepError "tracer-transformers")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + (hsPkgs."unordered-containers" or (errorHandler.buildDepError "unordered-containers")) + (hsPkgs."vector" or (errorHandler.buildDepError "vector")) + (hsPkgs."void" or (errorHandler.buildDepError "void")) + (hsPkgs."yaml" or (errorHandler.buildDepError "yaml")) + (hsPkgs."libyaml" or (errorHandler.buildDepError "libyaml")) + ]; + buildable = true; + }; + }; }; } // rec { - src = (pkgs.lib).mkDefault /nix/store/dp15xfc309h2xx301937iacq5wym27gy-iohk-monitoring-framework-808724f/plugins/backend-aggregation; + src = (pkgs.lib).mkDefault /nix/store/dp15xfc309h2xx301937iacq5wym27gy-iohk-monitoring-framework-808724f/iohk-monitoring; } diff --git a/nix/materialized/stack-nix/.stack-to-nix.cache.52 b/nix/materialized/stack-nix/.stack-to-nix.cache.52 index 85c26399f99..8f67f2aea75 100644 --- a/nix/materialized/stack-nix/.stack-to-nix.cache.52 +++ b/nix/materialized/stack-nix/.stack-to-nix.cache.52 @@ -11,14 +11,17 @@ flags = {}; package = { specVersion = "2.0"; - identifier = { name = "lobemo-backend-ekg"; version = "0.1.0.1"; }; + identifier = { + name = "lobemo-backend-aggregation"; + version = "0.1.0.0"; + }; license = "Apache-2.0"; copyright = "2019 IOHK"; maintainer = "operations@iohk.io"; author = "Alexander Diemand"; homepage = "https://github.com/input-output-hk/iohk-monitoring-framework"; url = ""; - synopsis = "provides a backend implementation to EKG"; + synopsis = "provides a backend implementation to aggregate traced values"; description = ""; buildType = "Simple"; }; @@ -26,23 +29,20 @@ "library" = { depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."iohk-monitoring" or (errorHandler.buildDepError "iohk-monitoring")) (hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) (hsPkgs."async" or (errorHandler.buildDepError "async")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."ekg" or (errorHandler.buildDepError "ekg")) - (hsPkgs."ekg-core" or (errorHandler.buildDepError "ekg-core")) - (hsPkgs."iohk-monitoring" or (errorHandler.buildDepError "iohk-monitoring")) - (hsPkgs."safe-exceptions" or (errorHandler.buildDepError "safe-exceptions")) - (hsPkgs."snap-core" or (errorHandler.buildDepError "snap-core")) - (hsPkgs."snap-server" or (errorHandler.buildDepError "snap-server")) - (hsPkgs."stm" or (errorHandler.buildDepError "stm")) (hsPkgs."text" or (errorHandler.buildDepError "text")) (hsPkgs."time" or (errorHandler.buildDepError "time")) + (hsPkgs."safe-exceptions" or (errorHandler.buildDepError "safe-exceptions")) + (hsPkgs."stm" or (errorHandler.buildDepError "stm")) (hsPkgs."unordered-containers" or (errorHandler.buildDepError "unordered-containers")) - ]; + ] ++ (if system.isWindows + then [ (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) ] + else [ (hsPkgs."unix" or (errorHandler.buildDepError "unix")) ]); buildable = true; }; }; } // rec { - src = (pkgs.lib).mkDefault /nix/store/dp15xfc309h2xx301937iacq5wym27gy-iohk-monitoring-framework-808724f/plugins/backend-ekg; + src = (pkgs.lib).mkDefault /nix/store/dp15xfc309h2xx301937iacq5wym27gy-iohk-monitoring-framework-808724f/plugins/backend-aggregation; } diff --git a/nix/materialized/stack-nix/.stack-to-nix.cache.53 b/nix/materialized/stack-nix/.stack-to-nix.cache.53 index 6a9b16a717f..85c26399f99 100644 --- a/nix/materialized/stack-nix/.stack-to-nix.cache.53 +++ b/nix/materialized/stack-nix/.stack-to-nix.cache.53 @@ -11,14 +11,14 @@ flags = {}; package = { specVersion = "2.0"; - identifier = { name = "lobemo-backend-monitoring"; version = "0.1.0.0"; }; + identifier = { name = "lobemo-backend-ekg"; version = "0.1.0.1"; }; license = "Apache-2.0"; copyright = "2019 IOHK"; maintainer = "operations@iohk.io"; author = "Alexander Diemand"; homepage = "https://github.com/input-output-hk/iohk-monitoring-framework"; url = ""; - synopsis = "provides a backend implementation for monitoring"; + synopsis = "provides a backend implementation to EKG"; description = ""; buildType = "Simple"; }; @@ -26,59 +26,23 @@ "library" = { depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."iohk-monitoring" or (errorHandler.buildDepError "iohk-monitoring")) (hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) (hsPkgs."async" or (errorHandler.buildDepError "async")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."ekg" or (errorHandler.buildDepError "ekg")) + (hsPkgs."ekg-core" or (errorHandler.buildDepError "ekg-core")) + (hsPkgs."iohk-monitoring" or (errorHandler.buildDepError "iohk-monitoring")) (hsPkgs."safe-exceptions" or (errorHandler.buildDepError "safe-exceptions")) + (hsPkgs."snap-core" or (errorHandler.buildDepError "snap-core")) + (hsPkgs."snap-server" or (errorHandler.buildDepError "snap-server")) (hsPkgs."stm" or (errorHandler.buildDepError "stm")) (hsPkgs."text" or (errorHandler.buildDepError "text")) (hsPkgs."time" or (errorHandler.buildDepError "time")) (hsPkgs."unordered-containers" or (errorHandler.buildDepError "unordered-containers")) - ] ++ (if system.isWindows - then [ (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) ] - else [ (hsPkgs."unix" or (errorHandler.buildDepError "unix")) ]); + ]; buildable = true; }; - tests = { - "tests" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."contra-tracer" or (errorHandler.buildDepError "contra-tracer")) - (hsPkgs."iohk-monitoring" or (errorHandler.buildDepError "iohk-monitoring")) - (hsPkgs."lobemo-backend-monitoring" or (errorHandler.buildDepError "lobemo-backend-monitoring")) - (hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) - (hsPkgs."array" or (errorHandler.buildDepError "array")) - (hsPkgs."async" or (errorHandler.buildDepError "async")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."clock" or (errorHandler.buildDepError "clock")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."directory" or (errorHandler.buildDepError "directory")) - (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) - (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - (hsPkgs."process" or (errorHandler.buildDepError "process")) - (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) - (hsPkgs."random" or (errorHandler.buildDepError "random")) - (hsPkgs."semigroups" or (errorHandler.buildDepError "semigroups")) - (hsPkgs."split" or (errorHandler.buildDepError "split")) - (hsPkgs."stm" or (errorHandler.buildDepError "stm")) - (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) - (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) - (hsPkgs."temporary" or (errorHandler.buildDepError "temporary")) - (hsPkgs."text" or (errorHandler.buildDepError "text")) - (hsPkgs."time" or (errorHandler.buildDepError "time")) - (hsPkgs."time-units" or (errorHandler.buildDepError "time-units")) - (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) - (hsPkgs."unordered-containers" or (errorHandler.buildDepError "unordered-containers")) - (hsPkgs."vector" or (errorHandler.buildDepError "vector")) - (hsPkgs."void" or (errorHandler.buildDepError "void")) - (hsPkgs."yaml" or (errorHandler.buildDepError "yaml")) - (hsPkgs."libyaml" or (errorHandler.buildDepError "libyaml")) - ]; - buildable = true; - }; - }; }; } // rec { - src = (pkgs.lib).mkDefault /nix/store/dp15xfc309h2xx301937iacq5wym27gy-iohk-monitoring-framework-808724f/plugins/backend-monitoring; + src = (pkgs.lib).mkDefault /nix/store/dp15xfc309h2xx301937iacq5wym27gy-iohk-monitoring-framework-808724f/plugins/backend-ekg; } diff --git a/nix/materialized/stack-nix/.stack-to-nix.cache.54 b/nix/materialized/stack-nix/.stack-to-nix.cache.54 index 9f5e95aba97..6a9b16a717f 100644 --- a/nix/materialized/stack-nix/.stack-to-nix.cache.54 +++ b/nix/materialized/stack-nix/.stack-to-nix.cache.54 @@ -11,17 +11,14 @@ flags = {}; package = { specVersion = "2.0"; - identifier = { - name = "lobemo-backend-trace-forwarder"; - version = "0.1.0.0"; - }; + identifier = { name = "lobemo-backend-monitoring"; version = "0.1.0.0"; }; license = "Apache-2.0"; - copyright = "2020 IOHK"; + copyright = "2019 IOHK"; maintainer = "operations@iohk.io"; author = "Alexander Diemand"; homepage = "https://github.com/input-output-hk/iohk-monitoring-framework"; url = ""; - synopsis = "this backend forwards log items to a trace acceptor"; + synopsis = "provides a backend implementation for monitoring"; description = ""; buildType = "Simple"; }; @@ -32,17 +29,56 @@ (hsPkgs."iohk-monitoring" or (errorHandler.buildDepError "iohk-monitoring")) (hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) (hsPkgs."async" or (errorHandler.buildDepError "async")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."network" or (errorHandler.buildDepError "network")) (hsPkgs."safe-exceptions" or (errorHandler.buildDepError "safe-exceptions")) (hsPkgs."stm" or (errorHandler.buildDepError "stm")) (hsPkgs."text" or (errorHandler.buildDepError "text")) (hsPkgs."time" or (errorHandler.buildDepError "time")) - (hsPkgs."unix-compat" or (errorHandler.buildDepError "unix-compat")) - ]; + (hsPkgs."unordered-containers" or (errorHandler.buildDepError "unordered-containers")) + ] ++ (if system.isWindows + then [ (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) ] + else [ (hsPkgs."unix" or (errorHandler.buildDepError "unix")) ]); buildable = true; }; + tests = { + "tests" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."contra-tracer" or (errorHandler.buildDepError "contra-tracer")) + (hsPkgs."iohk-monitoring" or (errorHandler.buildDepError "iohk-monitoring")) + (hsPkgs."lobemo-backend-monitoring" or (errorHandler.buildDepError "lobemo-backend-monitoring")) + (hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."async" or (errorHandler.buildDepError "async")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."clock" or (errorHandler.buildDepError "clock")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) + (hsPkgs."random" or (errorHandler.buildDepError "random")) + (hsPkgs."semigroups" or (errorHandler.buildDepError "semigroups")) + (hsPkgs."split" or (errorHandler.buildDepError "split")) + (hsPkgs."stm" or (errorHandler.buildDepError "stm")) + (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) + (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) + (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) + (hsPkgs."temporary" or (errorHandler.buildDepError "temporary")) + (hsPkgs."text" or (errorHandler.buildDepError "text")) + (hsPkgs."time" or (errorHandler.buildDepError "time")) + (hsPkgs."time-units" or (errorHandler.buildDepError "time-units")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + (hsPkgs."unordered-containers" or (errorHandler.buildDepError "unordered-containers")) + (hsPkgs."vector" or (errorHandler.buildDepError "vector")) + (hsPkgs."void" or (errorHandler.buildDepError "void")) + (hsPkgs."yaml" or (errorHandler.buildDepError "yaml")) + (hsPkgs."libyaml" or (errorHandler.buildDepError "libyaml")) + ]; + buildable = true; + }; + }; }; } // rec { - src = (pkgs.lib).mkDefault /nix/store/dp15xfc309h2xx301937iacq5wym27gy-iohk-monitoring-framework-808724f/plugins/backend-trace-forwarder; + src = (pkgs.lib).mkDefault /nix/store/dp15xfc309h2xx301937iacq5wym27gy-iohk-monitoring-framework-808724f/plugins/backend-monitoring; } diff --git a/nix/materialized/stack-nix/.stack-to-nix.cache.55 b/nix/materialized/stack-nix/.stack-to-nix.cache.55 index aedb0bb722a..9f5e95aba97 100644 --- a/nix/materialized/stack-nix/.stack-to-nix.cache.55 +++ b/nix/materialized/stack-nix/.stack-to-nix.cache.55 @@ -11,39 +11,38 @@ flags = {}; package = { specVersion = "2.0"; - identifier = { name = "lobemo-scribe-systemd"; version = "0.1.0.0"; }; + identifier = { + name = "lobemo-backend-trace-forwarder"; + version = "0.1.0.0"; + }; license = "Apache-2.0"; - copyright = "2019 IOHK"; + copyright = "2020 IOHK"; maintainer = "operations@iohk.io"; author = "Alexander Diemand"; homepage = "https://github.com/input-output-hk/iohk-monitoring-framework"; url = ""; - synopsis = "provides a backend for logging to systemd/journal"; + synopsis = "this backend forwards log items to a trace acceptor"; description = ""; buildType = "Simple"; }; components = { "library" = { - depends = ([ + depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) (hsPkgs."iohk-monitoring" or (errorHandler.buildDepError "iohk-monitoring")) (hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) + (hsPkgs."async" or (errorHandler.buildDepError "async")) (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."katip" or (errorHandler.buildDepError "katip")) + (hsPkgs."network" or (errorHandler.buildDepError "network")) + (hsPkgs."safe-exceptions" or (errorHandler.buildDepError "safe-exceptions")) + (hsPkgs."stm" or (errorHandler.buildDepError "stm")) (hsPkgs."text" or (errorHandler.buildDepError "text")) - (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) - (hsPkgs."unordered-containers" or (errorHandler.buildDepError "unordered-containers")) - ] ++ (if system.isWindows - then [ (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) ] - else [ - (hsPkgs."unix" or (errorHandler.buildDepError "unix")) - ])) ++ (pkgs.lib).optionals (system.isLinux) [ - (hsPkgs."hsyslog" or (errorHandler.buildDepError "hsyslog")) - (hsPkgs."libsystemd-journal" or (errorHandler.buildDepError "libsystemd-journal")) + (hsPkgs."time" or (errorHandler.buildDepError "time")) + (hsPkgs."unix-compat" or (errorHandler.buildDepError "unix-compat")) ]; buildable = true; }; }; } // rec { - src = (pkgs.lib).mkDefault /nix/store/dp15xfc309h2xx301937iacq5wym27gy-iohk-monitoring-framework-808724f/plugins/scribe-systemd; + src = (pkgs.lib).mkDefault /nix/store/dp15xfc309h2xx301937iacq5wym27gy-iohk-monitoring-framework-808724f/plugins/backend-trace-forwarder; } diff --git a/nix/materialized/stack-nix/.stack-to-nix.cache.56 b/nix/materialized/stack-nix/.stack-to-nix.cache.56 index 9a1a640be70..aedb0bb722a 100644 --- a/nix/materialized/stack-nix/.stack-to-nix.cache.56 +++ b/nix/materialized/stack-nix/.stack-to-nix.cache.56 @@ -10,49 +10,40 @@ { flags = {}; package = { - specVersion = "1.10"; - identifier = { name = "tracer-transformers"; version = "0.1.0.1"; }; + specVersion = "2.0"; + identifier = { name = "lobemo-scribe-systemd"; version = "0.1.0.0"; }; license = "Apache-2.0"; copyright = "2019 IOHK"; maintainer = "operations@iohk.io"; - author = "Neil Davies, Alexander Diemand, Andreas Triantafyllos"; - homepage = ""; + author = "Alexander Diemand"; + homepage = "https://github.com/input-output-hk/iohk-monitoring-framework"; url = ""; - synopsis = "tracer transformers and examples showing their use"; + synopsis = "provides a backend for logging to systemd/journal"; description = ""; buildType = "Simple"; }; components = { "library" = { - depends = [ + depends = ([ (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."contra-tracer" or (errorHandler.buildDepError "contra-tracer")) - (hsPkgs."time" or (errorHandler.buildDepError "time")) - (hsPkgs."safe-exceptions" or (errorHandler.buildDepError "safe-exceptions")) - ] ++ (pkgs.lib).optional (compiler.isGhc && (compiler.version).lt "8.5") (hsPkgs."contravariant" or (errorHandler.buildDepError "contravariant")); + (hsPkgs."iohk-monitoring" or (errorHandler.buildDepError "iohk-monitoring")) + (hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."katip" or (errorHandler.buildDepError "katip")) + (hsPkgs."text" or (errorHandler.buildDepError "text")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + (hsPkgs."unordered-containers" or (errorHandler.buildDepError "unordered-containers")) + ] ++ (if system.isWindows + then [ (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) ] + else [ + (hsPkgs."unix" or (errorHandler.buildDepError "unix")) + ])) ++ (pkgs.lib).optionals (system.isLinux) [ + (hsPkgs."hsyslog" or (errorHandler.buildDepError "hsyslog")) + (hsPkgs."libsystemd-journal" or (errorHandler.buildDepError "libsystemd-journal")) + ]; buildable = true; }; - exes = { - "tracer-transfomers-example1" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."contra-tracer" or (errorHandler.buildDepError "contra-tracer")) - (hsPkgs."time" or (errorHandler.buildDepError "time")) - (hsPkgs."tracer-transformers" or (errorHandler.buildDepError "tracer-transformers")) - ]; - buildable = true; - }; - "tracer-transfomers-example2" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."contra-tracer" or (errorHandler.buildDepError "contra-tracer")) - (hsPkgs."text" or (errorHandler.buildDepError "text")) - (hsPkgs."tracer-transformers" or (errorHandler.buildDepError "tracer-transformers")) - ]; - buildable = true; - }; - }; }; } // rec { - src = (pkgs.lib).mkDefault /nix/store/dp15xfc309h2xx301937iacq5wym27gy-iohk-monitoring-framework-808724f/tracer-transformers; + src = (pkgs.lib).mkDefault /nix/store/dp15xfc309h2xx301937iacq5wym27gy-iohk-monitoring-framework-808724f/plugins/scribe-systemd; } diff --git a/nix/materialized/stack-nix/.stack-to-nix.cache.57 b/nix/materialized/stack-nix/.stack-to-nix.cache.57 index 729ed6e244b..9a1a640be70 100644 --- a/nix/materialized/stack-nix/.stack-to-nix.cache.57 +++ b/nix/materialized/stack-nix/.stack-to-nix.cache.57 @@ -11,14 +11,14 @@ flags = {}; package = { specVersion = "1.10"; - identifier = { name = "purescript-bridge"; version = "0.13.1.0"; }; - license = "BSD-3-Clause"; - copyright = ""; - maintainer = "robert . klotzner A T gmx . at"; - author = "Robert Klotzner"; + identifier = { name = "tracer-transformers"; version = "0.1.0.1"; }; + license = "Apache-2.0"; + copyright = "2019 IOHK"; + maintainer = "operations@iohk.io"; + author = "Neil Davies, Alexander Diemand, Andreas Triantafyllos"; homepage = ""; url = ""; - synopsis = "Generate PureScript data types from Haskell data types"; + synopsis = "tracer transformers and examples showing their use"; description = ""; buildType = "Simple"; }; @@ -26,33 +26,33 @@ "library" = { depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."directory" or (errorHandler.buildDepError "directory")) - (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) - (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - (hsPkgs."lens" or (errorHandler.buildDepError "lens")) - (hsPkgs."text" or (errorHandler.buildDepError "text")) - (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) - (hsPkgs."wl-pprint-text" or (errorHandler.buildDepError "wl-pprint-text")) - (hsPkgs."generic-deriving" or (errorHandler.buildDepError "generic-deriving")) - ]; + (hsPkgs."contra-tracer" or (errorHandler.buildDepError "contra-tracer")) + (hsPkgs."time" or (errorHandler.buildDepError "time")) + (hsPkgs."safe-exceptions" or (errorHandler.buildDepError "safe-exceptions")) + ] ++ (pkgs.lib).optional (compiler.isGhc && (compiler.version).lt "8.5") (hsPkgs."contravariant" or (errorHandler.buildDepError "contravariant")); buildable = true; }; - tests = { - "tests" = { + exes = { + "tracer-transfomers-example1" = { depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."purescript-bridge" or (errorHandler.buildDepError "purescript-bridge")) + (hsPkgs."contra-tracer" or (errorHandler.buildDepError "contra-tracer")) + (hsPkgs."time" or (errorHandler.buildDepError "time")) + (hsPkgs."tracer-transformers" or (errorHandler.buildDepError "tracer-transformers")) + ]; + buildable = true; + }; + "tracer-transfomers-example2" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."contra-tracer" or (errorHandler.buildDepError "contra-tracer")) (hsPkgs."text" or (errorHandler.buildDepError "text")) - (hsPkgs."wl-pprint-text" or (errorHandler.buildDepError "wl-pprint-text")) - (hsPkgs."hspec" or (errorHandler.buildDepError "hspec")) - (hsPkgs."hspec-expectations-pretty-diff" or (errorHandler.buildDepError "hspec-expectations-pretty-diff")) + (hsPkgs."tracer-transformers" or (errorHandler.buildDepError "tracer-transformers")) ]; buildable = true; }; }; }; } // rec { - src = (pkgs.lib).mkDefault /nix/store/zvdx2gdavxs4rs5b1lnhhrk63ps5nxdq-purescript-bridge-6a92d78; + src = (pkgs.lib).mkDefault /nix/store/dp15xfc309h2xx301937iacq5wym27gy-iohk-monitoring-framework-808724f/tracer-transformers; } diff --git a/nix/materialized/stack-nix/.stack-to-nix.cache.58 b/nix/materialized/stack-nix/.stack-to-nix.cache.58 index d8237487c05..729ed6e244b 100644 --- a/nix/materialized/stack-nix/.stack-to-nix.cache.58 +++ b/nix/materialized/stack-nix/.stack-to-nix.cache.58 @@ -8,17 +8,17 @@ , config , ... }: { - flags = { checktvarinvariant = false; asserts = false; }; + flags = {}; package = { specVersion = "1.10"; - identifier = { name = "io-classes"; version = "0.2.0.0"; }; - license = "Apache-2.0"; - copyright = "2019 Input Output (Hong Kong) Ltd."; - maintainer = ""; - author = "Alexander Vieth, Marcin Szamotulski, Duncan Coutts"; + identifier = { name = "purescript-bridge"; version = "0.13.1.0"; }; + license = "BSD-3-Clause"; + copyright = ""; + maintainer = "robert . klotzner A T gmx . at"; + author = "Robert Klotzner"; homepage = ""; url = ""; - synopsis = "Type classes for concurrency with STM, ST and timing"; + synopsis = "Generate PureScript data types from Haskell data types"; description = ""; buildType = "Simple"; }; @@ -26,27 +26,33 @@ "library" = { depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."async" or (errorHandler.buildDepError "async")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - (hsPkgs."stm" or (errorHandler.buildDepError "stm")) - (hsPkgs."time" or (errorHandler.buildDepError "time")) + (hsPkgs."lens" or (errorHandler.buildDepError "lens")) + (hsPkgs."text" or (errorHandler.buildDepError "text")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + (hsPkgs."wl-pprint-text" or (errorHandler.buildDepError "wl-pprint-text")) + (hsPkgs."generic-deriving" or (errorHandler.buildDepError "generic-deriving")) ]; buildable = true; }; tests = { - "test" = { + "tests" = { depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."io-classes" or (errorHandler.buildDepError "io-classes")) - (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) - (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."purescript-bridge" or (errorHandler.buildDepError "purescript-bridge")) + (hsPkgs."text" or (errorHandler.buildDepError "text")) + (hsPkgs."wl-pprint-text" or (errorHandler.buildDepError "wl-pprint-text")) + (hsPkgs."hspec" or (errorHandler.buildDepError "hspec")) + (hsPkgs."hspec-expectations-pretty-diff" or (errorHandler.buildDepError "hspec-expectations-pretty-diff")) ]; buildable = true; }; }; }; } // rec { - src = (pkgs.lib).mkDefault /nix/store/3ibhj9c6ifdmxi20a77xbdl3qmc5yw3w-ouroboros-network-d2d219a/io-classes; + src = (pkgs.lib).mkDefault /nix/store/zvdx2gdavxs4rs5b1lnhhrk63ps5nxdq-purescript-bridge-6a92d78; } diff --git a/nix/materialized/stack-nix/.stack-to-nix.cache.59 b/nix/materialized/stack-nix/.stack-to-nix.cache.59 index 0495acc7aed..f0e80ea5bc7 100644 --- a/nix/materialized/stack-nix/.stack-to-nix.cache.59 +++ b/nix/materialized/stack-nix/.stack-to-nix.cache.59 @@ -8,17 +8,17 @@ , config , ... }: { - flags = { asserts = false; }; + flags = { checktvarinvariant = false; asserts = false; }; package = { specVersion = "1.10"; - identifier = { name = "io-sim"; version = "0.2.0.0"; }; + identifier = { name = "io-classes"; version = "0.2.0.0"; }; license = "Apache-2.0"; - copyright = "2019-2020 Input Output (Hong Kong) Ltd."; + copyright = "2019 Input Output (Hong Kong) Ltd."; maintainer = ""; - author = "Duncan Coutts, Marcin Szamotulski, Alexander Vieth"; + author = "Alexander Vieth, Marcin Szamotulski, Duncan Coutts"; homepage = ""; url = ""; - synopsis = "A pure simlator for monadic concurrency with STM"; + synopsis = "Type classes for concurrency with STM, ST and timing"; description = ""; buildType = "Simple"; }; @@ -26,12 +26,11 @@ "library" = { depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."io-classes" or (errorHandler.buildDepError "io-classes")) - (hsPkgs."exceptions" or (errorHandler.buildDepError "exceptions")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."psqueues" or (errorHandler.buildDepError "psqueues")) + (hsPkgs."async" or (errorHandler.buildDepError "async")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) + (hsPkgs."stm" or (errorHandler.buildDepError "stm")) (hsPkgs."time" or (errorHandler.buildDepError "time")) - (hsPkgs."quiet" or (errorHandler.buildDepError "quiet")) ]; buildable = true; }; @@ -39,20 +38,15 @@ "test" = { depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."array" or (errorHandler.buildDepError "array")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) (hsPkgs."io-classes" or (errorHandler.buildDepError "io-classes")) - (hsPkgs."io-sim" or (errorHandler.buildDepError "io-sim")) (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) - (hsPkgs."strict-stm" or (errorHandler.buildDepError "strict-stm")) (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) - (hsPkgs."time" or (errorHandler.buildDepError "time")) ]; buildable = true; }; }; }; } // rec { - src = (pkgs.lib).mkDefault /nix/store/3ibhj9c6ifdmxi20a77xbdl3qmc5yw3w-ouroboros-network-d2d219a/io-sim; + src = (pkgs.lib).mkDefault /nix/store/fy9im0ipvv2jsysk65jphamr63h2y23w-ouroboros-network-4fac197/io-classes; } diff --git a/nix/materialized/stack-nix/.stack-to-nix.cache.60 b/nix/materialized/stack-nix/.stack-to-nix.cache.60 index 98ceeff9573..3d1ab372d8c 100644 --- a/nix/materialized/stack-nix/.stack-to-nix.cache.60 +++ b/nix/materialized/stack-nix/.stack-to-nix.cache.60 @@ -8,40 +8,51 @@ , config , ... }: { - flags = {}; + flags = { asserts = false; }; package = { - specVersion = "2.4"; - identifier = { name = "monoidal-synchronisation"; version = "0.1.0.0"; }; + specVersion = "1.10"; + identifier = { name = "io-sim"; version = "0.2.0.0"; }; license = "Apache-2.0"; - copyright = "2021 Input Output (Hong Kong) Ltd."; - maintainer = "coot@coot.me"; - author = "Marcin Szamotulski"; + copyright = "2019-2020 Input Output (Hong Kong) Ltd."; + maintainer = ""; + author = "Duncan Coutts, Marcin Szamotulski, Alexander Vieth"; homepage = ""; url = ""; - synopsis = ""; + synopsis = "A pure simlator for monadic concurrency with STM"; description = ""; buildType = "Simple"; }; components = { "library" = { - depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) ]; + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."io-classes" or (errorHandler.buildDepError "io-classes")) + (hsPkgs."exceptions" or (errorHandler.buildDepError "exceptions")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."psqueues" or (errorHandler.buildDepError "psqueues")) + (hsPkgs."time" or (errorHandler.buildDepError "time")) + (hsPkgs."quiet" or (errorHandler.buildDepError "quiet")) + ]; buildable = true; }; tests = { "test" = { depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."io-classes" or (errorHandler.buildDepError "io-classes")) + (hsPkgs."io-sim" or (errorHandler.buildDepError "io-sim")) (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) + (hsPkgs."strict-stm" or (errorHandler.buildDepError "strict-stm")) (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) - (hsPkgs."io-classes" or (errorHandler.buildDepError "io-classes")) - (hsPkgs."io-sim" or (errorHandler.buildDepError "io-sim")) - (hsPkgs."monoidal-synchronisation" or (errorHandler.buildDepError "monoidal-synchronisation")) + (hsPkgs."time" or (errorHandler.buildDepError "time")) ]; buildable = true; }; }; }; } // rec { - src = (pkgs.lib).mkDefault /nix/store/3ibhj9c6ifdmxi20a77xbdl3qmc5yw3w-ouroboros-network-d2d219a/monoidal-synchronisation; + src = (pkgs.lib).mkDefault /nix/store/fy9im0ipvv2jsysk65jphamr63h2y23w-ouroboros-network-4fac197/io-sim; } diff --git a/nix/materialized/stack-nix/.stack-to-nix.cache.61 b/nix/materialized/stack-nix/.stack-to-nix.cache.61 index 367a44c9787..3f642c64471 100644 --- a/nix/materialized/stack-nix/.stack-to-nix.cache.61 +++ b/nix/materialized/stack-nix/.stack-to-nix.cache.61 @@ -8,110 +8,40 @@ , config , ... }: { - flags = { asserts = false; ipv6 = false; }; + flags = {}; package = { - specVersion = "2.2"; - identifier = { name = "network-mux"; version = "0.1.0.0"; }; + specVersion = "2.4"; + identifier = { name = "monoidal-synchronisation"; version = "0.1.0.0"; }; license = "Apache-2.0"; - copyright = "2019 Input Output (Hong Kong) Ltd."; - maintainer = "duncan@well-typed.com, marcin.szamotulski@iohk.io, marc.fontaine@iohk.io, karl.knutsson@iohk.io, alex@well-typed.com, neil.davies@pnsol.com"; - author = "Duncan Coutts, Marc Fontaine, Karl Knutsson, Marcin Szamotulski, Alexander Vieth, Neil Davies"; + copyright = "2021 Input Output (Hong Kong) Ltd."; + maintainer = "coot@coot.me"; + author = "Marcin Szamotulski"; homepage = ""; url = ""; - synopsis = "Multiplexing library"; + synopsis = ""; description = ""; buildType = "Simple"; }; components = { "library" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."io-classes" or (errorHandler.buildDepError "io-classes")) - (hsPkgs."strict-stm" or (errorHandler.buildDepError "strict-stm")) - (hsPkgs."contra-tracer" or (errorHandler.buildDepError "contra-tracer")) - (hsPkgs."monoidal-synchronisation" or (errorHandler.buildDepError "monoidal-synchronisation")) - (hsPkgs."array" or (errorHandler.buildDepError "array")) - (hsPkgs."binary" or (errorHandler.buildDepError "binary")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."network" or (errorHandler.buildDepError "network")) - (hsPkgs."process" or (errorHandler.buildDepError "process")) - (hsPkgs."statistics-linreg" or (errorHandler.buildDepError "statistics-linreg")) - (hsPkgs."vector" or (errorHandler.buildDepError "vector")) - (hsPkgs."time" or (errorHandler.buildDepError "time")) - (hsPkgs."quiet" or (errorHandler.buildDepError "quiet")) - ] ++ (pkgs.lib).optionals (system.isWindows) [ - (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) - (hsPkgs."Win32-network" or (errorHandler.buildDepError "Win32-network")) - ]; + depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) ]; buildable = true; }; - exes = { - "mux-demo" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."directory" or (errorHandler.buildDepError "directory")) - (hsPkgs."network-mux" or (errorHandler.buildDepError "network-mux")) - (hsPkgs."io-classes" or (errorHandler.buildDepError "io-classes")) - (hsPkgs."contra-tracer" or (errorHandler.buildDepError "contra-tracer")) - (hsPkgs."stm" or (errorHandler.buildDepError "stm")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."cborg" or (errorHandler.buildDepError "cborg")) - (hsPkgs."serialise" or (errorHandler.buildDepError "serialise")) - ] ++ (if system.isWindows - then [ - (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) - (hsPkgs."Win32-network" or (errorHandler.buildDepError "Win32-network")) - ] - else [ - (hsPkgs."network" or (errorHandler.buildDepError "network")) - ]); - buildable = true; - }; - "cardano-ping" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) - (hsPkgs."network-mux" or (errorHandler.buildDepError "network-mux")) - (hsPkgs."io-classes" or (errorHandler.buildDepError "io-classes")) - (hsPkgs."strict-stm" or (errorHandler.buildDepError "strict-stm")) - (hsPkgs."contra-tracer" or (errorHandler.buildDepError "contra-tracer")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."cborg" or (errorHandler.buildDepError "cborg")) - (hsPkgs."network" or (errorHandler.buildDepError "network")) - (hsPkgs."tdigest" or (errorHandler.buildDepError "tdigest")) - (hsPkgs."text" or (errorHandler.buildDepError "text")) - ]; - buildable = if system.isWindows then false else true; - }; - }; tests = { "test" = { depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."io-classes" or (errorHandler.buildDepError "io-classes")) - (hsPkgs."strict-stm" or (errorHandler.buildDepError "strict-stm")) - (hsPkgs."io-sim" or (errorHandler.buildDepError "io-sim")) - (hsPkgs."contra-tracer" or (errorHandler.buildDepError "contra-tracer")) - (hsPkgs."network-mux" or (errorHandler.buildDepError "network-mux")) - (hsPkgs."Win32-network" or (errorHandler.buildDepError "Win32-network")) - (hsPkgs."binary" or (errorHandler.buildDepError "binary")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."cborg" or (errorHandler.buildDepError "cborg")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."network" or (errorHandler.buildDepError "network")) - (hsPkgs."process" or (errorHandler.buildDepError "process")) (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) - (hsPkgs."splitmix" or (errorHandler.buildDepError "splitmix")) - (hsPkgs."serialise" or (errorHandler.buildDepError "serialise")) (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) - (hsPkgs."time" or (errorHandler.buildDepError "time")) - ] ++ (pkgs.lib).optional (system.isWindows) (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")); + (hsPkgs."io-classes" or (errorHandler.buildDepError "io-classes")) + (hsPkgs."io-sim" or (errorHandler.buildDepError "io-sim")) + (hsPkgs."monoidal-synchronisation" or (errorHandler.buildDepError "monoidal-synchronisation")) + ]; buildable = true; }; }; }; } // rec { - src = (pkgs.lib).mkDefault /nix/store/3ibhj9c6ifdmxi20a77xbdl3qmc5yw3w-ouroboros-network-d2d219a/network-mux; + src = (pkgs.lib).mkDefault /nix/store/fy9im0ipvv2jsysk65jphamr63h2y23w-ouroboros-network-4fac197/monoidal-synchronisation; } diff --git a/nix/materialized/stack-nix/.stack-to-nix.cache.62 b/nix/materialized/stack-nix/.stack-to-nix.cache.62 index c036cb25fa5..81f7a695525 100644 --- a/nix/materialized/stack-nix/.stack-to-nix.cache.62 +++ b/nix/materialized/stack-nix/.stack-to-nix.cache.62 @@ -8,17 +8,17 @@ , config , ... }: { - flags = { asserts = false; }; + flags = { asserts = false; ipv6 = false; }; package = { - specVersion = "1.10"; - identifier = { name = "ouroboros-consensus"; version = "0.1.0.0"; }; + specVersion = "2.2"; + identifier = { name = "network-mux"; version = "0.1.0.0"; }; license = "Apache-2.0"; copyright = "2019 Input Output (Hong Kong) Ltd."; - maintainer = "operations@iohk.io"; - author = "IOHK Engineering Team"; + maintainer = "duncan@well-typed.com, marcin.szamotulski@iohk.io, marc.fontaine@iohk.io, karl.knutsson@iohk.io, alex@well-typed.com, neil.davies@pnsol.com"; + author = "Duncan Coutts, Marc Fontaine, Karl Knutsson, Marcin Szamotulski, Alexander Vieth, Neil Davies"; homepage = ""; url = ""; - synopsis = "Consensus layer for the Ouroboros blockchain protocol"; + synopsis = "Multiplexing library"; description = ""; buildType = "Simple"; }; @@ -26,56 +26,92 @@ "library" = { depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."base-deriving-via" or (errorHandler.buildDepError "base-deriving-via")) - (hsPkgs."base16-bytestring" or (errorHandler.buildDepError "base16-bytestring")) - (hsPkgs."bimap" or (errorHandler.buildDepError "bimap")) + (hsPkgs."io-classes" or (errorHandler.buildDepError "io-classes")) + (hsPkgs."strict-stm" or (errorHandler.buildDepError "strict-stm")) + (hsPkgs."contra-tracer" or (errorHandler.buildDepError "contra-tracer")) + (hsPkgs."monoidal-synchronisation" or (errorHandler.buildDepError "monoidal-synchronisation")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) (hsPkgs."binary" or (errorHandler.buildDepError "binary")) (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."cardano-binary" or (errorHandler.buildDepError "cardano-binary")) - (hsPkgs."cardano-crypto-class" or (errorHandler.buildDepError "cardano-crypto-class")) - (hsPkgs."cardano-prelude" or (errorHandler.buildDepError "cardano-prelude")) - (hsPkgs."cardano-slotting" or (errorHandler.buildDepError "cardano-slotting")) - (hsPkgs."cborg" or (errorHandler.buildDepError "cborg")) (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."contra-tracer" or (errorHandler.buildDepError "contra-tracer")) - (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) - (hsPkgs."digest" or (errorHandler.buildDepError "digest")) - (hsPkgs."directory" or (errorHandler.buildDepError "directory")) - (hsPkgs."filelock" or (errorHandler.buildDepError "filelock")) - (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) - (hsPkgs."hashable" or (errorHandler.buildDepError "hashable")) - (hsPkgs."measures" or (errorHandler.buildDepError "measures")) - (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - (hsPkgs."nothunks" or (errorHandler.buildDepError "nothunks")) - (hsPkgs."psqueues" or (errorHandler.buildDepError "psqueues")) - (hsPkgs."random" or (errorHandler.buildDepError "random")) - (hsPkgs."quiet" or (errorHandler.buildDepError "quiet")) - (hsPkgs."semialign" or (errorHandler.buildDepError "semialign")) - (hsPkgs."serialise" or (errorHandler.buildDepError "serialise")) - (hsPkgs."sop-core" or (errorHandler.buildDepError "sop-core")) - (hsPkgs."stm" or (errorHandler.buildDepError "stm")) - (hsPkgs."streaming" or (errorHandler.buildDepError "streaming")) - (hsPkgs."strict-containers" or (errorHandler.buildDepError "strict-containers")) - (hsPkgs."text" or (errorHandler.buildDepError "text")) - (hsPkgs."these" or (errorHandler.buildDepError "these")) - (hsPkgs."time" or (errorHandler.buildDepError "time")) - (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + (hsPkgs."network" or (errorHandler.buildDepError "network")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + (hsPkgs."statistics-linreg" or (errorHandler.buildDepError "statistics-linreg")) (hsPkgs."vector" or (errorHandler.buildDepError "vector")) - (hsPkgs."io-classes" or (errorHandler.buildDepError "io-classes")) - (hsPkgs."typed-protocols" or (errorHandler.buildDepError "typed-protocols")) - (hsPkgs."network-mux" or (errorHandler.buildDepError "network-mux")) - (hsPkgs."ouroboros-network-framework" or (errorHandler.buildDepError "ouroboros-network-framework")) - (hsPkgs."ouroboros-network" or (errorHandler.buildDepError "ouroboros-network")) - (hsPkgs."strict-stm" or (errorHandler.buildDepError "strict-stm")) - ] ++ (if system.isWindows - then [ (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) ] - else [ - (hsPkgs."unix" or (errorHandler.buildDepError "unix")) - (hsPkgs."unix-bytestring" or (errorHandler.buildDepError "unix-bytestring")) - ]); + (hsPkgs."time" or (errorHandler.buildDepError "time")) + (hsPkgs."quiet" or (errorHandler.buildDepError "quiet")) + ] ++ (pkgs.lib).optionals (system.isWindows) [ + (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) + (hsPkgs."Win32-network" or (errorHandler.buildDepError "Win32-network")) + ]; buildable = true; }; + exes = { + "mux-demo" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."network-mux" or (errorHandler.buildDepError "network-mux")) + (hsPkgs."io-classes" or (errorHandler.buildDepError "io-classes")) + (hsPkgs."contra-tracer" or (errorHandler.buildDepError "contra-tracer")) + (hsPkgs."stm" or (errorHandler.buildDepError "stm")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."cborg" or (errorHandler.buildDepError "cborg")) + (hsPkgs."serialise" or (errorHandler.buildDepError "serialise")) + ] ++ (if system.isWindows + then [ + (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) + (hsPkgs."Win32-network" or (errorHandler.buildDepError "Win32-network")) + ] + else [ + (hsPkgs."network" or (errorHandler.buildDepError "network")) + ]); + buildable = true; + }; + "cardano-ping" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) + (hsPkgs."network-mux" or (errorHandler.buildDepError "network-mux")) + (hsPkgs."io-classes" or (errorHandler.buildDepError "io-classes")) + (hsPkgs."strict-stm" or (errorHandler.buildDepError "strict-stm")) + (hsPkgs."contra-tracer" or (errorHandler.buildDepError "contra-tracer")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."cborg" or (errorHandler.buildDepError "cborg")) + (hsPkgs."network" or (errorHandler.buildDepError "network")) + (hsPkgs."tdigest" or (errorHandler.buildDepError "tdigest")) + (hsPkgs."text" or (errorHandler.buildDepError "text")) + ]; + buildable = if system.isWindows then false else true; + }; + }; + tests = { + "test" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."io-classes" or (errorHandler.buildDepError "io-classes")) + (hsPkgs."strict-stm" or (errorHandler.buildDepError "strict-stm")) + (hsPkgs."io-sim" or (errorHandler.buildDepError "io-sim")) + (hsPkgs."contra-tracer" or (errorHandler.buildDepError "contra-tracer")) + (hsPkgs."network-mux" or (errorHandler.buildDepError "network-mux")) + (hsPkgs."Win32-network" or (errorHandler.buildDepError "Win32-network")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."cborg" or (errorHandler.buildDepError "cborg")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."network" or (errorHandler.buildDepError "network")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) + (hsPkgs."splitmix" or (errorHandler.buildDepError "splitmix")) + (hsPkgs."serialise" or (errorHandler.buildDepError "serialise")) + (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) + (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) + (hsPkgs."time" or (errorHandler.buildDepError "time")) + ] ++ (pkgs.lib).optional (system.isWindows) (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")); + buildable = true; + }; + }; }; } // rec { - src = (pkgs.lib).mkDefault /nix/store/3ibhj9c6ifdmxi20a77xbdl3qmc5yw3w-ouroboros-network-d2d219a/ouroboros-consensus; + src = (pkgs.lib).mkDefault /nix/store/fy9im0ipvv2jsysk65jphamr63h2y23w-ouroboros-network-4fac197/network-mux; } diff --git a/nix/materialized/stack-nix/.stack-to-nix.cache.63 b/nix/materialized/stack-nix/.stack-to-nix.cache.63 index 2e3cbeb2e7f..1f35186b06c 100644 --- a/nix/materialized/stack-nix/.stack-to-nix.cache.63 +++ b/nix/materialized/stack-nix/.stack-to-nix.cache.63 @@ -8,17 +8,17 @@ , config , ... }: { - flags = {}; + flags = { asserts = false; }; package = { specVersion = "1.10"; - identifier = { name = "ouroboros-consensus-test"; version = "0.1.0.0"; }; + identifier = { name = "ouroboros-consensus"; version = "0.1.0.0"; }; license = "Apache-2.0"; - copyright = "2020 Input Output (Hong Kong) Ltd."; + copyright = "2019 Input Output (Hong Kong) Ltd."; maintainer = "operations@iohk.io"; author = "IOHK Engineering Team"; homepage = ""; url = ""; - synopsis = "Tests of the consensus layer"; + synopsis = "Consensus layer for the Ouroboros blockchain protocol"; description = ""; buildType = "Simple"; }; @@ -26,8 +26,12 @@ "library" = { depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."base-deriving-via" or (errorHandler.buildDepError "base-deriving-via")) (hsPkgs."base16-bytestring" or (errorHandler.buildDepError "base16-bytestring")) + (hsPkgs."bimap" or (errorHandler.buildDepError "bimap")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."cardano-binary" or (errorHandler.buildDepError "cardano-binary")) (hsPkgs."cardano-crypto-class" or (errorHandler.buildDepError "cardano-crypto-class")) (hsPkgs."cardano-prelude" or (errorHandler.buildDepError "cardano-prelude")) (hsPkgs."cardano-slotting" or (errorHandler.buildDepError "cardano-slotting")) @@ -35,129 +39,43 @@ (hsPkgs."containers" or (errorHandler.buildDepError "containers")) (hsPkgs."contra-tracer" or (errorHandler.buildDepError "contra-tracer")) (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."digest" or (errorHandler.buildDepError "digest")) (hsPkgs."directory" or (errorHandler.buildDepError "directory")) - (hsPkgs."fgl" or (errorHandler.buildDepError "fgl")) - (hsPkgs."file-embed" or (errorHandler.buildDepError "file-embed")) + (hsPkgs."filelock" or (errorHandler.buildDepError "filelock")) (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) - (hsPkgs."generics-sop" or (errorHandler.buildDepError "generics-sop")) - (hsPkgs."graphviz" or (errorHandler.buildDepError "graphviz")) + (hsPkgs."hashable" or (errorHandler.buildDepError "hashable")) + (hsPkgs."measures" or (errorHandler.buildDepError "measures")) (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) (hsPkgs."nothunks" or (errorHandler.buildDepError "nothunks")) - (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) - (hsPkgs."quickcheck-state-machine" or (errorHandler.buildDepError "quickcheck-state-machine")) - (hsPkgs."quiet" or (errorHandler.buildDepError "quiet")) + (hsPkgs."psqueues" or (errorHandler.buildDepError "psqueues")) (hsPkgs."random" or (errorHandler.buildDepError "random")) + (hsPkgs."quiet" or (errorHandler.buildDepError "quiet")) + (hsPkgs."semialign" or (errorHandler.buildDepError "semialign")) (hsPkgs."serialise" or (errorHandler.buildDepError "serialise")) (hsPkgs."sop-core" or (errorHandler.buildDepError "sop-core")) + (hsPkgs."stm" or (errorHandler.buildDepError "stm")) + (hsPkgs."streaming" or (errorHandler.buildDepError "streaming")) (hsPkgs."strict-containers" or (errorHandler.buildDepError "strict-containers")) - (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."tasty-golden" or (errorHandler.buildDepError "tasty-golden")) - (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) - (hsPkgs."typed-protocols" or (errorHandler.buildDepError "typed-protocols")) - (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) (hsPkgs."text" or (errorHandler.buildDepError "text")) + (hsPkgs."these" or (errorHandler.buildDepError "these")) (hsPkgs."time" or (errorHandler.buildDepError "time")) (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) - (hsPkgs."tree-diff" or (errorHandler.buildDepError "tree-diff")) - (hsPkgs."utf8-string" or (errorHandler.buildDepError "utf8-string")) + (hsPkgs."vector" or (errorHandler.buildDepError "vector")) (hsPkgs."io-classes" or (errorHandler.buildDepError "io-classes")) - (hsPkgs."io-sim" or (errorHandler.buildDepError "io-sim")) - (hsPkgs."ouroboros-network" or (errorHandler.buildDepError "ouroboros-network")) + (hsPkgs."typed-protocols" or (errorHandler.buildDepError "typed-protocols")) + (hsPkgs."network-mux" or (errorHandler.buildDepError "network-mux")) (hsPkgs."ouroboros-network-framework" or (errorHandler.buildDepError "ouroboros-network-framework")) - (hsPkgs."ouroboros-consensus" or (errorHandler.buildDepError "ouroboros-consensus")) - ]; + (hsPkgs."ouroboros-network" or (errorHandler.buildDepError "ouroboros-network")) + (hsPkgs."strict-stm" or (errorHandler.buildDepError "strict-stm")) + ] ++ (if system.isWindows + then [ (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) ] + else [ + (hsPkgs."unix" or (errorHandler.buildDepError "unix")) + (hsPkgs."unix-bytestring" or (errorHandler.buildDepError "unix-bytestring")) + ]); buildable = true; }; - tests = { - "test-consensus" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."binary" or (errorHandler.buildDepError "binary")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."cardano-binary" or (errorHandler.buildDepError "cardano-binary")) - (hsPkgs."cardano-crypto-class" or (errorHandler.buildDepError "cardano-crypto-class")) - (hsPkgs."cardano-slotting" or (errorHandler.buildDepError "cardano-slotting")) - (hsPkgs."cborg" or (errorHandler.buildDepError "cborg")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."contra-tracer" or (errorHandler.buildDepError "contra-tracer")) - (hsPkgs."directory" or (errorHandler.buildDepError "directory")) - (hsPkgs."generics-sop" or (errorHandler.buildDepError "generics-sop")) - (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - (hsPkgs."nothunks" or (errorHandler.buildDepError "nothunks")) - (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) - (hsPkgs."quickcheck-state-machine" or (errorHandler.buildDepError "quickcheck-state-machine")) - (hsPkgs."quiet" or (errorHandler.buildDepError "quiet")) - (hsPkgs."serialise" or (errorHandler.buildDepError "serialise")) - (hsPkgs."sop-core" or (errorHandler.buildDepError "sop-core")) - (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) - (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) - (hsPkgs."temporary" or (errorHandler.buildDepError "temporary")) - (hsPkgs."time" or (errorHandler.buildDepError "time")) - (hsPkgs."tree-diff" or (errorHandler.buildDepError "tree-diff")) - (hsPkgs."io-classes" or (errorHandler.buildDepError "io-classes")) - (hsPkgs."io-sim" or (errorHandler.buildDepError "io-sim")) - (hsPkgs."typed-protocols" or (errorHandler.buildDepError "typed-protocols")) - (hsPkgs."ouroboros-network" or (errorHandler.buildDepError "ouroboros-network")) - (hsPkgs."ouroboros-network-framework" or (errorHandler.buildDepError "ouroboros-network-framework")) - (hsPkgs."ouroboros-consensus" or (errorHandler.buildDepError "ouroboros-consensus")) - (hsPkgs."ouroboros-consensus-mock" or (errorHandler.buildDepError "ouroboros-consensus-mock")) - (hsPkgs."ouroboros-consensus-test" or (errorHandler.buildDepError "ouroboros-consensus-test")) - ]; - buildable = true; - }; - "test-storage" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bifunctors" or (errorHandler.buildDepError "bifunctors")) - (hsPkgs."binary" or (errorHandler.buildDepError "binary")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."cardano-crypto-class" or (errorHandler.buildDepError "cardano-crypto-class")) - (hsPkgs."cardano-slotting" or (errorHandler.buildDepError "cardano-slotting")) - (hsPkgs."cborg" or (errorHandler.buildDepError "cborg")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."contra-tracer" or (errorHandler.buildDepError "contra-tracer")) - (hsPkgs."directory" or (errorHandler.buildDepError "directory")) - (hsPkgs."generics-sop" or (errorHandler.buildDepError "generics-sop")) - (hsPkgs."hashable" or (errorHandler.buildDepError "hashable")) - (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - (hsPkgs."nothunks" or (errorHandler.buildDepError "nothunks")) - (hsPkgs."pretty-show" or (errorHandler.buildDepError "pretty-show")) - (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) - (hsPkgs."quickcheck-state-machine" or (errorHandler.buildDepError "quickcheck-state-machine")) - (hsPkgs."random" or (errorHandler.buildDepError "random")) - (hsPkgs."serialise" or (errorHandler.buildDepError "serialise")) - (hsPkgs."strict-containers" or (errorHandler.buildDepError "strict-containers")) - (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) - (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) - (hsPkgs."temporary" or (errorHandler.buildDepError "temporary")) - (hsPkgs."text" or (errorHandler.buildDepError "text")) - (hsPkgs."time" or (errorHandler.buildDepError "time")) - (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) - (hsPkgs."tree-diff" or (errorHandler.buildDepError "tree-diff")) - (hsPkgs."vector" or (errorHandler.buildDepError "vector")) - (hsPkgs."io-classes" or (errorHandler.buildDepError "io-classes")) - (hsPkgs."io-sim" or (errorHandler.buildDepError "io-sim")) - (hsPkgs."ouroboros-network" or (errorHandler.buildDepError "ouroboros-network")) - (hsPkgs."ouroboros-consensus" or (errorHandler.buildDepError "ouroboros-consensus")) - (hsPkgs."ouroboros-consensus-test" or (errorHandler.buildDepError "ouroboros-consensus-test")) - ]; - buildable = true; - }; - "test-infra" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) - (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) - (hsPkgs."ouroboros-consensus" or (errorHandler.buildDepError "ouroboros-consensus")) - (hsPkgs."ouroboros-consensus-test" or (errorHandler.buildDepError "ouroboros-consensus-test")) - ]; - buildable = true; - }; - }; }; } // rec { - src = (pkgs.lib).mkDefault /nix/store/3ibhj9c6ifdmxi20a77xbdl3qmc5yw3w-ouroboros-network-d2d219a/ouroboros-consensus-test; + src = (pkgs.lib).mkDefault /nix/store/fy9im0ipvv2jsysk65jphamr63h2y23w-ouroboros-network-4fac197/ouroboros-consensus; } diff --git a/nix/materialized/stack-nix/.stack-to-nix.cache.64 b/nix/materialized/stack-nix/.stack-to-nix.cache.64 index 254f40e0863..8cd65e767c8 100644 --- a/nix/materialized/stack-nix/.stack-to-nix.cache.64 +++ b/nix/materialized/stack-nix/.stack-to-nix.cache.64 @@ -8,17 +8,17 @@ , config , ... }: { - flags = { asserts = false; }; + flags = {}; package = { specVersion = "1.10"; - identifier = { name = "ouroboros-consensus-byron"; version = "0.1.0.0"; }; + identifier = { name = "ouroboros-consensus-test"; version = "0.1.0.0"; }; license = "Apache-2.0"; - copyright = "2019 Input Output (Hong Kong) Ltd."; + copyright = "2020 Input Output (Hong Kong) Ltd."; maintainer = "operations@iohk.io"; author = "IOHK Engineering Team"; homepage = ""; url = ""; - synopsis = "Byron ledger integration in the Ouroboros consensus layer"; + synopsis = "Tests of the consensus layer"; description = ""; buildType = "Simple"; }; @@ -26,49 +26,138 @@ "library" = { depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."base16-bytestring" or (errorHandler.buildDepError "base16-bytestring")) (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."cardano-binary" or (errorHandler.buildDepError "cardano-binary")) - (hsPkgs."cardano-crypto" or (errorHandler.buildDepError "cardano-crypto")) (hsPkgs."cardano-crypto-class" or (errorHandler.buildDepError "cardano-crypto-class")) - (hsPkgs."cardano-crypto-wrapper" or (errorHandler.buildDepError "cardano-crypto-wrapper")) - (hsPkgs."cardano-ledger-byron" or (errorHandler.buildDepError "cardano-ledger-byron")) (hsPkgs."cardano-prelude" or (errorHandler.buildDepError "cardano-prelude")) (hsPkgs."cardano-slotting" or (errorHandler.buildDepError "cardano-slotting")) (hsPkgs."cborg" or (errorHandler.buildDepError "cborg")) (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."cryptonite" or (errorHandler.buildDepError "cryptonite")) - (hsPkgs."formatting" or (errorHandler.buildDepError "formatting")) + (hsPkgs."contra-tracer" or (errorHandler.buildDepError "contra-tracer")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."fgl" or (errorHandler.buildDepError "fgl")) + (hsPkgs."file-embed" or (errorHandler.buildDepError "file-embed")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."generics-sop" or (errorHandler.buildDepError "generics-sop")) + (hsPkgs."graphviz" or (errorHandler.buildDepError "graphviz")) (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - (hsPkgs."serialise" or (errorHandler.buildDepError "serialise")) (hsPkgs."nothunks" or (errorHandler.buildDepError "nothunks")) + (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) + (hsPkgs."quickcheck-state-machine" or (errorHandler.buildDepError "quickcheck-state-machine")) + (hsPkgs."quiet" or (errorHandler.buildDepError "quiet")) + (hsPkgs."random" or (errorHandler.buildDepError "random")) + (hsPkgs."serialise" or (errorHandler.buildDepError "serialise")) + (hsPkgs."sop-core" or (errorHandler.buildDepError "sop-core")) + (hsPkgs."strict-containers" or (errorHandler.buildDepError "strict-containers")) + (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) + (hsPkgs."tasty-golden" or (errorHandler.buildDepError "tasty-golden")) + (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) + (hsPkgs."typed-protocols" or (errorHandler.buildDepError "typed-protocols")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) (hsPkgs."text" or (errorHandler.buildDepError "text")) + (hsPkgs."time" or (errorHandler.buildDepError "time")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + (hsPkgs."tree-diff" or (errorHandler.buildDepError "tree-diff")) + (hsPkgs."utf8-string" or (errorHandler.buildDepError "utf8-string")) + (hsPkgs."io-classes" or (errorHandler.buildDepError "io-classes")) + (hsPkgs."io-sim" or (errorHandler.buildDepError "io-sim")) (hsPkgs."ouroboros-network" or (errorHandler.buildDepError "ouroboros-network")) + (hsPkgs."ouroboros-network-framework" or (errorHandler.buildDepError "ouroboros-network-framework")) (hsPkgs."ouroboros-consensus" or (errorHandler.buildDepError "ouroboros-consensus")) ]; buildable = true; }; - exes = { - "db-converter" = { + tests = { + "test-consensus" = { depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) (hsPkgs."cardano-binary" or (errorHandler.buildDepError "cardano-binary")) - (hsPkgs."cardano-ledger-byron" or (errorHandler.buildDepError "cardano-ledger-byron")) + (hsPkgs."cardano-crypto-class" or (errorHandler.buildDepError "cardano-crypto-class")) + (hsPkgs."cardano-slotting" or (errorHandler.buildDepError "cardano-slotting")) + (hsPkgs."cborg" or (errorHandler.buildDepError "cborg")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."contra-tracer" or (errorHandler.buildDepError "contra-tracer")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."generics-sop" or (errorHandler.buildDepError "generics-sop")) + (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) + (hsPkgs."nothunks" or (errorHandler.buildDepError "nothunks")) + (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) + (hsPkgs."quickcheck-state-machine" or (errorHandler.buildDepError "quickcheck-state-machine")) + (hsPkgs."quiet" or (errorHandler.buildDepError "quiet")) + (hsPkgs."serialise" or (errorHandler.buildDepError "serialise")) + (hsPkgs."sop-core" or (errorHandler.buildDepError "sop-core")) + (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) + (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) + (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) + (hsPkgs."temporary" or (errorHandler.buildDepError "temporary")) + (hsPkgs."time" or (errorHandler.buildDepError "time")) + (hsPkgs."tree-diff" or (errorHandler.buildDepError "tree-diff")) + (hsPkgs."io-classes" or (errorHandler.buildDepError "io-classes")) + (hsPkgs."io-sim" or (errorHandler.buildDepError "io-sim")) + (hsPkgs."typed-protocols" or (errorHandler.buildDepError "typed-protocols")) + (hsPkgs."ouroboros-network" or (errorHandler.buildDepError "ouroboros-network")) + (hsPkgs."ouroboros-network-framework" or (errorHandler.buildDepError "ouroboros-network-framework")) + (hsPkgs."ouroboros-consensus" or (errorHandler.buildDepError "ouroboros-consensus")) + (hsPkgs."ouroboros-consensus-mock" or (errorHandler.buildDepError "ouroboros-consensus-mock")) + (hsPkgs."ouroboros-consensus-test" or (errorHandler.buildDepError "ouroboros-consensus-test")) + ]; + buildable = true; + }; + "test-storage" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."bifunctors" or (errorHandler.buildDepError "bifunctors")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."cardano-crypto-class" or (errorHandler.buildDepError "cardano-crypto-class")) + (hsPkgs."cardano-slotting" or (errorHandler.buildDepError "cardano-slotting")) + (hsPkgs."cborg" or (errorHandler.buildDepError "cborg")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."contra-tracer" or (errorHandler.buildDepError "contra-tracer")) (hsPkgs."directory" or (errorHandler.buildDepError "directory")) - (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."generics-sop" or (errorHandler.buildDepError "generics-sop")) + (hsPkgs."hashable" or (errorHandler.buildDepError "hashable")) (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - (hsPkgs."optparse-generic" or (errorHandler.buildDepError "optparse-generic")) - (hsPkgs."resourcet" or (errorHandler.buildDepError "resourcet")) - (hsPkgs."streaming" or (errorHandler.buildDepError "streaming")) + (hsPkgs."nothunks" or (errorHandler.buildDepError "nothunks")) + (hsPkgs."pretty-show" or (errorHandler.buildDepError "pretty-show")) + (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) + (hsPkgs."quickcheck-state-machine" or (errorHandler.buildDepError "quickcheck-state-machine")) + (hsPkgs."random" or (errorHandler.buildDepError "random")) + (hsPkgs."serialise" or (errorHandler.buildDepError "serialise")) + (hsPkgs."strict-containers" or (errorHandler.buildDepError "strict-containers")) + (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) + (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) + (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) + (hsPkgs."temporary" or (errorHandler.buildDepError "temporary")) (hsPkgs."text" or (errorHandler.buildDepError "text")) + (hsPkgs."time" or (errorHandler.buildDepError "time")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + (hsPkgs."tree-diff" or (errorHandler.buildDepError "tree-diff")) + (hsPkgs."vector" or (errorHandler.buildDepError "vector")) + (hsPkgs."io-classes" or (errorHandler.buildDepError "io-classes")) + (hsPkgs."io-sim" or (errorHandler.buildDepError "io-sim")) (hsPkgs."ouroboros-network" or (errorHandler.buildDepError "ouroboros-network")) (hsPkgs."ouroboros-consensus" or (errorHandler.buildDepError "ouroboros-consensus")) - (hsPkgs."ouroboros-consensus-byron" or (errorHandler.buildDepError "ouroboros-consensus-byron")) + (hsPkgs."ouroboros-consensus-test" or (errorHandler.buildDepError "ouroboros-consensus-test")) + ]; + buildable = true; + }; + "test-infra" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) + (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) + (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) + (hsPkgs."ouroboros-consensus" or (errorHandler.buildDepError "ouroboros-consensus")) + (hsPkgs."ouroboros-consensus-test" or (errorHandler.buildDepError "ouroboros-consensus-test")) ]; buildable = true; }; }; }; } // rec { - src = (pkgs.lib).mkDefault /nix/store/3ibhj9c6ifdmxi20a77xbdl3qmc5yw3w-ouroboros-network-d2d219a/ouroboros-consensus-byron; + src = (pkgs.lib).mkDefault /nix/store/fy9im0ipvv2jsysk65jphamr63h2y23w-ouroboros-network-4fac197/ouroboros-consensus-test; } diff --git a/nix/materialized/stack-nix/.stack-to-nix.cache.65 b/nix/materialized/stack-nix/.stack-to-nix.cache.65 index 99e227d0ede..4c9584efe89 100644 --- a/nix/materialized/stack-nix/.stack-to-nix.cache.65 +++ b/nix/materialized/stack-nix/.stack-to-nix.cache.65 @@ -8,20 +8,17 @@ , config , ... }: { - flags = {}; + flags = { asserts = false; }; package = { specVersion = "1.10"; - identifier = { - name = "ouroboros-consensus-byronspec"; - version = "0.1.0.0"; - }; + identifier = { name = "ouroboros-consensus-byron"; version = "0.1.0.0"; }; license = "Apache-2.0"; copyright = "2019 Input Output (Hong Kong) Ltd."; maintainer = "operations@iohk.io"; author = "IOHK Engineering Team"; homepage = ""; url = ""; - synopsis = "ByronSpec ledger integration in the Ouroboros consensus layer"; + synopsis = "Byron ledger integration in the Ouroboros consensus layer"; description = ""; buildType = "Simple"; }; @@ -29,25 +26,49 @@ "library" = { depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bimap" or (errorHandler.buildDepError "bimap")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) (hsPkgs."cardano-binary" or (errorHandler.buildDepError "cardano-binary")) - (hsPkgs."cardano-ledger-byron-test" or (errorHandler.buildDepError "cardano-ledger-byron-test")) + (hsPkgs."cardano-crypto" or (errorHandler.buildDepError "cardano-crypto")) + (hsPkgs."cardano-crypto-class" or (errorHandler.buildDepError "cardano-crypto-class")) + (hsPkgs."cardano-crypto-wrapper" or (errorHandler.buildDepError "cardano-crypto-wrapper")) + (hsPkgs."cardano-ledger-byron" or (errorHandler.buildDepError "cardano-ledger-byron")) + (hsPkgs."cardano-prelude" or (errorHandler.buildDepError "cardano-prelude")) (hsPkgs."cardano-slotting" or (errorHandler.buildDepError "cardano-slotting")) (hsPkgs."cborg" or (errorHandler.buildDepError "cborg")) (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."byron-spec-chain" or (errorHandler.buildDepError "byron-spec-chain")) - (hsPkgs."byron-spec-ledger" or (errorHandler.buildDepError "byron-spec-ledger")) + (hsPkgs."cryptonite" or (errorHandler.buildDepError "cryptonite")) + (hsPkgs."formatting" or (errorHandler.buildDepError "formatting")) (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - (hsPkgs."nothunks" or (errorHandler.buildDepError "nothunks")) (hsPkgs."serialise" or (errorHandler.buildDepError "serialise")) - (hsPkgs."small-steps" or (errorHandler.buildDepError "small-steps")) - (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + (hsPkgs."nothunks" or (errorHandler.buildDepError "nothunks")) + (hsPkgs."text" or (errorHandler.buildDepError "text")) (hsPkgs."ouroboros-network" or (errorHandler.buildDepError "ouroboros-network")) (hsPkgs."ouroboros-consensus" or (errorHandler.buildDepError "ouroboros-consensus")) ]; buildable = true; }; + exes = { + "db-converter" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."cardano-binary" or (errorHandler.buildDepError "cardano-binary")) + (hsPkgs."cardano-ledger-byron" or (errorHandler.buildDepError "cardano-ledger-byron")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) + (hsPkgs."optparse-generic" or (errorHandler.buildDepError "optparse-generic")) + (hsPkgs."resourcet" or (errorHandler.buildDepError "resourcet")) + (hsPkgs."streaming" or (errorHandler.buildDepError "streaming")) + (hsPkgs."text" or (errorHandler.buildDepError "text")) + (hsPkgs."ouroboros-network" or (errorHandler.buildDepError "ouroboros-network")) + (hsPkgs."ouroboros-consensus" or (errorHandler.buildDepError "ouroboros-consensus")) + (hsPkgs."ouroboros-consensus-byron" or (errorHandler.buildDepError "ouroboros-consensus-byron")) + ]; + buildable = true; + }; + }; }; } // rec { - src = (pkgs.lib).mkDefault /nix/store/3ibhj9c6ifdmxi20a77xbdl3qmc5yw3w-ouroboros-network-d2d219a/ouroboros-consensus-byronspec; + src = (pkgs.lib).mkDefault /nix/store/fy9im0ipvv2jsysk65jphamr63h2y23w-ouroboros-network-4fac197/ouroboros-consensus-byron; } diff --git a/nix/materialized/stack-nix/.stack-to-nix.cache.66 b/nix/materialized/stack-nix/.stack-to-nix.cache.66 index c68a24dd2ff..3430e84e4a6 100644 --- a/nix/materialized/stack-nix/.stack-to-nix.cache.66 +++ b/nix/materialized/stack-nix/.stack-to-nix.cache.66 @@ -12,16 +12,16 @@ package = { specVersion = "1.10"; identifier = { - name = "ouroboros-consensus-byron-test"; + name = "ouroboros-consensus-byronspec"; version = "0.1.0.0"; }; license = "Apache-2.0"; - copyright = "2020 Input Output (Hong Kong) Ltd."; + copyright = "2019 Input Output (Hong Kong) Ltd."; maintainer = "operations@iohk.io"; author = "IOHK Engineering Team"; homepage = ""; url = ""; - synopsis = "Test infrastructure for Byron"; + synopsis = "ByronSpec ledger integration in the Ouroboros consensus layer"; description = ""; buildType = "Simple"; }; @@ -29,62 +29,25 @@ "library" = { depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."bimap" or (errorHandler.buildDepError "bimap")) (hsPkgs."cardano-binary" or (errorHandler.buildDepError "cardano-binary")) - (hsPkgs."cardano-crypto-class" or (errorHandler.buildDepError "cardano-crypto-class")) - (hsPkgs."cardano-crypto-test" or (errorHandler.buildDepError "cardano-crypto-test")) - (hsPkgs."cardano-crypto-wrapper" or (errorHandler.buildDepError "cardano-crypto-wrapper")) - (hsPkgs."cardano-ledger-byron" or (errorHandler.buildDepError "cardano-ledger-byron")) (hsPkgs."cardano-ledger-byron-test" or (errorHandler.buildDepError "cardano-ledger-byron-test")) + (hsPkgs."cardano-slotting" or (errorHandler.buildDepError "cardano-slotting")) + (hsPkgs."cborg" or (errorHandler.buildDepError "cborg")) (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."hedgehog-quickcheck" or (errorHandler.buildDepError "hedgehog-quickcheck")) + (hsPkgs."byron-spec-chain" or (errorHandler.buildDepError "byron-spec-chain")) + (hsPkgs."byron-spec-ledger" or (errorHandler.buildDepError "byron-spec-ledger")) (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) + (hsPkgs."nothunks" or (errorHandler.buildDepError "nothunks")) (hsPkgs."serialise" or (errorHandler.buildDepError "serialise")) - (hsPkgs."byron-spec-ledger" or (errorHandler.buildDepError "byron-spec-ledger")) + (hsPkgs."small-steps" or (errorHandler.buildDepError "small-steps")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) (hsPkgs."ouroboros-network" or (errorHandler.buildDepError "ouroboros-network")) (hsPkgs."ouroboros-consensus" or (errorHandler.buildDepError "ouroboros-consensus")) - (hsPkgs."ouroboros-consensus-test" or (errorHandler.buildDepError "ouroboros-consensus-test")) - (hsPkgs."ouroboros-consensus-byron" or (errorHandler.buildDepError "ouroboros-consensus-byron")) - (hsPkgs."ouroboros-consensus-byronspec" or (errorHandler.buildDepError "ouroboros-consensus-byronspec")) ]; buildable = true; }; - tests = { - "test" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."binary-search" or (errorHandler.buildDepError "binary-search")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."cardano-binary" or (errorHandler.buildDepError "cardano-binary")) - (hsPkgs."cardano-crypto-class" or (errorHandler.buildDepError "cardano-crypto-class")) - (hsPkgs."cardano-crypto-wrapper" or (errorHandler.buildDepError "cardano-crypto-wrapper")) - (hsPkgs."cardano-ledger-byron" or (errorHandler.buildDepError "cardano-ledger-byron")) - (hsPkgs."cardano-ledger-byron-test" or (errorHandler.buildDepError "cardano-ledger-byron-test")) - (hsPkgs."cardano-slotting" or (errorHandler.buildDepError "cardano-slotting")) - (hsPkgs."cborg" or (errorHandler.buildDepError "cborg")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) - (hsPkgs."hedgehog-quickcheck" or (errorHandler.buildDepError "hedgehog-quickcheck")) - (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) - (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) - (hsPkgs."byron-spec-chain" or (errorHandler.buildDepError "byron-spec-chain")) - (hsPkgs."byron-spec-ledger" or (errorHandler.buildDepError "byron-spec-ledger")) - (hsPkgs."small-steps" or (errorHandler.buildDepError "small-steps")) - (hsPkgs."small-steps-test" or (errorHandler.buildDepError "small-steps-test")) - (hsPkgs."ouroboros-network" or (errorHandler.buildDepError "ouroboros-network")) - (hsPkgs."ouroboros-consensus" or (errorHandler.buildDepError "ouroboros-consensus")) - (hsPkgs."ouroboros-consensus-test" or (errorHandler.buildDepError "ouroboros-consensus-test")) - (hsPkgs."ouroboros-consensus-byron" or (errorHandler.buildDepError "ouroboros-consensus-byron")) - (hsPkgs."ouroboros-consensus-byron-test" or (errorHandler.buildDepError "ouroboros-consensus-byron-test")) - (hsPkgs."ouroboros-consensus-byronspec" or (errorHandler.buildDepError "ouroboros-consensus-byronspec")) - ]; - buildable = true; - }; - }; }; } // rec { - src = (pkgs.lib).mkDefault /nix/store/3ibhj9c6ifdmxi20a77xbdl3qmc5yw3w-ouroboros-network-d2d219a/ouroboros-consensus-byron-test; + src = (pkgs.lib).mkDefault /nix/store/fy9im0ipvv2jsysk65jphamr63h2y23w-ouroboros-network-4fac197/ouroboros-consensus-byronspec; } diff --git a/nix/materialized/stack-nix/.stack-to-nix.cache.67 b/nix/materialized/stack-nix/.stack-to-nix.cache.67 index c6c0388503c..28b034630ae 100644 --- a/nix/materialized/stack-nix/.stack-to-nix.cache.67 +++ b/nix/materialized/stack-nix/.stack-to-nix.cache.67 @@ -8,20 +8,20 @@ , config , ... }: { - flags = { asserts = false; }; + flags = {}; package = { - specVersion = "3.0"; + specVersion = "1.10"; identifier = { - name = "ouroboros-consensus-protocol"; + name = "ouroboros-consensus-byron-test"; version = "0.1.0.0"; }; - license = "NONE"; - copyright = ""; - maintainer = "nick@topos.org.uk"; - author = "IOHK Formal methods team"; + license = "Apache-2.0"; + copyright = "2020 Input Output (Hong Kong) Ltd."; + maintainer = "operations@iohk.io"; + author = "IOHK Engineering Team"; homepage = ""; url = ""; - synopsis = "Cardano consensus protocols."; + synopsis = "Test infrastructure for Byron"; description = ""; buildType = "Simple"; }; @@ -29,23 +29,62 @@ "library" = { depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) (hsPkgs."cardano-binary" or (errorHandler.buildDepError "cardano-binary")) (hsPkgs."cardano-crypto-class" or (errorHandler.buildDepError "cardano-crypto-class")) - (hsPkgs."cardano-ledger-core" or (errorHandler.buildDepError "cardano-ledger-core")) - (hsPkgs."cardano-ledger-shelley" or (errorHandler.buildDepError "cardano-ledger-shelley")) - (hsPkgs."cardano-protocol-tpraos" or (errorHandler.buildDepError "cardano-protocol-tpraos")) - (hsPkgs."cardano-slotting" or (errorHandler.buildDepError "cardano-slotting")) - (hsPkgs."cborg" or (errorHandler.buildDepError "cborg")) + (hsPkgs."cardano-crypto-test" or (errorHandler.buildDepError "cardano-crypto-test")) + (hsPkgs."cardano-crypto-wrapper" or (errorHandler.buildDepError "cardano-crypto-wrapper")) + (hsPkgs."cardano-ledger-byron" or (errorHandler.buildDepError "cardano-ledger-byron")) + (hsPkgs."cardano-ledger-byron-test" or (errorHandler.buildDepError "cardano-ledger-byron-test")) (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."hedgehog-quickcheck" or (errorHandler.buildDepError "hedgehog-quickcheck")) (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - (hsPkgs."nothunks" or (errorHandler.buildDepError "nothunks")) - (hsPkgs."ouroboros-consensus" or (errorHandler.buildDepError "ouroboros-consensus")) + (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) (hsPkgs."serialise" or (errorHandler.buildDepError "serialise")) - (hsPkgs."text" or (errorHandler.buildDepError "text")) + (hsPkgs."byron-spec-ledger" or (errorHandler.buildDepError "byron-spec-ledger")) + (hsPkgs."ouroboros-network" or (errorHandler.buildDepError "ouroboros-network")) + (hsPkgs."ouroboros-consensus" or (errorHandler.buildDepError "ouroboros-consensus")) + (hsPkgs."ouroboros-consensus-test" or (errorHandler.buildDepError "ouroboros-consensus-test")) + (hsPkgs."ouroboros-consensus-byron" or (errorHandler.buildDepError "ouroboros-consensus-byron")) + (hsPkgs."ouroboros-consensus-byronspec" or (errorHandler.buildDepError "ouroboros-consensus-byronspec")) ]; buildable = true; }; + tests = { + "test" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."binary-search" or (errorHandler.buildDepError "binary-search")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."cardano-binary" or (errorHandler.buildDepError "cardano-binary")) + (hsPkgs."cardano-crypto-class" or (errorHandler.buildDepError "cardano-crypto-class")) + (hsPkgs."cardano-crypto-wrapper" or (errorHandler.buildDepError "cardano-crypto-wrapper")) + (hsPkgs."cardano-ledger-byron" or (errorHandler.buildDepError "cardano-ledger-byron")) + (hsPkgs."cardano-ledger-byron-test" or (errorHandler.buildDepError "cardano-ledger-byron-test")) + (hsPkgs."cardano-slotting" or (errorHandler.buildDepError "cardano-slotting")) + (hsPkgs."cborg" or (errorHandler.buildDepError "cborg")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."hedgehog-quickcheck" or (errorHandler.buildDepError "hedgehog-quickcheck")) + (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) + (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) + (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) + (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) + (hsPkgs."byron-spec-chain" or (errorHandler.buildDepError "byron-spec-chain")) + (hsPkgs."byron-spec-ledger" or (errorHandler.buildDepError "byron-spec-ledger")) + (hsPkgs."small-steps" or (errorHandler.buildDepError "small-steps")) + (hsPkgs."small-steps-test" or (errorHandler.buildDepError "small-steps-test")) + (hsPkgs."ouroboros-network" or (errorHandler.buildDepError "ouroboros-network")) + (hsPkgs."ouroboros-consensus" or (errorHandler.buildDepError "ouroboros-consensus")) + (hsPkgs."ouroboros-consensus-test" or (errorHandler.buildDepError "ouroboros-consensus-test")) + (hsPkgs."ouroboros-consensus-byron" or (errorHandler.buildDepError "ouroboros-consensus-byron")) + (hsPkgs."ouroboros-consensus-byron-test" or (errorHandler.buildDepError "ouroboros-consensus-byron-test")) + (hsPkgs."ouroboros-consensus-byronspec" or (errorHandler.buildDepError "ouroboros-consensus-byronspec")) + ]; + buildable = true; + }; + }; }; } // rec { - src = (pkgs.lib).mkDefault /nix/store/3ibhj9c6ifdmxi20a77xbdl3qmc5yw3w-ouroboros-network-d2d219a/ouroboros-consensus-protocol; + src = (pkgs.lib).mkDefault /nix/store/fy9im0ipvv2jsysk65jphamr63h2y23w-ouroboros-network-4fac197/ouroboros-consensus-byron-test; } diff --git a/nix/materialized/stack-nix/.stack-to-nix.cache.68 b/nix/materialized/stack-nix/.stack-to-nix.cache.68 index c08dc2cd624..d4aed4008ef 100644 --- a/nix/materialized/stack-nix/.stack-to-nix.cache.68 +++ b/nix/materialized/stack-nix/.stack-to-nix.cache.68 @@ -10,18 +10,18 @@ { flags = { asserts = false; }; package = { - specVersion = "1.10"; + specVersion = "3.0"; identifier = { - name = "ouroboros-consensus-shelley"; + name = "ouroboros-consensus-protocol"; version = "0.1.0.0"; }; - license = "Apache-2.0"; - copyright = "2019 Input Output (Hong Kong) Ltd."; - maintainer = "operations@iohk.io"; - author = "IOHK Engineering Team"; + license = "NONE"; + copyright = ""; + maintainer = "nick@topos.org.uk"; + author = "IOHK Formal methods team"; homepage = ""; url = ""; - synopsis = "Shelley ledger integration in the Ouroboros consensus layer"; + synopsis = "Cardano consensus protocols."; description = ""; buildType = "Simple"; }; @@ -29,37 +29,23 @@ "library" = { depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."base-deriving-via" or (errorHandler.buildDepError "base-deriving-via")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) (hsPkgs."cardano-binary" or (errorHandler.buildDepError "cardano-binary")) (hsPkgs."cardano-crypto-class" or (errorHandler.buildDepError "cardano-crypto-class")) (hsPkgs."cardano-ledger-core" or (errorHandler.buildDepError "cardano-ledger-core")) + (hsPkgs."cardano-ledger-shelley" or (errorHandler.buildDepError "cardano-ledger-shelley")) (hsPkgs."cardano-protocol-tpraos" or (errorHandler.buildDepError "cardano-protocol-tpraos")) - (hsPkgs."cardano-prelude" or (errorHandler.buildDepError "cardano-prelude")) (hsPkgs."cardano-slotting" or (errorHandler.buildDepError "cardano-slotting")) (hsPkgs."cborg" or (errorHandler.buildDepError "cborg")) (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."data-default-class" or (errorHandler.buildDepError "data-default-class")) - (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) - (hsPkgs."measures" or (errorHandler.buildDepError "measures")) (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) (hsPkgs."nothunks" or (errorHandler.buildDepError "nothunks")) - (hsPkgs."orphans-deriving-via" or (errorHandler.buildDepError "orphans-deriving-via")) + (hsPkgs."ouroboros-consensus" or (errorHandler.buildDepError "ouroboros-consensus")) (hsPkgs."serialise" or (errorHandler.buildDepError "serialise")) - (hsPkgs."strict-containers" or (errorHandler.buildDepError "strict-containers")) (hsPkgs."text" or (errorHandler.buildDepError "text")) - (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) - (hsPkgs."cardano-ledger-alonzo" or (errorHandler.buildDepError "cardano-ledger-alonzo")) - (hsPkgs."cardano-ledger-shelley" or (errorHandler.buildDepError "cardano-ledger-shelley")) - (hsPkgs."cardano-ledger-shelley-ma" or (errorHandler.buildDepError "cardano-ledger-shelley-ma")) - (hsPkgs."small-steps" or (errorHandler.buildDepError "small-steps")) - (hsPkgs."ouroboros-network" or (errorHandler.buildDepError "ouroboros-network")) - (hsPkgs."ouroboros-consensus" or (errorHandler.buildDepError "ouroboros-consensus")) - (hsPkgs."ouroboros-consensus-protocol" or (errorHandler.buildDepError "ouroboros-consensus-protocol")) ]; buildable = true; }; }; } // rec { - src = (pkgs.lib).mkDefault /nix/store/3ibhj9c6ifdmxi20a77xbdl3qmc5yw3w-ouroboros-network-d2d219a/ouroboros-consensus-shelley; + src = (pkgs.lib).mkDefault /nix/store/fy9im0ipvv2jsysk65jphamr63h2y23w-ouroboros-network-4fac197/ouroboros-consensus-protocol; } diff --git a/nix/materialized/stack-nix/.stack-to-nix.cache.69 b/nix/materialized/stack-nix/.stack-to-nix.cache.69 index 0fa3b90cd9f..8df2bc3db7c 100644 --- a/nix/materialized/stack-nix/.stack-to-nix.cache.69 +++ b/nix/materialized/stack-nix/.stack-to-nix.cache.69 @@ -8,20 +8,20 @@ , config , ... }: { - flags = {}; + flags = { asserts = false; }; package = { specVersion = "1.10"; identifier = { - name = "ouroboros-consensus-shelley-test"; + name = "ouroboros-consensus-shelley"; version = "0.1.0.0"; }; license = "Apache-2.0"; - copyright = "2020 Input Output (Hong Kong) Ltd."; + copyright = "2019 Input Output (Hong Kong) Ltd."; maintainer = "operations@iohk.io"; author = "IOHK Engineering Team"; homepage = ""; url = ""; - synopsis = "Test infrastructure for Shelley"; + synopsis = "Shelley ledger integration in the Ouroboros consensus layer"; description = ""; buildType = "Simple"; }; @@ -29,60 +29,37 @@ "library" = { depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."base-deriving-via" or (errorHandler.buildDepError "base-deriving-via")) (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."cardano-binary" or (errorHandler.buildDepError "cardano-binary")) (hsPkgs."cardano-crypto-class" or (errorHandler.buildDepError "cardano-crypto-class")) (hsPkgs."cardano-ledger-core" or (errorHandler.buildDepError "cardano-ledger-core")) (hsPkgs."cardano-protocol-tpraos" or (errorHandler.buildDepError "cardano-protocol-tpraos")) + (hsPkgs."cardano-prelude" or (errorHandler.buildDepError "cardano-prelude")) (hsPkgs."cardano-slotting" or (errorHandler.buildDepError "cardano-slotting")) + (hsPkgs."cborg" or (errorHandler.buildDepError "cborg")) (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."generic-random" or (errorHandler.buildDepError "generic-random")) - (hsPkgs."quiet" or (errorHandler.buildDepError "quiet")) + (hsPkgs."data-default-class" or (errorHandler.buildDepError "data-default-class")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."measures" or (errorHandler.buildDepError "measures")) (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) + (hsPkgs."nothunks" or (errorHandler.buildDepError "nothunks")) + (hsPkgs."orphans-deriving-via" or (errorHandler.buildDepError "orphans-deriving-via")) + (hsPkgs."serialise" or (errorHandler.buildDepError "serialise")) (hsPkgs."strict-containers" or (errorHandler.buildDepError "strict-containers")) + (hsPkgs."text" or (errorHandler.buildDepError "text")) (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) (hsPkgs."cardano-ledger-alonzo" or (errorHandler.buildDepError "cardano-ledger-alonzo")) - (hsPkgs."cardano-ledger-alonzo-test" or (errorHandler.buildDepError "cardano-ledger-alonzo-test")) (hsPkgs."cardano-ledger-shelley" or (errorHandler.buildDepError "cardano-ledger-shelley")) (hsPkgs."cardano-ledger-shelley-ma" or (errorHandler.buildDepError "cardano-ledger-shelley-ma")) - (hsPkgs."cardano-ledger-shelley-ma-test" or (errorHandler.buildDepError "cardano-ledger-shelley-ma-test")) - (hsPkgs."cardano-ledger-shelley-test" or (errorHandler.buildDepError "cardano-ledger-shelley-test")) (hsPkgs."small-steps" or (errorHandler.buildDepError "small-steps")) (hsPkgs."ouroboros-network" or (errorHandler.buildDepError "ouroboros-network")) (hsPkgs."ouroboros-consensus" or (errorHandler.buildDepError "ouroboros-consensus")) (hsPkgs."ouroboros-consensus-protocol" or (errorHandler.buildDepError "ouroboros-consensus-protocol")) - (hsPkgs."ouroboros-consensus-test" or (errorHandler.buildDepError "ouroboros-consensus-test")) - (hsPkgs."ouroboros-consensus-shelley" or (errorHandler.buildDepError "ouroboros-consensus-shelley")) ]; buildable = true; }; - tests = { - "test" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."cardano-crypto-class" or (errorHandler.buildDepError "cardano-crypto-class")) - (hsPkgs."cardano-slotting" or (errorHandler.buildDepError "cardano-slotting")) - (hsPkgs."cborg" or (errorHandler.buildDepError "cborg")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) - (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) - (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) - (hsPkgs."cardano-ledger-alonzo" or (errorHandler.buildDepError "cardano-ledger-alonzo")) - (hsPkgs."cardano-ledger-alonzo-test" or (errorHandler.buildDepError "cardano-ledger-alonzo-test")) - (hsPkgs."cardano-ledger-core" or (errorHandler.buildDepError "cardano-ledger-core")) - (hsPkgs."cardano-ledger-shelley" or (errorHandler.buildDepError "cardano-ledger-shelley")) - (hsPkgs."ouroboros-network" or (errorHandler.buildDepError "ouroboros-network")) - (hsPkgs."ouroboros-consensus" or (errorHandler.buildDepError "ouroboros-consensus")) - (hsPkgs."ouroboros-consensus-test" or (errorHandler.buildDepError "ouroboros-consensus-test")) - (hsPkgs."ouroboros-consensus-shelley" or (errorHandler.buildDepError "ouroboros-consensus-shelley")) - (hsPkgs."ouroboros-consensus-shelley-test" or (errorHandler.buildDepError "ouroboros-consensus-shelley-test")) - ]; - buildable = true; - }; - }; }; } // rec { - src = (pkgs.lib).mkDefault /nix/store/3ibhj9c6ifdmxi20a77xbdl3qmc5yw3w-ouroboros-network-d2d219a/ouroboros-consensus-shelley-test; + src = (pkgs.lib).mkDefault /nix/store/fy9im0ipvv2jsysk65jphamr63h2y23w-ouroboros-network-4fac197/ouroboros-consensus-shelley; } diff --git a/nix/materialized/stack-nix/.stack-to-nix.cache.70 b/nix/materialized/stack-nix/.stack-to-nix.cache.70 index 2d9a84e79e6..b1a9dc46fef 100644 --- a/nix/materialized/stack-nix/.stack-to-nix.cache.70 +++ b/nix/materialized/stack-nix/.stack-to-nix.cache.70 @@ -8,20 +8,20 @@ , config , ... }: { - flags = { asserts = false; }; + flags = {}; package = { specVersion = "1.10"; identifier = { - name = "ouroboros-consensus-cardano"; + name = "ouroboros-consensus-shelley-test"; version = "0.1.0.0"; }; license = "Apache-2.0"; - copyright = "2019 Input Output (Hong Kong) Ltd."; + copyright = "2020 Input Output (Hong Kong) Ltd."; maintainer = "operations@iohk.io"; author = "IOHK Engineering Team"; homepage = ""; url = ""; - synopsis = "The instantation of the Ouroboros consensus layer used by Cardano"; + synopsis = "Test infrastructure for Shelley"; description = ""; buildType = "Simple"; }; @@ -30,60 +30,59 @@ depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."cborg" or (errorHandler.buildDepError "cborg")) + (hsPkgs."cardano-crypto-class" or (errorHandler.buildDepError "cardano-crypto-class")) + (hsPkgs."cardano-ledger-core" or (errorHandler.buildDepError "cardano-ledger-core")) + (hsPkgs."cardano-protocol-tpraos" or (errorHandler.buildDepError "cardano-protocol-tpraos")) + (hsPkgs."cardano-slotting" or (errorHandler.buildDepError "cardano-slotting")) (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."generic-random" or (errorHandler.buildDepError "generic-random")) + (hsPkgs."quiet" or (errorHandler.buildDepError "quiet")) (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - (hsPkgs."nothunks" or (errorHandler.buildDepError "nothunks")) - (hsPkgs."these" or (errorHandler.buildDepError "these")) - (hsPkgs."cardano-binary" or (errorHandler.buildDepError "cardano-binary")) - (hsPkgs."cardano-crypto-class" or (errorHandler.buildDepError "cardano-crypto-class")) + (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) + (hsPkgs."strict-containers" or (errorHandler.buildDepError "strict-containers")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) (hsPkgs."cardano-ledger-alonzo" or (errorHandler.buildDepError "cardano-ledger-alonzo")) - (hsPkgs."cardano-ledger-byron" or (errorHandler.buildDepError "cardano-ledger-byron")) - (hsPkgs."cardano-ledger-core" or (errorHandler.buildDepError "cardano-ledger-core")) + (hsPkgs."cardano-ledger-alonzo-test" or (errorHandler.buildDepError "cardano-ledger-alonzo-test")) (hsPkgs."cardano-ledger-shelley" or (errorHandler.buildDepError "cardano-ledger-shelley")) (hsPkgs."cardano-ledger-shelley-ma" or (errorHandler.buildDepError "cardano-ledger-shelley-ma")) - (hsPkgs."cardano-prelude" or (errorHandler.buildDepError "cardano-prelude")) - (hsPkgs."cardano-slotting" or (errorHandler.buildDepError "cardano-slotting")) + (hsPkgs."cardano-ledger-shelley-ma-test" or (errorHandler.buildDepError "cardano-ledger-shelley-ma-test")) + (hsPkgs."cardano-ledger-shelley-test" or (errorHandler.buildDepError "cardano-ledger-shelley-test")) + (hsPkgs."small-steps" or (errorHandler.buildDepError "small-steps")) (hsPkgs."ouroboros-network" or (errorHandler.buildDepError "ouroboros-network")) (hsPkgs."ouroboros-consensus" or (errorHandler.buildDepError "ouroboros-consensus")) - (hsPkgs."ouroboros-consensus-byron" or (errorHandler.buildDepError "ouroboros-consensus-byron")) (hsPkgs."ouroboros-consensus-protocol" or (errorHandler.buildDepError "ouroboros-consensus-protocol")) + (hsPkgs."ouroboros-consensus-test" or (errorHandler.buildDepError "ouroboros-consensus-test")) (hsPkgs."ouroboros-consensus-shelley" or (errorHandler.buildDepError "ouroboros-consensus-shelley")) ]; buildable = true; }; - exes = { - "db-analyser" = { + tests = { + "test" = { depends = [ - (hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) (hsPkgs."base" or (errorHandler.buildDepError "base")) (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."cardano-binary" or (errorHandler.buildDepError "cardano-binary")) - (hsPkgs."cardano-crypto-wrapper" or (errorHandler.buildDepError "cardano-crypto-wrapper")) + (hsPkgs."cardano-crypto-class" or (errorHandler.buildDepError "cardano-crypto-class")) + (hsPkgs."cardano-slotting" or (errorHandler.buildDepError "cardano-slotting")) + (hsPkgs."cborg" or (errorHandler.buildDepError "cborg")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) + (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) + (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) (hsPkgs."cardano-ledger-alonzo" or (errorHandler.buildDepError "cardano-ledger-alonzo")) - (hsPkgs."cardano-ledger-byron" or (errorHandler.buildDepError "cardano-ledger-byron")) + (hsPkgs."cardano-ledger-alonzo-test" or (errorHandler.buildDepError "cardano-ledger-alonzo-test")) (hsPkgs."cardano-ledger-core" or (errorHandler.buildDepError "cardano-ledger-core")) (hsPkgs."cardano-ledger-shelley" or (errorHandler.buildDepError "cardano-ledger-shelley")) - (hsPkgs."cborg" or (errorHandler.buildDepError "cborg")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."contra-tracer" or (errorHandler.buildDepError "contra-tracer")) - (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - (hsPkgs."nothunks" or (errorHandler.buildDepError "nothunks")) - (hsPkgs."optparse-applicative" or (errorHandler.buildDepError "optparse-applicative")) - (hsPkgs."serialise" or (errorHandler.buildDepError "serialise")) - (hsPkgs."strict-containers" or (errorHandler.buildDepError "strict-containers")) - (hsPkgs."text" or (errorHandler.buildDepError "text")) + (hsPkgs."ouroboros-network" or (errorHandler.buildDepError "ouroboros-network")) (hsPkgs."ouroboros-consensus" or (errorHandler.buildDepError "ouroboros-consensus")) - (hsPkgs."ouroboros-consensus-byron" or (errorHandler.buildDepError "ouroboros-consensus-byron")) - (hsPkgs."ouroboros-consensus-cardano" or (errorHandler.buildDepError "ouroboros-consensus-cardano")) + (hsPkgs."ouroboros-consensus-test" or (errorHandler.buildDepError "ouroboros-consensus-test")) (hsPkgs."ouroboros-consensus-shelley" or (errorHandler.buildDepError "ouroboros-consensus-shelley")) - (hsPkgs."ouroboros-network" or (errorHandler.buildDepError "ouroboros-network")) - (hsPkgs."plutus-ledger-api" or (errorHandler.buildDepError "plutus-ledger-api")) + (hsPkgs."ouroboros-consensus-shelley-test" or (errorHandler.buildDepError "ouroboros-consensus-shelley-test")) ]; buildable = true; }; }; }; } // rec { - src = (pkgs.lib).mkDefault /nix/store/3ibhj9c6ifdmxi20a77xbdl3qmc5yw3w-ouroboros-network-d2d219a/ouroboros-consensus-cardano; + src = (pkgs.lib).mkDefault /nix/store/fy9im0ipvv2jsysk65jphamr63h2y23w-ouroboros-network-4fac197/ouroboros-consensus-shelley-test; } diff --git a/nix/materialized/stack-nix/.stack-to-nix.cache.71 b/nix/materialized/stack-nix/.stack-to-nix.cache.71 index a8141c41b00..7e19458d921 100644 --- a/nix/materialized/stack-nix/.stack-to-nix.cache.71 +++ b/nix/materialized/stack-nix/.stack-to-nix.cache.71 @@ -8,20 +8,20 @@ , config , ... }: { - flags = {}; + flags = { asserts = false; }; package = { specVersion = "1.10"; identifier = { - name = "ouroboros-consensus-cardano-test"; + name = "ouroboros-consensus-cardano"; version = "0.1.0.0"; }; license = "Apache-2.0"; - copyright = "2020 Input Output (Hong Kong) Ltd."; + copyright = "2019 Input Output (Hong Kong) Ltd."; maintainer = "operations@iohk.io"; author = "IOHK Engineering Team"; homepage = ""; url = ""; - synopsis = "Test of the instantation of the Ouroboros consensus layer used by Cardano"; + synopsis = "The instantation of the Ouroboros consensus layer used by Cardano"; description = ""; buildType = "Simple"; }; @@ -29,66 +29,61 @@ "library" = { depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."cardano-crypto-class" or (errorHandler.buildDepError "cardano-crypto-class")) - (hsPkgs."cardano-crypto-wrapper" or (errorHandler.buildDepError "cardano-crypto-wrapper")) - (hsPkgs."cardano-slotting" or (errorHandler.buildDepError "cardano-slotting")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."cborg" or (errorHandler.buildDepError "cborg")) (hsPkgs."containers" or (errorHandler.buildDepError "containers")) (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) - (hsPkgs."sop-core" or (errorHandler.buildDepError "sop-core")) - (hsPkgs."strict-containers" or (errorHandler.buildDepError "strict-containers")) + (hsPkgs."nothunks" or (errorHandler.buildDepError "nothunks")) + (hsPkgs."these" or (errorHandler.buildDepError "these")) + (hsPkgs."cardano-binary" or (errorHandler.buildDepError "cardano-binary")) + (hsPkgs."cardano-crypto-class" or (errorHandler.buildDepError "cardano-crypto-class")) (hsPkgs."cardano-ledger-alonzo" or (errorHandler.buildDepError "cardano-ledger-alonzo")) - (hsPkgs."cardano-ledger-alonzo-test" or (errorHandler.buildDepError "cardano-ledger-alonzo-test")) (hsPkgs."cardano-ledger-byron" or (errorHandler.buildDepError "cardano-ledger-byron")) (hsPkgs."cardano-ledger-core" or (errorHandler.buildDepError "cardano-ledger-core")) (hsPkgs."cardano-ledger-shelley" or (errorHandler.buildDepError "cardano-ledger-shelley")) - (hsPkgs."cardano-ledger-shelley-test" or (errorHandler.buildDepError "cardano-ledger-shelley-test")) - (hsPkgs."cardano-protocol-tpraos" or (errorHandler.buildDepError "cardano-protocol-tpraos")) + (hsPkgs."cardano-ledger-shelley-ma" or (errorHandler.buildDepError "cardano-ledger-shelley-ma")) + (hsPkgs."cardano-prelude" or (errorHandler.buildDepError "cardano-prelude")) + (hsPkgs."cardano-slotting" or (errorHandler.buildDepError "cardano-slotting")) (hsPkgs."ouroboros-network" or (errorHandler.buildDepError "ouroboros-network")) (hsPkgs."ouroboros-consensus" or (errorHandler.buildDepError "ouroboros-consensus")) - (hsPkgs."ouroboros-consensus-test" or (errorHandler.buildDepError "ouroboros-consensus-test")) (hsPkgs."ouroboros-consensus-byron" or (errorHandler.buildDepError "ouroboros-consensus-byron")) - (hsPkgs."ouroboros-consensus-byron-test" or (errorHandler.buildDepError "ouroboros-consensus-byron-test")) - (hsPkgs."ouroboros-consensus-shelley" or (errorHandler.buildDepError "ouroboros-consensus-shelley")) - (hsPkgs."ouroboros-consensus-shelley-test" or (errorHandler.buildDepError "ouroboros-consensus-shelley-test")) - (hsPkgs."ouroboros-consensus-cardano" or (errorHandler.buildDepError "ouroboros-consensus-cardano")) (hsPkgs."ouroboros-consensus-protocol" or (errorHandler.buildDepError "ouroboros-consensus-protocol")) + (hsPkgs."ouroboros-consensus-shelley" or (errorHandler.buildDepError "ouroboros-consensus-shelley")) ]; buildable = true; }; - tests = { - "test" = { + exes = { + "db-analyser" = { depends = [ + (hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) (hsPkgs."base" or (errorHandler.buildDepError "base")) (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."cardano-crypto-class" or (errorHandler.buildDepError "cardano-crypto-class")) - (hsPkgs."cardano-slotting" or (errorHandler.buildDepError "cardano-slotting")) - (hsPkgs."cborg" or (errorHandler.buildDepError "cborg")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) - (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) - (hsPkgs."sop-core" or (errorHandler.buildDepError "sop-core")) - (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) + (hsPkgs."cardano-binary" or (errorHandler.buildDepError "cardano-binary")) + (hsPkgs."cardano-crypto-wrapper" or (errorHandler.buildDepError "cardano-crypto-wrapper")) (hsPkgs."cardano-ledger-alonzo" or (errorHandler.buildDepError "cardano-ledger-alonzo")) (hsPkgs."cardano-ledger-byron" or (errorHandler.buildDepError "cardano-ledger-byron")) (hsPkgs."cardano-ledger-core" or (errorHandler.buildDepError "cardano-ledger-core")) (hsPkgs."cardano-ledger-shelley" or (errorHandler.buildDepError "cardano-ledger-shelley")) - (hsPkgs."cardano-protocol-tpraos" or (errorHandler.buildDepError "cardano-protocol-tpraos")) - (hsPkgs."ouroboros-network" or (errorHandler.buildDepError "ouroboros-network")) + (hsPkgs."cborg" or (errorHandler.buildDepError "cborg")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."contra-tracer" or (errorHandler.buildDepError "contra-tracer")) + (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) + (hsPkgs."nothunks" or (errorHandler.buildDepError "nothunks")) + (hsPkgs."optparse-applicative" or (errorHandler.buildDepError "optparse-applicative")) + (hsPkgs."serialise" or (errorHandler.buildDepError "serialise")) + (hsPkgs."strict-containers" or (errorHandler.buildDepError "strict-containers")) + (hsPkgs."text" or (errorHandler.buildDepError "text")) (hsPkgs."ouroboros-consensus" or (errorHandler.buildDepError "ouroboros-consensus")) - (hsPkgs."ouroboros-consensus-test" or (errorHandler.buildDepError "ouroboros-consensus-test")) (hsPkgs."ouroboros-consensus-byron" or (errorHandler.buildDepError "ouroboros-consensus-byron")) - (hsPkgs."ouroboros-consensus-byron-test" or (errorHandler.buildDepError "ouroboros-consensus-byron-test")) - (hsPkgs."ouroboros-consensus-shelley" or (errorHandler.buildDepError "ouroboros-consensus-shelley")) - (hsPkgs."ouroboros-consensus-shelley-test" or (errorHandler.buildDepError "ouroboros-consensus-shelley-test")) (hsPkgs."ouroboros-consensus-cardano" or (errorHandler.buildDepError "ouroboros-consensus-cardano")) - (hsPkgs."ouroboros-consensus-cardano-test" or (errorHandler.buildDepError "ouroboros-consensus-cardano-test")) + (hsPkgs."ouroboros-consensus-shelley" or (errorHandler.buildDepError "ouroboros-consensus-shelley")) + (hsPkgs."ouroboros-network" or (errorHandler.buildDepError "ouroboros-network")) + (hsPkgs."plutus-ledger-api" or (errorHandler.buildDepError "plutus-ledger-api")) ]; buildable = true; }; }; }; } // rec { - src = (pkgs.lib).mkDefault /nix/store/3ibhj9c6ifdmxi20a77xbdl3qmc5yw3w-ouroboros-network-d2d219a/ouroboros-consensus-cardano-test; + src = (pkgs.lib).mkDefault /nix/store/fy9im0ipvv2jsysk65jphamr63h2y23w-ouroboros-network-4fac197/ouroboros-consensus-cardano; } diff --git a/nix/materialized/stack-nix/.stack-to-nix.cache.72 b/nix/materialized/stack-nix/.stack-to-nix.cache.72 index 2bdcb7ab8ca..e393515eba0 100644 --- a/nix/materialized/stack-nix/.stack-to-nix.cache.72 +++ b/nix/materialized/stack-nix/.stack-to-nix.cache.72 @@ -8,17 +8,20 @@ , config , ... }: { - flags = { asserts = false; ipv6 = false; cddl = true; }; + flags = {}; package = { specVersion = "1.10"; - identifier = { name = "ouroboros-network"; version = "0.1.0.0"; }; + identifier = { + name = "ouroboros-consensus-cardano-test"; + version = "0.1.0.0"; + }; license = "Apache-2.0"; - copyright = "2019 Input Output (Hong Kong) Ltd."; - maintainer = ""; - author = "Alexander Vieth, Marcin Szamotulski, Duncan Coutts"; + copyright = "2020 Input Output (Hong Kong) Ltd."; + maintainer = "operations@iohk.io"; + author = "IOHK Engineering Team"; homepage = ""; url = ""; - synopsis = "A networking layer for the Ouroboros blockchain protocol"; + synopsis = "Test of the instantation of the Ouroboros consensus layer used by Cardano"; description = ""; buildType = "Simple"; }; @@ -26,164 +29,66 @@ "library" = { depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) - (hsPkgs."async" or (errorHandler.buildDepError "async")) - (hsPkgs."base16-bytestring" or (errorHandler.buildDepError "base16-bytestring")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."cborg" or (errorHandler.buildDepError "cborg")) + (hsPkgs."cardano-crypto-class" or (errorHandler.buildDepError "cardano-crypto-class")) + (hsPkgs."cardano-crypto-wrapper" or (errorHandler.buildDepError "cardano-crypto-wrapper")) + (hsPkgs."cardano-slotting" or (errorHandler.buildDepError "cardano-slotting")) (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) - (hsPkgs."directory" or (errorHandler.buildDepError "directory")) - (hsPkgs."dns" or (errorHandler.buildDepError "dns")) - (hsPkgs."fingertree" or (errorHandler.buildDepError "fingertree")) - (hsPkgs."iproute" or (errorHandler.buildDepError "iproute")) - (hsPkgs."nothunks" or (errorHandler.buildDepError "nothunks")) - (hsPkgs."network" or (errorHandler.buildDepError "network")) - (hsPkgs."psqueues" or (errorHandler.buildDepError "psqueues")) - (hsPkgs."serialise" or (errorHandler.buildDepError "serialise")) - (hsPkgs."random" or (errorHandler.buildDepError "random")) + (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) + (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) + (hsPkgs."sop-core" or (errorHandler.buildDepError "sop-core")) (hsPkgs."strict-containers" or (errorHandler.buildDepError "strict-containers")) - (hsPkgs."cardano-binary" or (errorHandler.buildDepError "cardano-binary")) - (hsPkgs."cardano-prelude" or (errorHandler.buildDepError "cardano-prelude")) - (hsPkgs."cardano-slotting" or (errorHandler.buildDepError "cardano-slotting")) - (hsPkgs."contra-tracer" or (errorHandler.buildDepError "contra-tracer")) - (hsPkgs."monoidal-synchronisation" or (errorHandler.buildDepError "monoidal-synchronisation")) - (hsPkgs."io-classes" or (errorHandler.buildDepError "io-classes")) - (hsPkgs."network-mux" or (errorHandler.buildDepError "network-mux")) - (hsPkgs."ouroboros-network-framework" or (errorHandler.buildDepError "ouroboros-network-framework")) - (hsPkgs."strict-stm" or (errorHandler.buildDepError "strict-stm")) - (hsPkgs."typed-protocols" or (errorHandler.buildDepError "typed-protocols")) - (hsPkgs."typed-protocols-cborg" or (errorHandler.buildDepError "typed-protocols-cborg")) - (hsPkgs."hashable" or (errorHandler.buildDepError "hashable")) - (hsPkgs."text" or (errorHandler.buildDepError "text")) - (hsPkgs."time" or (errorHandler.buildDepError "time")) - ] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); + (hsPkgs."cardano-ledger-alonzo" or (errorHandler.buildDepError "cardano-ledger-alonzo")) + (hsPkgs."cardano-ledger-alonzo-test" or (errorHandler.buildDepError "cardano-ledger-alonzo-test")) + (hsPkgs."cardano-ledger-byron" or (errorHandler.buildDepError "cardano-ledger-byron")) + (hsPkgs."cardano-ledger-core" or (errorHandler.buildDepError "cardano-ledger-core")) + (hsPkgs."cardano-ledger-shelley" or (errorHandler.buildDepError "cardano-ledger-shelley")) + (hsPkgs."cardano-ledger-shelley-test" or (errorHandler.buildDepError "cardano-ledger-shelley-test")) + (hsPkgs."cardano-protocol-tpraos" or (errorHandler.buildDepError "cardano-protocol-tpraos")) + (hsPkgs."ouroboros-network" or (errorHandler.buildDepError "ouroboros-network")) + (hsPkgs."ouroboros-consensus" or (errorHandler.buildDepError "ouroboros-consensus")) + (hsPkgs."ouroboros-consensus-test" or (errorHandler.buildDepError "ouroboros-consensus-test")) + (hsPkgs."ouroboros-consensus-byron" or (errorHandler.buildDepError "ouroboros-consensus-byron")) + (hsPkgs."ouroboros-consensus-byron-test" or (errorHandler.buildDepError "ouroboros-consensus-byron-test")) + (hsPkgs."ouroboros-consensus-shelley" or (errorHandler.buildDepError "ouroboros-consensus-shelley")) + (hsPkgs."ouroboros-consensus-shelley-test" or (errorHandler.buildDepError "ouroboros-consensus-shelley-test")) + (hsPkgs."ouroboros-consensus-cardano" or (errorHandler.buildDepError "ouroboros-consensus-cardano")) + (hsPkgs."ouroboros-consensus-protocol" or (errorHandler.buildDepError "ouroboros-consensus-protocol")) + ]; buildable = true; }; - sublibs = { - "ouroboros-protocol-tests" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."cborg" or (errorHandler.buildDepError "cborg")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."hashable" or (errorHandler.buildDepError "hashable")) - (hsPkgs."pipes" or (errorHandler.buildDepError "pipes")) - (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) - (hsPkgs."quickcheck-instances" or (errorHandler.buildDepError "quickcheck-instances")) - (hsPkgs."serialise" or (errorHandler.buildDepError "serialise")) - (hsPkgs."strict-containers" or (errorHandler.buildDepError "strict-containers")) - (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) - (hsPkgs."text" or (errorHandler.buildDepError "text")) - (hsPkgs."cardano-slotting" or (errorHandler.buildDepError "cardano-slotting")) - (hsPkgs."contra-tracer" or (errorHandler.buildDepError "contra-tracer")) - (hsPkgs."io-classes" or (errorHandler.buildDepError "io-classes")) - (hsPkgs."io-sim" or (errorHandler.buildDepError "io-sim")) - (hsPkgs."network-mux" or (errorHandler.buildDepError "network-mux")) - (hsPkgs."ouroboros-network" or (errorHandler.buildDepError "ouroboros-network")) - (hsPkgs."ouroboros-network-framework" or (errorHandler.buildDepError "ouroboros-network-framework")) - (hsPkgs."ouroboros-network-testing" or (errorHandler.buildDepError "ouroboros-network-testing")) - (hsPkgs."strict-stm" or (errorHandler.buildDepError "strict-stm")) - (hsPkgs."typed-protocols" or (errorHandler.buildDepError "typed-protocols")) - ]; - buildable = true; - }; - }; - exes = { - "demo-chain-sync" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."async" or (errorHandler.buildDepError "async")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."directory" or (errorHandler.buildDepError "directory")) - (hsPkgs."random" or (errorHandler.buildDepError "random")) - (hsPkgs."serialise" or (errorHandler.buildDepError "serialise")) - (hsPkgs."stm" or (errorHandler.buildDepError "stm")) - (hsPkgs."contra-tracer" or (errorHandler.buildDepError "contra-tracer")) - (hsPkgs."typed-protocols" or (errorHandler.buildDepError "typed-protocols")) - (hsPkgs."network-mux" or (errorHandler.buildDepError "network-mux")) - (hsPkgs."ouroboros-network-framework" or (errorHandler.buildDepError "ouroboros-network-framework")) - (hsPkgs."ouroboros-network" or (errorHandler.buildDepError "ouroboros-network")) - ]; - buildable = true; - }; - }; tests = { "test" = { depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) - (hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) - (hsPkgs."array" or (errorHandler.buildDepError "array")) - (hsPkgs."async" or (errorHandler.buildDepError "async")) (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."cborg" or (errorHandler.buildDepError "cborg")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."dns" or (errorHandler.buildDepError "dns")) - (hsPkgs."deque" or (errorHandler.buildDepError "deque")) - (hsPkgs."hashable" or (errorHandler.buildDepError "hashable")) - (hsPkgs."iproute" or (errorHandler.buildDepError "iproute")) - (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - (hsPkgs."network" or (errorHandler.buildDepError "network")) - (hsPkgs."process" or (errorHandler.buildDepError "process")) - (hsPkgs."psqueues" or (errorHandler.buildDepError "psqueues")) - (hsPkgs."random" or (errorHandler.buildDepError "random")) - (hsPkgs."serialise" or (errorHandler.buildDepError "serialise")) - (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) - (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) - (hsPkgs."text" or (errorHandler.buildDepError "text")) - (hsPkgs."time" or (errorHandler.buildDepError "time")) - (hsPkgs."cardano-prelude" or (errorHandler.buildDepError "cardano-prelude")) + (hsPkgs."cardano-crypto-class" or (errorHandler.buildDepError "cardano-crypto-class")) (hsPkgs."cardano-slotting" or (errorHandler.buildDepError "cardano-slotting")) - (hsPkgs."contra-tracer" or (errorHandler.buildDepError "contra-tracer")) - (hsPkgs."nothunks" or (errorHandler.buildDepError "nothunks")) - (hsPkgs."io-classes" or (errorHandler.buildDepError "io-classes")) - (hsPkgs."io-sim" or (errorHandler.buildDepError "io-sim")) - (hsPkgs."monoidal-synchronisation" or (errorHandler.buildDepError "monoidal-synchronisation")) - (hsPkgs."network-mux" or (errorHandler.buildDepError "network-mux")) - (hsPkgs."ouroboros-network" or (errorHandler.buildDepError "ouroboros-network")) - (hsPkgs."ouroboros-network-framework" or (errorHandler.buildDepError "ouroboros-network-framework")) - (hsPkgs."ouroboros-network-testing" or (errorHandler.buildDepError "ouroboros-network-testing")) - (hsPkgs."ouroboros-network".components.sublibs.ouroboros-protocol-tests or (errorHandler.buildDepError "ouroboros-network:ouroboros-protocol-tests")) - (hsPkgs."strict-stm" or (errorHandler.buildDepError "strict-stm")) - (hsPkgs."typed-protocols" or (errorHandler.buildDepError "typed-protocols")) - (hsPkgs."typed-protocols-examples" or (errorHandler.buildDepError "typed-protocols-examples")) - ] ++ (pkgs.lib).optionals (system.isWindows) [ - (hsPkgs."Win32-network" or (errorHandler.buildDepError "Win32-network")) - (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) - ]; - buildable = true; - }; - "cddl" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) (hsPkgs."cborg" or (errorHandler.buildDepError "cborg")) (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."directory" or (errorHandler.buildDepError "directory")) (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) - (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - (hsPkgs."process-extras" or (errorHandler.buildDepError "process-extras")) - (hsPkgs."serialise" or (errorHandler.buildDepError "serialise")) - (hsPkgs."text" or (errorHandler.buildDepError "text")) - (hsPkgs."temporary" or (errorHandler.buildDepError "temporary")) (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) - (hsPkgs."quickcheck-instances" or (errorHandler.buildDepError "quickcheck-instances")) + (hsPkgs."sop-core" or (errorHandler.buildDepError "sop-core")) (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) - (hsPkgs."typed-protocols" or (errorHandler.buildDepError "typed-protocols")) - (hsPkgs."ouroboros-network-framework" or (errorHandler.buildDepError "ouroboros-network-framework")) + (hsPkgs."cardano-ledger-alonzo" or (errorHandler.buildDepError "cardano-ledger-alonzo")) + (hsPkgs."cardano-ledger-byron" or (errorHandler.buildDepError "cardano-ledger-byron")) + (hsPkgs."cardano-ledger-core" or (errorHandler.buildDepError "cardano-ledger-core")) + (hsPkgs."cardano-ledger-shelley" or (errorHandler.buildDepError "cardano-ledger-shelley")) + (hsPkgs."cardano-protocol-tpraos" or (errorHandler.buildDepError "cardano-protocol-tpraos")) (hsPkgs."ouroboros-network" or (errorHandler.buildDepError "ouroboros-network")) - (hsPkgs."ouroboros-network".components.sublibs.ouroboros-protocol-tests or (errorHandler.buildDepError "ouroboros-network:ouroboros-protocol-tests")) + (hsPkgs."ouroboros-consensus" or (errorHandler.buildDepError "ouroboros-consensus")) + (hsPkgs."ouroboros-consensus-test" or (errorHandler.buildDepError "ouroboros-consensus-test")) + (hsPkgs."ouroboros-consensus-byron" or (errorHandler.buildDepError "ouroboros-consensus-byron")) + (hsPkgs."ouroboros-consensus-byron-test" or (errorHandler.buildDepError "ouroboros-consensus-byron-test")) + (hsPkgs."ouroboros-consensus-shelley" or (errorHandler.buildDepError "ouroboros-consensus-shelley")) + (hsPkgs."ouroboros-consensus-shelley-test" or (errorHandler.buildDepError "ouroboros-consensus-shelley-test")) + (hsPkgs."ouroboros-consensus-cardano" or (errorHandler.buildDepError "ouroboros-consensus-cardano")) + (hsPkgs."ouroboros-consensus-cardano-test" or (errorHandler.buildDepError "ouroboros-consensus-cardano-test")) ]; - buildable = if flags.cddl then true else false; + buildable = true; }; }; }; } // rec { - src = (pkgs.lib).mkDefault /nix/store/3ibhj9c6ifdmxi20a77xbdl3qmc5yw3w-ouroboros-network-d2d219a/ouroboros-network; + src = (pkgs.lib).mkDefault /nix/store/fy9im0ipvv2jsysk65jphamr63h2y23w-ouroboros-network-4fac197/ouroboros-consensus-cardano-test; } diff --git a/nix/materialized/stack-nix/.stack-to-nix.cache.73 b/nix/materialized/stack-nix/.stack-to-nix.cache.73 index f5a191bbfa4..f15c5fb65ae 100644 --- a/nix/materialized/stack-nix/.stack-to-nix.cache.73 +++ b/nix/materialized/stack-nix/.stack-to-nix.cache.73 @@ -8,20 +8,17 @@ , config , ... }: { - flags = {}; + flags = { asserts = false; ipv6 = false; cddl = true; }; package = { specVersion = "1.10"; - identifier = { - name = "ouroboros-network-framework"; - version = "0.1.0.0"; - }; + identifier = { name = "ouroboros-network"; version = "0.1.0.0"; }; license = "Apache-2.0"; copyright = "2019 Input Output (Hong Kong) Ltd."; - maintainer = "alex@well-typed.com, duncan@well-typed.com, marcin.szamotulski@iohk.io"; - author = "Alexander Vieth, Duncan Coutts, Marcin Szamotulski"; + maintainer = ""; + author = "Alexander Vieth, Marcin Szamotulski, Duncan Coutts"; homepage = ""; url = ""; - synopsis = ""; + synopsis = "A networking layer for the Ouroboros blockchain protocol"; description = ""; buildType = "Simple"; }; @@ -29,70 +26,86 @@ "library" = { depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) (hsPkgs."async" or (errorHandler.buildDepError "async")) + (hsPkgs."base16-bytestring" or (errorHandler.buildDepError "base16-bytestring")) (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) (hsPkgs."cborg" or (errorHandler.buildDepError "cborg")) (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) (hsPkgs."dns" or (errorHandler.buildDepError "dns")) + (hsPkgs."fingertree" or (errorHandler.buildDepError "fingertree")) (hsPkgs."iproute" or (errorHandler.buildDepError "iproute")) - (hsPkgs."hashable" or (errorHandler.buildDepError "hashable")) - (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) (hsPkgs."nothunks" or (errorHandler.buildDepError "nothunks")) + (hsPkgs."network" or (errorHandler.buildDepError "network")) + (hsPkgs."psqueues" or (errorHandler.buildDepError "psqueues")) + (hsPkgs."serialise" or (errorHandler.buildDepError "serialise")) (hsPkgs."random" or (errorHandler.buildDepError "random")) - (hsPkgs."stm" or (errorHandler.buildDepError "stm")) - (hsPkgs."text" or (errorHandler.buildDepError "text")) - (hsPkgs."time" or (errorHandler.buildDepError "time")) - (hsPkgs."quiet" or (errorHandler.buildDepError "quiet")) + (hsPkgs."strict-containers" or (errorHandler.buildDepError "strict-containers")) + (hsPkgs."cardano-binary" or (errorHandler.buildDepError "cardano-binary")) (hsPkgs."cardano-prelude" or (errorHandler.buildDepError "cardano-prelude")) + (hsPkgs."cardano-slotting" or (errorHandler.buildDepError "cardano-slotting")) (hsPkgs."contra-tracer" or (errorHandler.buildDepError "contra-tracer")) - (hsPkgs."io-classes" or (errorHandler.buildDepError "io-classes")) (hsPkgs."monoidal-synchronisation" or (errorHandler.buildDepError "monoidal-synchronisation")) - (hsPkgs."network" or (errorHandler.buildDepError "network")) + (hsPkgs."io-classes" or (errorHandler.buildDepError "io-classes")) (hsPkgs."network-mux" or (errorHandler.buildDepError "network-mux")) - (hsPkgs."ouroboros-network-testing" or (errorHandler.buildDepError "ouroboros-network-testing")) + (hsPkgs."ouroboros-network-framework" or (errorHandler.buildDepError "ouroboros-network-framework")) (hsPkgs."strict-stm" or (errorHandler.buildDepError "strict-stm")) (hsPkgs."typed-protocols" or (errorHandler.buildDepError "typed-protocols")) (hsPkgs."typed-protocols-cborg" or (errorHandler.buildDepError "typed-protocols-cborg")) - (hsPkgs."Win32-network" or (errorHandler.buildDepError "Win32-network")) - ] ++ (pkgs.lib).optional (system.isWindows) (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")); + (hsPkgs."hashable" or (errorHandler.buildDepError "hashable")) + (hsPkgs."text" or (errorHandler.buildDepError "text")) + (hsPkgs."time" or (errorHandler.buildDepError "time")) + ] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix")); buildable = true; }; - exes = { - "demo-ping-pong" = { + sublibs = { + "ouroboros-protocol-tests" = { depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."async" or (errorHandler.buildDepError "async")) (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) (hsPkgs."cborg" or (errorHandler.buildDepError "cborg")) - (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."hashable" or (errorHandler.buildDepError "hashable")) + (hsPkgs."pipes" or (errorHandler.buildDepError "pipes")) + (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) + (hsPkgs."quickcheck-instances" or (errorHandler.buildDepError "quickcheck-instances")) + (hsPkgs."serialise" or (errorHandler.buildDepError "serialise")) + (hsPkgs."strict-containers" or (errorHandler.buildDepError "strict-containers")) + (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) + (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) + (hsPkgs."text" or (errorHandler.buildDepError "text")) + (hsPkgs."cardano-slotting" or (errorHandler.buildDepError "cardano-slotting")) (hsPkgs."contra-tracer" or (errorHandler.buildDepError "contra-tracer")) (hsPkgs."io-classes" or (errorHandler.buildDepError "io-classes")) + (hsPkgs."io-sim" or (errorHandler.buildDepError "io-sim")) (hsPkgs."network-mux" or (errorHandler.buildDepError "network-mux")) + (hsPkgs."ouroboros-network" or (errorHandler.buildDepError "ouroboros-network")) (hsPkgs."ouroboros-network-framework" or (errorHandler.buildDepError "ouroboros-network-framework")) + (hsPkgs."ouroboros-network-testing" or (errorHandler.buildDepError "ouroboros-network-testing")) + (hsPkgs."strict-stm" or (errorHandler.buildDepError "strict-stm")) (hsPkgs."typed-protocols" or (errorHandler.buildDepError "typed-protocols")) - (hsPkgs."typed-protocols-examples" or (errorHandler.buildDepError "typed-protocols-examples")) - ] ++ (pkgs.lib).optionals (system.isWindows) [ - (hsPkgs."Win32-network" or (errorHandler.buildDepError "Win32-network")) - (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) ]; buildable = true; }; - "demo-connection-manager" = { + }; + exes = { + "demo-chain-sync" = { depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."async" or (errorHandler.buildDepError "async")) (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."cborg" or (errorHandler.buildDepError "cborg")) - (hsPkgs."network" or (errorHandler.buildDepError "network")) - (hsPkgs."optparse-applicative" or (errorHandler.buildDepError "optparse-applicative")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) (hsPkgs."random" or (errorHandler.buildDepError "random")) (hsPkgs."serialise" or (errorHandler.buildDepError "serialise")) + (hsPkgs."stm" or (errorHandler.buildDepError "stm")) (hsPkgs."contra-tracer" or (errorHandler.buildDepError "contra-tracer")) - (hsPkgs."io-classes" or (errorHandler.buildDepError "io-classes")) + (hsPkgs."typed-protocols" or (errorHandler.buildDepError "typed-protocols")) (hsPkgs."network-mux" or (errorHandler.buildDepError "network-mux")) (hsPkgs."ouroboros-network-framework" or (errorHandler.buildDepError "ouroboros-network-framework")) - (hsPkgs."strict-stm" or (errorHandler.buildDepError "strict-stm")) - (hsPkgs."typed-protocols" or (errorHandler.buildDepError "typed-protocols")) - (hsPkgs."typed-protocols-examples" or (errorHandler.buildDepError "typed-protocols-examples")) + (hsPkgs."ouroboros-network" or (errorHandler.buildDepError "ouroboros-network")) ]; buildable = true; }; @@ -101,33 +114,42 @@ "test" = { depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) + (hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."async" or (errorHandler.buildDepError "async")) (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) (hsPkgs."cborg" or (errorHandler.buildDepError "cborg")) (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."directory" or (errorHandler.buildDepError "directory")) (hsPkgs."dns" or (errorHandler.buildDepError "dns")) + (hsPkgs."deque" or (errorHandler.buildDepError "deque")) + (hsPkgs."hashable" or (errorHandler.buildDepError "hashable")) (hsPkgs."iproute" or (errorHandler.buildDepError "iproute")) + (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) (hsPkgs."network" or (errorHandler.buildDepError "network")) - (hsPkgs."pretty-simple" or (errorHandler.buildDepError "pretty-simple")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) + (hsPkgs."psqueues" or (errorHandler.buildDepError "psqueues")) + (hsPkgs."random" or (errorHandler.buildDepError "random")) (hsPkgs."serialise" or (errorHandler.buildDepError "serialise")) - (hsPkgs."text" or (errorHandler.buildDepError "text")) - (hsPkgs."time" or (errorHandler.buildDepError "time")) - (hsPkgs."quiet" or (errorHandler.buildDepError "quiet")) - (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) - (hsPkgs."quickcheck-instances" or (errorHandler.buildDepError "quickcheck-instances")) (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) + (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) + (hsPkgs."text" or (errorHandler.buildDepError "text")) + (hsPkgs."time" or (errorHandler.buildDepError "time")) (hsPkgs."cardano-prelude" or (errorHandler.buildDepError "cardano-prelude")) + (hsPkgs."cardano-slotting" or (errorHandler.buildDepError "cardano-slotting")) (hsPkgs."contra-tracer" or (errorHandler.buildDepError "contra-tracer")) - (hsPkgs."io-sim" or (errorHandler.buildDepError "io-sim")) + (hsPkgs."nothunks" or (errorHandler.buildDepError "nothunks")) (hsPkgs."io-classes" or (errorHandler.buildDepError "io-classes")) - (hsPkgs."strict-stm" or (errorHandler.buildDepError "strict-stm")) - (hsPkgs."network-mux" or (errorHandler.buildDepError "network-mux")) + (hsPkgs."io-sim" or (errorHandler.buildDepError "io-sim")) (hsPkgs."monoidal-synchronisation" or (errorHandler.buildDepError "monoidal-synchronisation")) + (hsPkgs."network-mux" or (errorHandler.buildDepError "network-mux")) + (hsPkgs."ouroboros-network" or (errorHandler.buildDepError "ouroboros-network")) (hsPkgs."ouroboros-network-framework" or (errorHandler.buildDepError "ouroboros-network-framework")) (hsPkgs."ouroboros-network-testing" or (errorHandler.buildDepError "ouroboros-network-testing")) + (hsPkgs."ouroboros-network".components.sublibs.ouroboros-protocol-tests or (errorHandler.buildDepError "ouroboros-network:ouroboros-protocol-tests")) + (hsPkgs."strict-stm" or (errorHandler.buildDepError "strict-stm")) (hsPkgs."typed-protocols" or (errorHandler.buildDepError "typed-protocols")) - (hsPkgs."typed-protocols-cborg" or (errorHandler.buildDepError "typed-protocols-cborg")) (hsPkgs."typed-protocols-examples" or (errorHandler.buildDepError "typed-protocols-examples")) ] ++ (pkgs.lib).optionals (system.isWindows) [ (hsPkgs."Win32-network" or (errorHandler.buildDepError "Win32-network")) @@ -135,8 +157,33 @@ ]; buildable = true; }; + "cddl" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."cborg" or (errorHandler.buildDepError "cborg")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) + (hsPkgs."process-extras" or (errorHandler.buildDepError "process-extras")) + (hsPkgs."serialise" or (errorHandler.buildDepError "serialise")) + (hsPkgs."text" or (errorHandler.buildDepError "text")) + (hsPkgs."temporary" or (errorHandler.buildDepError "temporary")) + (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) + (hsPkgs."quickcheck-instances" or (errorHandler.buildDepError "quickcheck-instances")) + (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) + (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) + (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) + (hsPkgs."typed-protocols" or (errorHandler.buildDepError "typed-protocols")) + (hsPkgs."ouroboros-network-framework" or (errorHandler.buildDepError "ouroboros-network-framework")) + (hsPkgs."ouroboros-network" or (errorHandler.buildDepError "ouroboros-network")) + (hsPkgs."ouroboros-network".components.sublibs.ouroboros-protocol-tests or (errorHandler.buildDepError "ouroboros-network:ouroboros-protocol-tests")) + ]; + buildable = if flags.cddl then true else false; + }; }; }; } // rec { - src = (pkgs.lib).mkDefault /nix/store/3ibhj9c6ifdmxi20a77xbdl3qmc5yw3w-ouroboros-network-d2d219a/ouroboros-network-framework; + src = (pkgs.lib).mkDefault /nix/store/fy9im0ipvv2jsysk65jphamr63h2y23w-ouroboros-network-4fac197/ouroboros-network; } diff --git a/nix/materialized/stack-nix/.stack-to-nix.cache.74 b/nix/materialized/stack-nix/.stack-to-nix.cache.74 index e1ad05cc8ca..18e850ed324 100644 --- a/nix/materialized/stack-nix/.stack-to-nix.cache.74 +++ b/nix/materialized/stack-nix/.stack-to-nix.cache.74 @@ -11,14 +11,17 @@ flags = {}; package = { specVersion = "1.10"; - identifier = { name = "ouroboros-network-testing"; version = "0.1.0.0"; }; + identifier = { + name = "ouroboros-network-framework"; + version = "0.1.0.0"; + }; license = "Apache-2.0"; copyright = "2019 Input Output (Hong Kong) Ltd."; - maintainer = ""; - author = "Alexander Vieth, Marcin Szamotulski, Duncan Coutts, Karl Knuttson"; + maintainer = "alex@well-typed.com, duncan@well-typed.com, marcin.szamotulski@iohk.io"; + author = "Alexander Vieth, Duncan Coutts, Marcin Szamotulski"; homepage = ""; url = ""; - synopsis = "Common modules used for testing in ouroboros-network and ouroboros-consensus"; + synopsis = ""; description = ""; buildType = "Simple"; }; @@ -26,32 +29,114 @@ "library" = { depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."async" or (errorHandler.buildDepError "async")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."cborg" or (errorHandler.buildDepError "cborg")) (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."dns" or (errorHandler.buildDepError "dns")) + (hsPkgs."iproute" or (errorHandler.buildDepError "iproute")) + (hsPkgs."hashable" or (errorHandler.buildDepError "hashable")) + (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) + (hsPkgs."nothunks" or (errorHandler.buildDepError "nothunks")) + (hsPkgs."random" or (errorHandler.buildDepError "random")) + (hsPkgs."stm" or (errorHandler.buildDepError "stm")) + (hsPkgs."text" or (errorHandler.buildDepError "text")) + (hsPkgs."time" or (errorHandler.buildDepError "time")) + (hsPkgs."quiet" or (errorHandler.buildDepError "quiet")) + (hsPkgs."cardano-prelude" or (errorHandler.buildDepError "cardano-prelude")) (hsPkgs."contra-tracer" or (errorHandler.buildDepError "contra-tracer")) - (hsPkgs."deque" or (errorHandler.buildDepError "deque")) (hsPkgs."io-classes" or (errorHandler.buildDepError "io-classes")) - (hsPkgs."io-sim" or (errorHandler.buildDepError "io-sim")) - (hsPkgs."psqueues" or (errorHandler.buildDepError "psqueues")) - (hsPkgs."cborg" or (errorHandler.buildDepError "cborg")) - (hsPkgs."serialise" or (errorHandler.buildDepError "serialise")) + (hsPkgs."monoidal-synchronisation" or (errorHandler.buildDepError "monoidal-synchronisation")) + (hsPkgs."network" or (errorHandler.buildDepError "network")) (hsPkgs."network-mux" or (errorHandler.buildDepError "network-mux")) - (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) - ]; + (hsPkgs."ouroboros-network-testing" or (errorHandler.buildDepError "ouroboros-network-testing")) + (hsPkgs."strict-stm" or (errorHandler.buildDepError "strict-stm")) + (hsPkgs."typed-protocols" or (errorHandler.buildDepError "typed-protocols")) + (hsPkgs."typed-protocols-cborg" or (errorHandler.buildDepError "typed-protocols-cborg")) + (hsPkgs."Win32-network" or (errorHandler.buildDepError "Win32-network")) + ] ++ (pkgs.lib).optional (system.isWindows) (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")); buildable = true; }; + exes = { + "demo-ping-pong" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."async" or (errorHandler.buildDepError "async")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."cborg" or (errorHandler.buildDepError "cborg")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."contra-tracer" or (errorHandler.buildDepError "contra-tracer")) + (hsPkgs."io-classes" or (errorHandler.buildDepError "io-classes")) + (hsPkgs."network-mux" or (errorHandler.buildDepError "network-mux")) + (hsPkgs."ouroboros-network-framework" or (errorHandler.buildDepError "ouroboros-network-framework")) + (hsPkgs."typed-protocols" or (errorHandler.buildDepError "typed-protocols")) + (hsPkgs."typed-protocols-examples" or (errorHandler.buildDepError "typed-protocols-examples")) + ] ++ (pkgs.lib).optionals (system.isWindows) [ + (hsPkgs."Win32-network" or (errorHandler.buildDepError "Win32-network")) + (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) + ]; + buildable = true; + }; + "demo-connection-manager" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."cborg" or (errorHandler.buildDepError "cborg")) + (hsPkgs."network" or (errorHandler.buildDepError "network")) + (hsPkgs."optparse-applicative" or (errorHandler.buildDepError "optparse-applicative")) + (hsPkgs."random" or (errorHandler.buildDepError "random")) + (hsPkgs."serialise" or (errorHandler.buildDepError "serialise")) + (hsPkgs."contra-tracer" or (errorHandler.buildDepError "contra-tracer")) + (hsPkgs."io-classes" or (errorHandler.buildDepError "io-classes")) + (hsPkgs."network-mux" or (errorHandler.buildDepError "network-mux")) + (hsPkgs."ouroboros-network-framework" or (errorHandler.buildDepError "ouroboros-network-framework")) + (hsPkgs."strict-stm" or (errorHandler.buildDepError "strict-stm")) + (hsPkgs."typed-protocols" or (errorHandler.buildDepError "typed-protocols")) + (hsPkgs."typed-protocols-examples" or (errorHandler.buildDepError "typed-protocols-examples")) + ]; + buildable = true; + }; + }; tests = { "test" = { depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."cborg" or (errorHandler.buildDepError "cborg")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."dns" or (errorHandler.buildDepError "dns")) + (hsPkgs."iproute" or (errorHandler.buildDepError "iproute")) + (hsPkgs."network" or (errorHandler.buildDepError "network")) + (hsPkgs."pretty-simple" or (errorHandler.buildDepError "pretty-simple")) + (hsPkgs."serialise" or (errorHandler.buildDepError "serialise")) + (hsPkgs."text" or (errorHandler.buildDepError "text")) + (hsPkgs."time" or (errorHandler.buildDepError "time")) + (hsPkgs."quiet" or (errorHandler.buildDepError "quiet")) (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) + (hsPkgs."quickcheck-instances" or (errorHandler.buildDepError "quickcheck-instances")) (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) + (hsPkgs."cardano-prelude" or (errorHandler.buildDepError "cardano-prelude")) + (hsPkgs."contra-tracer" or (errorHandler.buildDepError "contra-tracer")) + (hsPkgs."io-sim" or (errorHandler.buildDepError "io-sim")) + (hsPkgs."io-classes" or (errorHandler.buildDepError "io-classes")) + (hsPkgs."strict-stm" or (errorHandler.buildDepError "strict-stm")) + (hsPkgs."network-mux" or (errorHandler.buildDepError "network-mux")) + (hsPkgs."monoidal-synchronisation" or (errorHandler.buildDepError "monoidal-synchronisation")) + (hsPkgs."ouroboros-network-framework" or (errorHandler.buildDepError "ouroboros-network-framework")) (hsPkgs."ouroboros-network-testing" or (errorHandler.buildDepError "ouroboros-network-testing")) + (hsPkgs."typed-protocols" or (errorHandler.buildDepError "typed-protocols")) + (hsPkgs."typed-protocols-cborg" or (errorHandler.buildDepError "typed-protocols-cborg")) + (hsPkgs."typed-protocols-examples" or (errorHandler.buildDepError "typed-protocols-examples")) + ] ++ (pkgs.lib).optionals (system.isWindows) [ + (hsPkgs."Win32-network" or (errorHandler.buildDepError "Win32-network")) + (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) ]; buildable = true; }; }; }; } // rec { - src = (pkgs.lib).mkDefault /nix/store/3ibhj9c6ifdmxi20a77xbdl3qmc5yw3w-ouroboros-network-d2d219a/ouroboros-network-testing; + src = (pkgs.lib).mkDefault /nix/store/fy9im0ipvv2jsysk65jphamr63h2y23w-ouroboros-network-4fac197/ouroboros-network-framework; } diff --git a/nix/materialized/stack-nix/.stack-to-nix.cache.75 b/nix/materialized/stack-nix/.stack-to-nix.cache.75 index 2219c9acc48..82bab7144f6 100644 --- a/nix/materialized/stack-nix/.stack-to-nix.cache.75 +++ b/nix/materialized/stack-nix/.stack-to-nix.cache.75 @@ -8,30 +8,50 @@ , config , ... }: { - flags = { checktvarinvariant = false; asserts = false; }; + flags = {}; package = { specVersion = "1.10"; - identifier = { name = "strict-stm"; version = "0.1.0.0"; }; + identifier = { name = "ouroboros-network-testing"; version = "0.1.0.0"; }; license = "Apache-2.0"; - copyright = "2019-2021 Input Output (Hong Kong) Ltd."; + copyright = "2019 Input Output (Hong Kong) Ltd."; maintainer = ""; - author = "Alexander Vieth, Marcin Szamotulski, Duncan Coutts"; + author = "Alexander Vieth, Marcin Szamotulski, Duncan Coutts, Karl Knuttson"; homepage = ""; url = ""; - synopsis = "Strict STM interface polymorphic over stm implementation."; - description = "The `strict-stm` package gives a strict interface to stm,\ncurrently either one provided by `stm` package for the\n`IO` monad or `io-sim` package for the `IOSim` monad."; + synopsis = "Common modules used for testing in ouroboros-network and ouroboros-consensus"; + description = ""; buildType = "Simple"; }; components = { "library" = { depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."stm" or (errorHandler.buildDepError "stm")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."contra-tracer" or (errorHandler.buildDepError "contra-tracer")) + (hsPkgs."deque" or (errorHandler.buildDepError "deque")) (hsPkgs."io-classes" or (errorHandler.buildDepError "io-classes")) + (hsPkgs."io-sim" or (errorHandler.buildDepError "io-sim")) + (hsPkgs."psqueues" or (errorHandler.buildDepError "psqueues")) + (hsPkgs."cborg" or (errorHandler.buildDepError "cborg")) + (hsPkgs."serialise" or (errorHandler.buildDepError "serialise")) + (hsPkgs."network-mux" or (errorHandler.buildDepError "network-mux")) + (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) ]; buildable = true; }; + tests = { + "test" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) + (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) + (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) + (hsPkgs."ouroboros-network-testing" or (errorHandler.buildDepError "ouroboros-network-testing")) + ]; + buildable = true; + }; + }; }; } // rec { - src = (pkgs.lib).mkDefault /nix/store/3ibhj9c6ifdmxi20a77xbdl3qmc5yw3w-ouroboros-network-d2d219a/strict-stm; + src = (pkgs.lib).mkDefault /nix/store/fy9im0ipvv2jsysk65jphamr63h2y23w-ouroboros-network-4fac197/ouroboros-network-testing; } diff --git a/nix/materialized/stack-nix/.stack-to-nix.cache.76 b/nix/materialized/stack-nix/.stack-to-nix.cache.76 index a9c231f80d3..23ae318a9d1 100644 --- a/nix/materialized/stack-nix/.stack-to-nix.cache.76 +++ b/nix/materialized/stack-nix/.stack-to-nix.cache.76 @@ -8,29 +8,30 @@ , config , ... }: { - flags = {}; + flags = { checktvarinvariant = false; asserts = false; }; package = { specVersion = "1.10"; - identifier = { name = "typed-protocols"; version = "0.1.0.0"; }; + identifier = { name = "strict-stm"; version = "0.1.0.0"; }; license = "Apache-2.0"; - copyright = "2019 Input Output (Hong Kong) Ltd."; - maintainer = "alex@well-typed.com, duncan@well-typed.com, marcin.szamotulski@iohk.io"; - author = "Alexander Vieth, Duncan Coutts, Marcin Szamotulski"; + copyright = "2019-2021 Input Output (Hong Kong) Ltd."; + maintainer = ""; + author = "Alexander Vieth, Marcin Szamotulski, Duncan Coutts"; homepage = ""; url = ""; - synopsis = "A framework for strongly typed protocols"; - description = ""; + synopsis = "Strict STM interface polymorphic over stm implementation."; + description = "The `strict-stm` package gives a strict interface to stm,\ncurrently either one provided by `stm` package for the\n`IO` monad or `io-sim` package for the `IOSim` monad."; buildType = "Simple"; }; components = { "library" = { depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."stm" or (errorHandler.buildDepError "stm")) (hsPkgs."io-classes" or (errorHandler.buildDepError "io-classes")) ]; buildable = true; }; }; } // rec { - src = (pkgs.lib).mkDefault /nix/store/3ibhj9c6ifdmxi20a77xbdl3qmc5yw3w-ouroboros-network-d2d219a/typed-protocols; + src = (pkgs.lib).mkDefault /nix/store/fy9im0ipvv2jsysk65jphamr63h2y23w-ouroboros-network-4fac197/strict-stm; } diff --git a/nix/materialized/stack-nix/.stack-to-nix.cache.77 b/nix/materialized/stack-nix/.stack-to-nix.cache.77 index 9c493e49103..293446082bc 100644 --- a/nix/materialized/stack-nix/.stack-to-nix.cache.77 +++ b/nix/materialized/stack-nix/.stack-to-nix.cache.77 @@ -11,14 +11,14 @@ flags = {}; package = { specVersion = "1.10"; - identifier = { name = "typed-protocols-cborg"; version = "0.1.0.0"; }; + identifier = { name = "typed-protocols"; version = "0.1.0.0"; }; license = "Apache-2.0"; - copyright = "2019-2021 Input Output (Hong Kong) Ltd."; + copyright = "2019 Input Output (Hong Kong) Ltd."; maintainer = "alex@well-typed.com, duncan@well-typed.com, marcin.szamotulski@iohk.io"; author = "Alexander Vieth, Duncan Coutts, Marcin Szamotulski"; homepage = ""; url = ""; - synopsis = "CBOR codecs for typed-protocols"; + synopsis = "A framework for strongly typed protocols"; description = ""; buildType = "Simple"; }; @@ -26,14 +26,11 @@ "library" = { depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."cborg" or (errorHandler.buildDepError "cborg")) (hsPkgs."io-classes" or (errorHandler.buildDepError "io-classes")) - (hsPkgs."typed-protocols" or (errorHandler.buildDepError "typed-protocols")) ]; buildable = true; }; }; } // rec { - src = (pkgs.lib).mkDefault /nix/store/3ibhj9c6ifdmxi20a77xbdl3qmc5yw3w-ouroboros-network-d2d219a/typed-protocols-cborg; + src = (pkgs.lib).mkDefault /nix/store/fy9im0ipvv2jsysk65jphamr63h2y23w-ouroboros-network-4fac197/typed-protocols; } diff --git a/nix/materialized/stack-nix/.stack-to-nix.cache.78 b/nix/materialized/stack-nix/.stack-to-nix.cache.78 index dedc653d7e0..257220dd1be 100644 --- a/nix/materialized/stack-nix/.stack-to-nix.cache.78 +++ b/nix/materialized/stack-nix/.stack-to-nix.cache.78 @@ -11,14 +11,14 @@ flags = {}; package = { specVersion = "1.10"; - identifier = { name = "typed-protocols-examples"; version = "0.1.0.0"; }; + identifier = { name = "typed-protocols-cborg"; version = "0.1.0.0"; }; license = "Apache-2.0"; - copyright = "2019 Input Output (Hong Kong) Ltd."; + copyright = "2019-2021 Input Output (Hong Kong) Ltd."; maintainer = "alex@well-typed.com, duncan@well-typed.com, marcin.szamotulski@iohk.io"; author = "Alexander Vieth, Duncan Coutts, Marcin Szamotulski"; homepage = ""; url = ""; - synopsis = "Examples and tests for the typed-protocols framework"; + synopsis = "CBOR codecs for typed-protocols"; description = ""; buildType = "Simple"; }; @@ -28,34 +28,12 @@ (hsPkgs."base" or (errorHandler.buildDepError "base")) (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) (hsPkgs."cborg" or (errorHandler.buildDepError "cborg")) - (hsPkgs."serialise" or (errorHandler.buildDepError "serialise")) - (hsPkgs."contra-tracer" or (errorHandler.buildDepError "contra-tracer")) (hsPkgs."io-classes" or (errorHandler.buildDepError "io-classes")) - (hsPkgs."time" or (errorHandler.buildDepError "time")) (hsPkgs."typed-protocols" or (errorHandler.buildDepError "typed-protocols")) - (hsPkgs."typed-protocols-cborg" or (errorHandler.buildDepError "typed-protocols-cborg")) ]; buildable = true; }; - tests = { - "test" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."contra-tracer" or (errorHandler.buildDepError "contra-tracer")) - (hsPkgs."typed-protocols" or (errorHandler.buildDepError "typed-protocols")) - (hsPkgs."typed-protocols-cborg" or (errorHandler.buildDepError "typed-protocols-cborg")) - (hsPkgs."typed-protocols-examples" or (errorHandler.buildDepError "typed-protocols-examples")) - (hsPkgs."io-classes" or (errorHandler.buildDepError "io-classes")) - (hsPkgs."io-sim" or (errorHandler.buildDepError "io-sim")) - (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) - (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) - ]; - buildable = true; - }; - }; }; } // rec { - src = (pkgs.lib).mkDefault /nix/store/3ibhj9c6ifdmxi20a77xbdl3qmc5yw3w-ouroboros-network-d2d219a/typed-protocols-examples; + src = (pkgs.lib).mkDefault /nix/store/fy9im0ipvv2jsysk65jphamr63h2y23w-ouroboros-network-4fac197/typed-protocols-cborg; } diff --git a/nix/materialized/stack-nix/.stack-to-nix.cache.79 b/nix/materialized/stack-nix/.stack-to-nix.cache.79 index 98268dfb74d..61d252621bd 100644 --- a/nix/materialized/stack-nix/.stack-to-nix.cache.79 +++ b/nix/materialized/stack-nix/.stack-to-nix.cache.79 @@ -11,14 +11,14 @@ flags = {}; package = { specVersion = "1.10"; - identifier = { name = "cardano-client"; version = "0.1.0.0"; }; + identifier = { name = "typed-protocols-examples"; version = "0.1.0.0"; }; license = "Apache-2.0"; copyright = "2019 Input Output (Hong Kong) Ltd."; - maintainer = "operations@iohk.io"; - author = "IOHK Engineering Team"; + maintainer = "alex@well-typed.com, duncan@well-typed.com, marcin.szamotulski@iohk.io"; + author = "Alexander Vieth, Duncan Coutts, Marcin Szamotulski"; homepage = ""; url = ""; - synopsis = "An API for ouroboros-network"; + synopsis = "Examples and tests for the typed-protocols framework"; description = ""; buildType = "Simple"; }; @@ -27,16 +27,35 @@ depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."cborg" or (errorHandler.buildDepError "cborg")) + (hsPkgs."serialise" or (errorHandler.buildDepError "serialise")) + (hsPkgs."contra-tracer" or (errorHandler.buildDepError "contra-tracer")) (hsPkgs."io-classes" or (errorHandler.buildDepError "io-classes")) - (hsPkgs."ouroboros-consensus" or (errorHandler.buildDepError "ouroboros-consensus")) - (hsPkgs."ouroboros-network" or (errorHandler.buildDepError "ouroboros-network")) - (hsPkgs."ouroboros-network-framework" or (errorHandler.buildDepError "ouroboros-network-framework")) - (hsPkgs."network-mux" or (errorHandler.buildDepError "network-mux")) + (hsPkgs."time" or (errorHandler.buildDepError "time")) + (hsPkgs."typed-protocols" or (errorHandler.buildDepError "typed-protocols")) + (hsPkgs."typed-protocols-cborg" or (errorHandler.buildDepError "typed-protocols-cborg")) ]; buildable = true; }; + tests = { + "test" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."contra-tracer" or (errorHandler.buildDepError "contra-tracer")) + (hsPkgs."typed-protocols" or (errorHandler.buildDepError "typed-protocols")) + (hsPkgs."typed-protocols-cborg" or (errorHandler.buildDepError "typed-protocols-cborg")) + (hsPkgs."typed-protocols-examples" or (errorHandler.buildDepError "typed-protocols-examples")) + (hsPkgs."io-classes" or (errorHandler.buildDepError "io-classes")) + (hsPkgs."io-sim" or (errorHandler.buildDepError "io-sim")) + (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) + (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) + (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) + ]; + buildable = true; + }; + }; }; } // rec { - src = (pkgs.lib).mkDefault /nix/store/3ibhj9c6ifdmxi20a77xbdl3qmc5yw3w-ouroboros-network-d2d219a/cardano-client; + src = (pkgs.lib).mkDefault /nix/store/fy9im0ipvv2jsysk65jphamr63h2y23w-ouroboros-network-4fac197/typed-protocols-examples; } diff --git a/nix/materialized/stack-nix/.stack-to-nix.cache.80 b/nix/materialized/stack-nix/.stack-to-nix.cache.80 index 9822a6daedb..7129117ad24 100644 --- a/nix/materialized/stack-nix/.stack-to-nix.cache.80 +++ b/nix/materialized/stack-nix/.stack-to-nix.cache.80 @@ -8,61 +8,35 @@ , config , ... }: { - flags = { demo = true; }; + flags = {}; package = { specVersion = "1.10"; - identifier = { name = "ntp-client"; version = "0.0.1"; }; + identifier = { name = "cardano-client"; version = "0.1.0.0"; }; license = "Apache-2.0"; - copyright = ""; - maintainer = ""; - author = ""; + copyright = "2019 Input Output (Hong Kong) Ltd."; + maintainer = "operations@iohk.io"; + author = "IOHK Engineering Team"; homepage = ""; url = ""; - synopsis = ""; + synopsis = "An API for ouroboros-network"; description = ""; buildType = "Simple"; }; components = { "library" = { depends = [ - (hsPkgs."async" or (errorHandler.buildDepError "async")) (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."binary" or (errorHandler.buildDepError "binary")) (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."contra-tracer" or (errorHandler.buildDepError "contra-tracer")) - (hsPkgs."network" or (errorHandler.buildDepError "network")) - (hsPkgs."stm" or (errorHandler.buildDepError "stm")) - (hsPkgs."time" or (errorHandler.buildDepError "time")) - (hsPkgs."Win32-network" or (errorHandler.buildDepError "Win32-network")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."io-classes" or (errorHandler.buildDepError "io-classes")) + (hsPkgs."ouroboros-consensus" or (errorHandler.buildDepError "ouroboros-consensus")) + (hsPkgs."ouroboros-network" or (errorHandler.buildDepError "ouroboros-network")) + (hsPkgs."ouroboros-network-framework" or (errorHandler.buildDepError "ouroboros-network-framework")) + (hsPkgs."network-mux" or (errorHandler.buildDepError "network-mux")) ]; buildable = true; }; - exes = { - "demo-ntp-client" = { - depends = [ - (hsPkgs."async" or (errorHandler.buildDepError "async")) - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."contra-tracer" or (errorHandler.buildDepError "contra-tracer")) - (hsPkgs."Win32-network" or (errorHandler.buildDepError "Win32-network")) - (hsPkgs."ntp-client" or (errorHandler.buildDepError "ntp-client")) - ]; - buildable = if flags.demo then true else false; - }; - }; - tests = { - "test" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."binary" or (errorHandler.buildDepError "binary")) - (hsPkgs."time" or (errorHandler.buildDepError "time")) - (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) - (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) - ]; - buildable = true; - }; - }; }; } // rec { - src = (pkgs.lib).mkDefault /nix/store/3ibhj9c6ifdmxi20a77xbdl3qmc5yw3w-ouroboros-network-d2d219a/ntp-client; + src = (pkgs.lib).mkDefault /nix/store/fy9im0ipvv2jsysk65jphamr63h2y23w-ouroboros-network-4fac197/cardano-client; } diff --git a/nix/materialized/stack-nix/.stack-to-nix.cache.81 b/nix/materialized/stack-nix/.stack-to-nix.cache.81 index cfa7c9e89ef..debc8a68918 100644 --- a/nix/materialized/stack-nix/.stack-to-nix.cache.81 +++ b/nix/materialized/stack-nix/.stack-to-nix.cache.81 @@ -8,43 +8,61 @@ , config , ... }: { - flags = { asserts = false; }; + flags = { demo = true; }; package = { specVersion = "1.10"; - identifier = { name = "ouroboros-consensus-mock"; version = "0.1.0.0"; }; + identifier = { name = "ntp-client"; version = "0.0.1"; }; license = "Apache-2.0"; - copyright = "2019 Input Output (Hong Kong) Ltd."; - maintainer = "operations@iohk.io"; - author = "IOHK Engineering Team"; + copyright = ""; + maintainer = ""; + author = ""; homepage = ""; url = ""; - synopsis = "Mock ledger integration in the Ouroboros consensus layer"; + synopsis = ""; description = ""; buildType = "Simple"; }; components = { "library" = { depends = [ + (hsPkgs."async" or (errorHandler.buildDepError "async")) (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bimap" or (errorHandler.buildDepError "bimap")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."cardano-binary" or (errorHandler.buildDepError "cardano-binary")) - (hsPkgs."cardano-crypto-class" or (errorHandler.buildDepError "cardano-crypto-class")) - (hsPkgs."cardano-slotting" or (errorHandler.buildDepError "cardano-slotting")) - (hsPkgs."cborg" or (errorHandler.buildDepError "cborg")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) - (hsPkgs."hashable" or (errorHandler.buildDepError "hashable")) - (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - (hsPkgs."nothunks" or (errorHandler.buildDepError "nothunks")) - (hsPkgs."serialise" or (errorHandler.buildDepError "serialise")) + (hsPkgs."contra-tracer" or (errorHandler.buildDepError "contra-tracer")) + (hsPkgs."network" or (errorHandler.buildDepError "network")) + (hsPkgs."stm" or (errorHandler.buildDepError "stm")) (hsPkgs."time" or (errorHandler.buildDepError "time")) - (hsPkgs."ouroboros-network" or (errorHandler.buildDepError "ouroboros-network")) - (hsPkgs."ouroboros-consensus" or (errorHandler.buildDepError "ouroboros-consensus")) + (hsPkgs."Win32-network" or (errorHandler.buildDepError "Win32-network")) ]; buildable = true; }; + exes = { + "demo-ntp-client" = { + depends = [ + (hsPkgs."async" or (errorHandler.buildDepError "async")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."contra-tracer" or (errorHandler.buildDepError "contra-tracer")) + (hsPkgs."Win32-network" or (errorHandler.buildDepError "Win32-network")) + (hsPkgs."ntp-client" or (errorHandler.buildDepError "ntp-client")) + ]; + buildable = if flags.demo then true else false; + }; + }; + tests = { + "test" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."time" or (errorHandler.buildDepError "time")) + (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) + (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) + (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) + ]; + buildable = true; + }; + }; }; } // rec { - src = (pkgs.lib).mkDefault /nix/store/3ibhj9c6ifdmxi20a77xbdl3qmc5yw3w-ouroboros-network-d2d219a/ouroboros-consensus-mock; + src = (pkgs.lib).mkDefault /nix/store/fy9im0ipvv2jsysk65jphamr63h2y23w-ouroboros-network-4fac197/ntp-client; } diff --git a/nix/materialized/stack-nix/.stack-to-nix.cache.82 b/nix/materialized/stack-nix/.stack-to-nix.cache.82 index 1a5d60270a7..7a823d13693 100644 --- a/nix/materialized/stack-nix/.stack-to-nix.cache.82 +++ b/nix/materialized/stack-nix/.stack-to-nix.cache.82 @@ -8,35 +8,43 @@ , config , ... }: { - flags = {}; + flags = { asserts = false; }; package = { - specVersion = "2.2"; - identifier = { name = "freer-extras"; version = "0.1.0.0"; }; + specVersion = "1.10"; + identifier = { name = "ouroboros-consensus-mock"; version = "0.1.0.0"; }; license = "Apache-2.0"; - copyright = ""; - maintainer = "tobias.pflug@iohk.io"; - author = "Tobias Pflug"; + copyright = "2019 Input Output (Hong Kong) Ltd."; + maintainer = "operations@iohk.io"; + author = "IOHK Engineering Team"; homepage = ""; url = ""; - synopsis = "Useful extensions to simple-freer"; - description = "freer-extras provides logging and monitoring functions extending simple-freer"; + synopsis = "Mock ledger integration in the Ouroboros consensus layer"; + description = ""; buildType = "Simple"; }; components = { "library" = { depends = [ - (hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."lens" or (errorHandler.buildDepError "lens")) - (hsPkgs."freer-simple" or (errorHandler.buildDepError "freer-simple")) + (hsPkgs."bimap" or (errorHandler.buildDepError "bimap")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."cardano-binary" or (errorHandler.buildDepError "cardano-binary")) + (hsPkgs."cardano-crypto-class" or (errorHandler.buildDepError "cardano-crypto-class")) + (hsPkgs."cardano-slotting" or (errorHandler.buildDepError "cardano-slotting")) + (hsPkgs."cborg" or (errorHandler.buildDepError "cborg")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."hashable" or (errorHandler.buildDepError "hashable")) (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - (hsPkgs."prettyprinter" or (errorHandler.buildDepError "prettyprinter")) - (hsPkgs."streaming" or (errorHandler.buildDepError "streaming")) - (hsPkgs."text" or (errorHandler.buildDepError "text")) + (hsPkgs."nothunks" or (errorHandler.buildDepError "nothunks")) + (hsPkgs."serialise" or (errorHandler.buildDepError "serialise")) + (hsPkgs."time" or (errorHandler.buildDepError "time")) + (hsPkgs."ouroboros-network" or (errorHandler.buildDepError "ouroboros-network")) + (hsPkgs."ouroboros-consensus" or (errorHandler.buildDepError "ouroboros-consensus")) ]; buildable = true; }; }; } // rec { - src = (pkgs.lib).mkDefault /nix/store/6m6zyip9n1sv3dfh6vyz7158r08wd3bi-plutus-1efbb27/freer-extras; + src = (pkgs.lib).mkDefault /nix/store/fy9im0ipvv2jsysk65jphamr63h2y23w-ouroboros-network-4fac197/ouroboros-consensus-mock; } diff --git a/nix/materialized/stack-nix/.stack-to-nix.cache.83 b/nix/materialized/stack-nix/.stack-to-nix.cache.83 index bd4ad2c5ac7..97f681a2008 100644 --- a/nix/materialized/stack-nix/.stack-to-nix.cache.83 +++ b/nix/materialized/stack-nix/.stack-to-nix.cache.83 @@ -10,95 +10,360 @@ { flags = {}; package = { - specVersion = "2.0"; - identifier = { name = "playground-common"; version = "0.1.0.0"; }; + specVersion = "3.0"; + identifier = { name = "plutus-core"; version = "0.1.0.0"; }; license = "Apache-2.0"; copyright = ""; - maintainer = ""; - author = "David Smith"; + maintainer = "michael.peyton-jones@iohk.io"; + author = "Plutus Core Team"; homepage = ""; url = ""; - synopsis = ""; - description = ""; + synopsis = "Language library for Plutus Core"; + description = "Pretty-printer, parser, and typechecker for Plutus Core."; buildType = "Simple"; }; components = { "library" = { depends = [ (hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) - (hsPkgs."aeson-casing" or (errorHandler.buildDepError "aeson-casing")) + (hsPkgs."algebraic-graphs" or (errorHandler.buildDepError "algebraic-graphs")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + (hsPkgs."barbies" or (errorHandler.buildDepError "barbies")) (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."bimap" or (errorHandler.buildDepError "bimap")) (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."cookie" or (errorHandler.buildDepError "cookie")) - (hsPkgs."cryptonite" or (errorHandler.buildDepError "cryptonite")) + (hsPkgs."cardano-crypto" or (errorHandler.buildDepError "cardano-crypto")) + (hsPkgs."cassava" or (errorHandler.buildDepError "cassava")) + (hsPkgs."cborg" or (errorHandler.buildDepError "cborg")) + (hsPkgs."composition-prelude" or (errorHandler.buildDepError "composition-prelude")) (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."data-default" or (errorHandler.buildDepError "data-default")) + (hsPkgs."cryptonite" or (errorHandler.buildDepError "cryptonite")) + (hsPkgs."data-default-class" or (errorHandler.buildDepError "data-default-class")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."dependent-sum-template" or (errorHandler.buildDepError "dependent-sum-template")) + (hsPkgs."deriving-aeson" or (errorHandler.buildDepError "deriving-aeson")) (hsPkgs."deriving-compat" or (errorHandler.buildDepError "deriving-compat")) + (hsPkgs."dlist" or (errorHandler.buildDepError "dlist")) + (hsPkgs."dom-lt" or (errorHandler.buildDepError "dom-lt")) (hsPkgs."exceptions" or (errorHandler.buildDepError "exceptions")) + (hsPkgs."extra" or (errorHandler.buildDepError "extra")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."flat" or (errorHandler.buildDepError "flat")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) (hsPkgs."hashable" or (errorHandler.buildDepError "hashable")) - (hsPkgs."http-client" or (errorHandler.buildDepError "http-client")) - (hsPkgs."http-client-tls" or (errorHandler.buildDepError "http-client-tls")) - (hsPkgs."http-types" or (errorHandler.buildDepError "http-types")) - (hsPkgs."http-conduit" or (errorHandler.buildDepError "http-conduit")) - (hsPkgs."jwt" or (errorHandler.buildDepError "jwt")) + (hsPkgs."hedgehog" or (errorHandler.buildDepError "hedgehog")) + (hsPkgs."integer-gmp" or (errorHandler.buildDepError "integer-gmp")) (hsPkgs."lens" or (errorHandler.buildDepError "lens")) - (hsPkgs."memory" or (errorHandler.buildDepError "memory")) - (hsPkgs."monad-logger" or (errorHandler.buildDepError "monad-logger")) + (hsPkgs."megaparsec" or (errorHandler.buildDepError "megaparsec")) + (hsPkgs."mmorph" or (errorHandler.buildDepError "mmorph")) + (hsPkgs."monoidal-containers" or (errorHandler.buildDepError "monoidal-containers")) (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - (hsPkgs."newtype-generics" or (errorHandler.buildDepError "newtype-generics")) - (hsPkgs."process" or (errorHandler.buildDepError "process")) - (hsPkgs."prometheus" or (errorHandler.buildDepError "prometheus")) - (hsPkgs."plutus-chain-index" or (errorHandler.buildDepError "plutus-chain-index")) - (hsPkgs."plutus-contract" or (errorHandler.buildDepError "plutus-contract")) - (hsPkgs."plutus-ledger" or (errorHandler.buildDepError "plutus-ledger")) - (hsPkgs."row-types" or (errorHandler.buildDepError "row-types")) + (hsPkgs."parser-combinators" or (errorHandler.buildDepError "parser-combinators")) (hsPkgs."prettyprinter" or (errorHandler.buildDepError "prettyprinter")) - (hsPkgs."plutus-tx" or (errorHandler.buildDepError "plutus-tx")) - (hsPkgs."purescript-bridge" or (errorHandler.buildDepError "purescript-bridge")) + (hsPkgs."prettyprinter-configurable" or (errorHandler.buildDepError "prettyprinter-configurable")) + (hsPkgs."primitive" or (errorHandler.buildDepError "primitive")) (hsPkgs."recursion-schemes" or (errorHandler.buildDepError "recursion-schemes")) - (hsPkgs."servant" or (errorHandler.buildDepError "servant")) - (hsPkgs."servant-client" or (errorHandler.buildDepError "servant-client")) - (hsPkgs."servant-purescript" or (errorHandler.buildDepError "servant-purescript")) - (hsPkgs."servant-server" or (errorHandler.buildDepError "servant-server")) - (hsPkgs."servant-websockets" or (errorHandler.buildDepError "servant-websockets")) + (hsPkgs."semigroupoids" or (errorHandler.buildDepError "semigroupoids")) + (hsPkgs."semigroups" or (errorHandler.buildDepError "semigroups")) + (hsPkgs."serialise" or (errorHandler.buildDepError "serialise")) + (hsPkgs."some" or (errorHandler.buildDepError "some")) (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + (hsPkgs."th-compat" or (errorHandler.buildDepError "th-compat")) (hsPkgs."text" or (errorHandler.buildDepError "text")) + (hsPkgs."th-lift" or (errorHandler.buildDepError "th-lift")) + (hsPkgs."th-lift-instances" or (errorHandler.buildDepError "th-lift-instances")) + (hsPkgs."th-utilities" or (errorHandler.buildDepError "th-utilities")) (hsPkgs."time" or (errorHandler.buildDepError "time")) - (hsPkgs."time-out" or (errorHandler.buildDepError "time-out")) - (hsPkgs."time-units" or (errorHandler.buildDepError "time-units")) (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) (hsPkgs."unordered-containers" or (errorHandler.buildDepError "unordered-containers")) - (hsPkgs."wai" or (errorHandler.buildDepError "wai")) - (hsPkgs."freer-simple" or (errorHandler.buildDepError "freer-simple")) - (hsPkgs."uuid" or (errorHandler.buildDepError "uuid")) - (hsPkgs."streaming" or (errorHandler.buildDepError "streaming")) - (hsPkgs."foldl" or (errorHandler.buildDepError "foldl")) - (hsPkgs."openapi3" or (errorHandler.buildDepError "openapi3")) + (hsPkgs."witherable" or (errorHandler.buildDepError "witherable")) + (hsPkgs."word-array" or (errorHandler.buildDepError "word-array")) + (hsPkgs."cardano-crypto-class" or (errorHandler.buildDepError "cardano-crypto-class")) + (hsPkgs."plutus-core".components.sublibs.index-envs or (errorHandler.buildDepError "plutus-core:index-envs")) + ]; + build-tools = [ + (hsPkgs.buildPackages.alex.components.exes.alex or (pkgs.buildPackages.alex or (errorHandler.buildToolDepError "alex:alex"))) + (hsPkgs.buildPackages.happy.components.exes.happy or (pkgs.buildPackages.happy or (errorHandler.buildToolDepError "happy:happy"))) ]; buildable = true; }; - tests = { - "playground-common-test" = { + sublibs = { + "plutus-core-testlib" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."bifunctors" or (errorHandler.buildDepError "bifunctors")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."dependent-map" or (errorHandler.buildDepError "dependent-map")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."hedgehog" or (errorHandler.buildDepError "hedgehog")) + (hsPkgs."integer-gmp" or (errorHandler.buildDepError "integer-gmp")) + (hsPkgs."lazy-search" or (errorHandler.buildDepError "lazy-search")) + (hsPkgs."lens" or (errorHandler.buildDepError "lens")) + (hsPkgs."megaparsec" or (errorHandler.buildDepError "megaparsec")) + (hsPkgs."mmorph" or (errorHandler.buildDepError "mmorph")) + (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) + (hsPkgs."plutus-core" or (errorHandler.buildDepError "plutus-core")) + (hsPkgs."prettyprinter" or (errorHandler.buildDepError "prettyprinter")) + (hsPkgs."prettyprinter-configurable" or (errorHandler.buildDepError "prettyprinter-configurable")) + (hsPkgs."size-based" or (errorHandler.buildDepError "size-based")) + (hsPkgs."some" or (errorHandler.buildDepError "some")) + (hsPkgs."Stream" or (errorHandler.buildDepError "Stream")) + (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) + (hsPkgs."tasty-golden" or (errorHandler.buildDepError "tasty-golden")) + (hsPkgs."tasty-hedgehog" or (errorHandler.buildDepError "tasty-hedgehog")) + (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) + (hsPkgs."text" or (errorHandler.buildDepError "text")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + ]; + buildable = true; + }; + "index-envs" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."ral" or (errorHandler.buildDepError "ral")) + ]; + buildable = true; + }; + }; + exes = { + "plc" = { + depends = [ + (hsPkgs."plutus-core" or (errorHandler.buildDepError "plutus-core")) + (hsPkgs."plutus-core".components.sublibs.plutus-core-testlib or (errorHandler.buildDepError "plutus-core:plutus-core-testlib")) + (hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."flat" or (errorHandler.buildDepError "flat")) + (hsPkgs."monoidal-containers" or (errorHandler.buildDepError "monoidal-containers")) + (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) + (hsPkgs."optparse-applicative" or (errorHandler.buildDepError "optparse-applicative")) + (hsPkgs."prettyprinter" or (errorHandler.buildDepError "prettyprinter")) + (hsPkgs."text" or (errorHandler.buildDepError "text")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + (hsPkgs."lens" or (errorHandler.buildDepError "lens")) + ]; + buildable = true; + }; + "uplc" = { depends = [ + (hsPkgs."plutus-core" or (errorHandler.buildDepError "plutus-core")) + (hsPkgs."plutus-core".components.sublibs.plutus-core-testlib or (errorHandler.buildDepError "plutus-core:plutus-core-testlib")) (hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."flat" or (errorHandler.buildDepError "flat")) + (hsPkgs."monoidal-containers" or (errorHandler.buildDepError "monoidal-containers")) + (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) + (hsPkgs."optparse-applicative" or (errorHandler.buildDepError "optparse-applicative")) + (hsPkgs."prettyprinter" or (errorHandler.buildDepError "prettyprinter")) + (hsPkgs."split" or (errorHandler.buildDepError "split")) + (hsPkgs."text" or (errorHandler.buildDepError "text")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + (hsPkgs."lens" or (errorHandler.buildDepError "lens")) + ]; + buildable = true; + }; + "pir" = { + depends = [ + (hsPkgs."plutus-core" or (errorHandler.buildDepError "plutus-core")) + (hsPkgs."plutus-core".components.sublibs.plutus-core-testlib or (errorHandler.buildDepError "plutus-core:plutus-core-testlib")) + (hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."flat" or (errorHandler.buildDepError "flat")) + (hsPkgs."lens" or (errorHandler.buildDepError "lens")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."monoidal-containers" or (errorHandler.buildDepError "monoidal-containers")) + (hsPkgs."optparse-applicative" or (errorHandler.buildDepError "optparse-applicative")) + (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) + (hsPkgs."prettyprinter" or (errorHandler.buildDepError "prettyprinter")) + (hsPkgs."cassava" or (errorHandler.buildDepError "cassava")) + (hsPkgs."text" or (errorHandler.buildDepError "text")) + ]; + buildable = true; + }; + "traceToStacks" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."cassava" or (errorHandler.buildDepError "cassava")) + (hsPkgs."integer-gmp" or (errorHandler.buildDepError "integer-gmp")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."optparse-applicative" or (errorHandler.buildDepError "optparse-applicative")) + (hsPkgs."text" or (errorHandler.buildDepError "text")) + (hsPkgs."vector" or (errorHandler.buildDepError "vector")) + ]; + buildable = true; + }; + }; + tests = { + "satint-test" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."test-framework" or (errorHandler.buildDepError "test-framework")) + (hsPkgs."test-framework-hunit" or (errorHandler.buildDepError "test-framework-hunit")) + (hsPkgs."test-framework-quickcheck2" or (errorHandler.buildDepError "test-framework-quickcheck2")) + (hsPkgs."HUnit" or (errorHandler.buildDepError "HUnit")) + (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) + (hsPkgs."plutus-core" or (errorHandler.buildDepError "plutus-core")) + ]; + buildable = true; + }; + "plutus-core-test" = { + depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."cryptonite" or (errorHandler.buildDepError "cryptonite")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."flat" or (errorHandler.buildDepError "flat")) + (hsPkgs."hedgehog" or (errorHandler.buildDepError "hedgehog")) + (hsPkgs."plutus-core" or (errorHandler.buildDepError "plutus-core")) + (hsPkgs."plutus-core".components.sublibs.plutus-core-testlib or (errorHandler.buildDepError "plutus-core:plutus-core-testlib")) + (hsPkgs."mmorph" or (errorHandler.buildDepError "mmorph")) + (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) + (hsPkgs."prettyprinter" or (errorHandler.buildDepError "prettyprinter")) (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) + (hsPkgs."tasty-golden" or (errorHandler.buildDepError "tasty-golden")) + (hsPkgs."tasty-hedgehog" or (errorHandler.buildDepError "tasty-hedgehog")) (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) - (hsPkgs."freer-simple" or (errorHandler.buildDepError "freer-simple")) - (hsPkgs."playground-common" or (errorHandler.buildDepError "playground-common")) - (hsPkgs."plutus-ledger" or (errorHandler.buildDepError "plutus-ledger")) - (hsPkgs."plutus-contract" or (errorHandler.buildDepError "plutus-contract")) - (hsPkgs."recursion-schemes" or (errorHandler.buildDepError "recursion-schemes")) (hsPkgs."text" or (errorHandler.buildDepError "text")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + (hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + (hsPkgs."th-lift-instances" or (errorHandler.buildDepError "th-lift-instances")) + (hsPkgs."th-utilities" or (errorHandler.buildDepError "th-utilities")) + ]; + buildable = true; + }; + "plutus-ir-test" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."plutus-core" or (errorHandler.buildDepError "plutus-core")) + (hsPkgs."plutus-core".components.sublibs.plutus-core-testlib or (errorHandler.buildDepError "plutus-core:plutus-core-testlib")) + (hsPkgs."flat" or (errorHandler.buildDepError "flat")) + (hsPkgs."hedgehog" or (errorHandler.buildDepError "hedgehog")) + (hsPkgs."megaparsec" or (errorHandler.buildDepError "megaparsec")) + (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) + (hsPkgs."tasty-hedgehog" or (errorHandler.buildDepError "tasty-hedgehog")) + (hsPkgs."text" or (errorHandler.buildDepError "text")) + ]; + buildable = true; + }; + "untyped-plutus-core-test" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."hedgehog" or (errorHandler.buildDepError "hedgehog")) + (hsPkgs."flat" or (errorHandler.buildDepError "flat")) + (hsPkgs."lens" or (errorHandler.buildDepError "lens")) + (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) + (hsPkgs."plutus-core" or (errorHandler.buildDepError "plutus-core")) + (hsPkgs."plutus-core".components.sublibs.plutus-core-testlib or (errorHandler.buildDepError "plutus-core:plutus-core-testlib")) + (hsPkgs."plutus-core".components.sublibs.index-envs or (errorHandler.buildDepError "plutus-core:index-envs")) + (hsPkgs."prettyprinter" or (errorHandler.buildDepError "prettyprinter")) + (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) + (hsPkgs."tasty-golden" or (errorHandler.buildDepError "tasty-golden")) + (hsPkgs."tasty-hedgehog" or (errorHandler.buildDepError "tasty-hedgehog")) + (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) + (hsPkgs."text" or (errorHandler.buildDepError "text")) + ]; + buildable = true; + }; + "traceToStacks-test" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."cassava" or (errorHandler.buildDepError "cassava")) + (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) + (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) + (hsPkgs."text" or (errorHandler.buildDepError "text")) + (hsPkgs."vector" or (errorHandler.buildDepError "vector")) + ]; + buildable = true; + }; + "index-envs-test" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."plutus-core".components.sublibs.index-envs or (errorHandler.buildDepError "plutus-core:index-envs")) + (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) + (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) + (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) + ]; + buildable = true; + }; + }; + benchmarks = { + "cost-model-budgeting-bench" = { + depends = [ + (hsPkgs."plutus-core" or (errorHandler.buildDepError "plutus-core")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."criterion" or (errorHandler.buildDepError "criterion")) + (hsPkgs."criterion-measurement" or (errorHandler.buildDepError "criterion-measurement")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."hedgehog" or (errorHandler.buildDepError "hedgehog")) + (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) + (hsPkgs."optparse-applicative" or (errorHandler.buildDepError "optparse-applicative")) + (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) + (hsPkgs."quickcheck-instances" or (errorHandler.buildDepError "quickcheck-instances")) + (hsPkgs."random" or (errorHandler.buildDepError "random")) + (hsPkgs."text" or (errorHandler.buildDepError "text")) + ]; + buildable = true; + }; + "update-cost-model" = { + depends = [ + (hsPkgs."plutus-core" or (errorHandler.buildDepError "plutus-core")) + (hsPkgs."aeson-pretty" or (errorHandler.buildDepError "aeson-pretty")) + (hsPkgs."barbies" or (errorHandler.buildDepError "barbies")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."cassava" or (errorHandler.buildDepError "cassava")) + (hsPkgs."exceptions" or (errorHandler.buildDepError "exceptions")) + (hsPkgs."extra" or (errorHandler.buildDepError "extra")) + (hsPkgs."inline-r" or (errorHandler.buildDepError "inline-r")) + (hsPkgs."text" or (errorHandler.buildDepError "text")) + (hsPkgs."vector" or (errorHandler.buildDepError "vector")) + ]; + buildable = true; + }; + "cost-model-test" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."plutus-core" or (errorHandler.buildDepError "plutus-core")) + (hsPkgs."barbies" or (errorHandler.buildDepError "barbies")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."cassava" or (errorHandler.buildDepError "cassava")) + (hsPkgs."exceptions" or (errorHandler.buildDepError "exceptions")) + (hsPkgs."extra" or (errorHandler.buildDepError "extra")) + (hsPkgs."hedgehog" or (errorHandler.buildDepError "hedgehog")) + (hsPkgs."inline-r" or (errorHandler.buildDepError "inline-r")) + (hsPkgs."mmorph" or (errorHandler.buildDepError "mmorph")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + (hsPkgs."text" or (errorHandler.buildDepError "text")) + (hsPkgs."vector" or (errorHandler.buildDepError "vector")) + ]; + buildable = true; + }; + "index-envs-bench" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."plutus-core".components.sublibs.index-envs or (errorHandler.buildDepError "plutus-core:index-envs")) + (hsPkgs."criterion" or (errorHandler.buildDepError "criterion")) + (hsPkgs."random" or (errorHandler.buildDepError "random")) + (hsPkgs."ral" or (errorHandler.buildDepError "ral")) ]; buildable = true; }; }; }; } // rec { - src = (pkgs.lib).mkDefault /nix/store/6m6zyip9n1sv3dfh6vyz7158r08wd3bi-plutus-1efbb27/playground-common; + src = (pkgs.lib).mkDefault /nix/store/fngr9a0n2d9cx6ywm2abhhx0g5acbci8-plutus-fc5fe94/plutus-core; } diff --git a/nix/materialized/stack-nix/.stack-to-nix.cache.84 b/nix/materialized/stack-nix/.stack-to-nix.cache.84 index 3ce2e746cad..bb734c7eb39 100644 --- a/nix/materialized/stack-nix/.stack-to-nix.cache.84 +++ b/nix/materialized/stack-nix/.stack-to-nix.cache.84 @@ -10,128 +10,67 @@ { flags = {}; package = { - specVersion = "2.2"; - identifier = { name = "plutus-chain-index"; version = "0.1.0.0"; }; + specVersion = "3.0"; + identifier = { name = "plutus-ledger-api"; version = "0.1.0.0"; }; license = "Apache-2.0"; copyright = ""; - maintainer = "sjoerd.visscher@iohk.io"; - author = "Sjoerd Visscher"; - homepage = "https://github.com/iohk/plutus#readme"; + maintainer = "michael.peyton-jones@iohk.io"; + author = "Michael Peyton Jones, Jann Mueller"; + homepage = ""; url = ""; - synopsis = ""; - description = "Please see the README on GitHub at "; + synopsis = "Interface to the Plutus ledger for the Cardano ledger."; + description = "Interface to the Plutus scripting support for the Cardano ledger."; buildType = "Simple"; }; components = { "library" = { depends = [ - (hsPkgs."plutus-core" or (errorHandler.buildDepError "plutus-core")) - (hsPkgs."plutus-ledger" or (errorHandler.buildDepError "plutus-ledger")) - (hsPkgs."plutus-ledger-api" or (errorHandler.buildDepError "plutus-ledger-api")) - (hsPkgs."plutus-tx" or (errorHandler.buildDepError "plutus-tx")) - (hsPkgs."freer-extras" or (errorHandler.buildDepError "freer-extras")) - (hsPkgs."cardano-ledger-core" or (errorHandler.buildDepError "cardano-ledger-core")) - (hsPkgs."cardano-ledger-alonzo" or (errorHandler.buildDepError "cardano-ledger-alonzo")) - (hsPkgs."cardano-ledger-shelley-ma" or (errorHandler.buildDepError "cardano-ledger-shelley-ma")) - (hsPkgs."ouroboros-consensus-shelley" or (errorHandler.buildDepError "ouroboros-consensus-shelley")) - (hsPkgs."shelley-spec-ledger" or (errorHandler.buildDepError "shelley-spec-ledger")) - (hsPkgs."strict-containers" or (errorHandler.buildDepError "strict-containers")) - (hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."beam-core" or (errorHandler.buildDepError "beam-core")) - (hsPkgs."beam-sqlite" or (errorHandler.buildDepError "beam-sqlite")) - (hsPkgs."beam-migrate" or (errorHandler.buildDepError "beam-migrate")) - (hsPkgs."cardano-api" or (errorHandler.buildDepError "cardano-api")) - (hsPkgs."cardano-ledger-byron" or (errorHandler.buildDepError "cardano-ledger-byron")) + (hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."cborg" or (errorHandler.buildDepError "cborg")) (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."contra-tracer" or (errorHandler.buildDepError "contra-tracer")) - (hsPkgs."cryptonite" or (errorHandler.buildDepError "cryptonite")) - (hsPkgs."data-default" or (errorHandler.buildDepError "data-default")) - (hsPkgs."exceptions" or (errorHandler.buildDepError "exceptions")) - (hsPkgs."fingertree" or (errorHandler.buildDepError "fingertree")) - (hsPkgs."freer-simple" or (errorHandler.buildDepError "freer-simple")) - (hsPkgs."io-classes" or (errorHandler.buildDepError "io-classes")) - (hsPkgs."iohk-monitoring" or (errorHandler.buildDepError "iohk-monitoring")) - (hsPkgs."lens" or (errorHandler.buildDepError "lens")) + (hsPkgs."flat" or (errorHandler.buildDepError "flat")) + (hsPkgs."hashable" or (errorHandler.buildDepError "hashable")) + (hsPkgs."plutus-core" or (errorHandler.buildDepError "plutus-core")) (hsPkgs."memory" or (errorHandler.buildDepError "memory")) - (hsPkgs."nothunks" or (errorHandler.buildDepError "nothunks")) - (hsPkgs."ouroboros-network" or (errorHandler.buildDepError "ouroboros-network")) - (hsPkgs."ouroboros-network-framework" or (errorHandler.buildDepError "ouroboros-network-framework")) - (hsPkgs."ouroboros-consensus" or (errorHandler.buildDepError "ouroboros-consensus")) - (hsPkgs."ouroboros-consensus-byron" or (errorHandler.buildDepError "ouroboros-consensus-byron")) - (hsPkgs."ouroboros-consensus-cardano" or (errorHandler.buildDepError "ouroboros-consensus-cardano")) - (hsPkgs."prettyprinter" or (errorHandler.buildDepError "prettyprinter")) - (hsPkgs."retry" or (errorHandler.buildDepError "retry")) - (hsPkgs."semigroups" or (errorHandler.buildDepError "semigroups")) + (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) + (hsPkgs."plutus-tx" or (errorHandler.buildDepError "plutus-tx")) (hsPkgs."serialise" or (errorHandler.buildDepError "serialise")) - (hsPkgs."sqlite-simple" or (errorHandler.buildDepError "sqlite-simple")) - (hsPkgs."time-units" or (errorHandler.buildDepError "time-units")) - (hsPkgs."typed-protocols-examples" or (errorHandler.buildDepError "typed-protocols-examples")) - (hsPkgs."unordered-containers" or (errorHandler.buildDepError "unordered-containers")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) (hsPkgs."text" or (errorHandler.buildDepError "text")) - (hsPkgs."servant" or (errorHandler.buildDepError "servant")) - (hsPkgs."servant-server" or (errorHandler.buildDepError "servant-server")) - (hsPkgs."stm" or (errorHandler.buildDepError "stm")) - (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - (hsPkgs."warp" or (errorHandler.buildDepError "warp")) - (hsPkgs."servant-client" or (errorHandler.buildDepError "servant-client")) - (hsPkgs."servant-client-core" or (errorHandler.buildDepError "servant-client-core")) - (hsPkgs."http-types" or (errorHandler.buildDepError "http-types")) + (hsPkgs."prettyprinter" or (errorHandler.buildDepError "prettyprinter")) + (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) + (hsPkgs."base16-bytestring" or (errorHandler.buildDepError "base16-bytestring")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."newtype-generics" or (errorHandler.buildDepError "newtype-generics")) + (hsPkgs."tagged" or (errorHandler.buildDepError "tagged")) + (hsPkgs."lens" or (errorHandler.buildDepError "lens")) + (hsPkgs."scientific" or (errorHandler.buildDepError "scientific")) ]; buildable = true; }; - exes = { - "plutus-chain-index" = { + tests = { + "plutus-ledger-api-test" = { depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) (hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) - (hsPkgs."beam-core" or (errorHandler.buildDepError "beam-core")) - (hsPkgs."beam-sqlite" or (errorHandler.buildDepError "beam-sqlite")) - (hsPkgs."beam-migrate" or (errorHandler.buildDepError "beam-migrate")) - (hsPkgs."cardano-api" or (errorHandler.buildDepError "cardano-api")) - (hsPkgs."cardano-slotting" or (errorHandler.buildDepError "cardano-slotting")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."contra-tracer" or (errorHandler.buildDepError "contra-tracer")) - (hsPkgs."freer-extras" or (errorHandler.buildDepError "freer-extras")) - (hsPkgs."freer-simple" or (errorHandler.buildDepError "freer-simple")) - (hsPkgs."lens" or (errorHandler.buildDepError "lens")) - (hsPkgs."optparse-applicative" or (errorHandler.buildDepError "optparse-applicative")) - (hsPkgs."ouroboros-network" or (errorHandler.buildDepError "ouroboros-network")) - (hsPkgs."plutus-chain-index" or (errorHandler.buildDepError "plutus-chain-index")) - (hsPkgs."plutus-ledger" or (errorHandler.buildDepError "plutus-ledger")) - (hsPkgs."iohk-monitoring" or (errorHandler.buildDepError "iohk-monitoring")) - (hsPkgs."yaml" or (errorHandler.buildDepError "yaml")) - (hsPkgs."prettyprinter" or (errorHandler.buildDepError "prettyprinter")) - (hsPkgs."plutus-chain-index" or (errorHandler.buildDepError "plutus-chain-index")) - (hsPkgs."sqlite-simple" or (errorHandler.buildDepError "sqlite-simple")) - (hsPkgs."stm" or (errorHandler.buildDepError "stm")) - ]; - buildable = true; - }; - }; - tests = { - "plutus-chain-index-test" = { - depends = [ - (hsPkgs."plutus-ledger" or (errorHandler.buildDepError "plutus-ledger")) + (hsPkgs."plutus-core" or (errorHandler.buildDepError "plutus-core")) + (hsPkgs."plutus-core".components.sublibs.plutus-core-testlib or (errorHandler.buildDepError "plutus-core:plutus-core-testlib")) (hsPkgs."plutus-ledger-api" or (errorHandler.buildDepError "plutus-ledger-api")) - (hsPkgs."plutus-tx" or (errorHandler.buildDepError "plutus-tx")) - (hsPkgs."plutus-chain-index" or (errorHandler.buildDepError "plutus-chain-index")) - (hsPkgs."base" or (errorHandler.buildDepError "base")) (hsPkgs."hedgehog" or (errorHandler.buildDepError "hedgehog")) (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) (hsPkgs."tasty-hedgehog" or (errorHandler.buildDepError "tasty-hedgehog")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."serialise" or (errorHandler.buildDepError "serialise")) + (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) + (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."fingertree" or (errorHandler.buildDepError "fingertree")) - (hsPkgs."freer-simple" or (errorHandler.buildDepError "freer-simple")) - (hsPkgs."lens" or (errorHandler.buildDepError "lens")) + (hsPkgs."serialise" or (errorHandler.buildDepError "serialise")) ]; buildable = true; }; }; }; } // rec { - src = (pkgs.lib).mkDefault /nix/store/6m6zyip9n1sv3dfh6vyz7158r08wd3bi-plutus-1efbb27/plutus-chain-index; + src = (pkgs.lib).mkDefault /nix/store/fngr9a0n2d9cx6ywm2abhhx0g5acbci8-plutus-fc5fe94/plutus-ledger-api; } diff --git a/nix/materialized/stack-nix/.stack-to-nix.cache.85 b/nix/materialized/stack-nix/.stack-to-nix.cache.85 index 49332c0d707..fbd9c55261a 100644 --- a/nix/materialized/stack-nix/.stack-to-nix.cache.85 +++ b/nix/materialized/stack-nix/.stack-to-nix.cache.85 @@ -8,110 +8,90 @@ , config , ... }: { - flags = { defer-plugin-errors = false; }; + flags = {}; package = { - specVersion = "2.2"; - identifier = { name = "plutus-contract"; version = "0.1.0.0"; }; + specVersion = "3.0"; + identifier = { name = "plutus-tx"; version = "0.1.0.0"; }; license = "Apache-2.0"; copyright = ""; - maintainer = "jann.mueller@iohk.io"; - author = "Jann Müller"; - homepage = "https://github.com/iohk/plutus#readme"; + maintainer = "michael.peyton-jones@iohk.io"; + author = "Michael Peyton Jones"; + homepage = ""; url = ""; - synopsis = ""; - description = "Please see the README on GitHub at "; + synopsis = "Libraries for Plutus Tx and its prelude"; + description = "Libraries for Plutus Tx and its prelude"; buildType = "Simple"; }; components = { "library" = { - depends = ([ - (hsPkgs."plutus-chain-index" or (errorHandler.buildDepError "plutus-chain-index")) - (hsPkgs."plutus-core" or (errorHandler.buildDepError "plutus-core")) - (hsPkgs."plutus-ledger" or (errorHandler.buildDepError "plutus-ledger")) - (hsPkgs."plutus-ledger-api" or (errorHandler.buildDepError "plutus-ledger-api")) - (hsPkgs."plutus-tx" or (errorHandler.buildDepError "plutus-tx")) - (hsPkgs."freer-extras" or (errorHandler.buildDepError "freer-extras")) - (hsPkgs."cardano-api" or (errorHandler.buildDepError "cardano-api")) - (hsPkgs."cardano-crypto" or (errorHandler.buildDepError "cardano-crypto")) - (hsPkgs."cardano-ledger-core" or (errorHandler.buildDepError "cardano-ledger-core")) - (hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) - (hsPkgs."aeson-pretty" or (errorHandler.buildDepError "aeson-pretty")) + depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."cryptonite" or (errorHandler.buildDepError "cryptonite")) - (hsPkgs."data-default" or (errorHandler.buildDepError "data-default")) (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) - (hsPkgs."directory" or (errorHandler.buildDepError "directory")) - (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) - (hsPkgs."fingertree" or (errorHandler.buildDepError "fingertree")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + (hsPkgs."th-compat" or (errorHandler.buildDepError "th-compat")) + (hsPkgs."th-abstraction" or (errorHandler.buildDepError "th-abstraction")) + (hsPkgs."prettyprinter" or (errorHandler.buildDepError "prettyprinter")) + (hsPkgs."text" or (errorHandler.buildDepError "text")) + (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) (hsPkgs."flat" or (errorHandler.buildDepError "flat")) - (hsPkgs."foldl" or (errorHandler.buildDepError "foldl")) - (hsPkgs."freer-simple" or (errorHandler.buildDepError "freer-simple")) - (hsPkgs."hashable" or (errorHandler.buildDepError "hashable")) - (hsPkgs."hedgehog" or (errorHandler.buildDepError "hedgehog")) + (hsPkgs."plutus-core" or (errorHandler.buildDepError "plutus-core")) (hsPkgs."lens" or (errorHandler.buildDepError "lens")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) + (hsPkgs."hashable" or (errorHandler.buildDepError "hashable")) (hsPkgs."memory" or (errorHandler.buildDepError "memory")) - (hsPkgs."mmorph" or (errorHandler.buildDepError "mmorph")) - (hsPkgs."monad-control" or (errorHandler.buildDepError "monad-control")) - (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - (hsPkgs."newtype-generics" or (errorHandler.buildDepError "newtype-generics")) - (hsPkgs."prettyprinter" or (errorHandler.buildDepError "prettyprinter")) - (hsPkgs."profunctors" or (errorHandler.buildDepError "profunctors")) - (hsPkgs."quickcheck-dynamic" or (errorHandler.buildDepError "quickcheck-dynamic")) - (hsPkgs."random" or (errorHandler.buildDepError "random")) - (hsPkgs."row-types" or (errorHandler.buildDepError "row-types")) - (hsPkgs."semigroupoids" or (errorHandler.buildDepError "semigroupoids")) - (hsPkgs."semigroups" or (errorHandler.buildDepError "semigroups")) - (hsPkgs."servant" or (errorHandler.buildDepError "servant")) (hsPkgs."serialise" or (errorHandler.buildDepError "serialise")) - (hsPkgs."streaming" or (errorHandler.buildDepError "streaming")) - (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) - (hsPkgs."text" or (errorHandler.buildDepError "text")) - (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) - (hsPkgs."unordered-containers" or (errorHandler.buildDepError "unordered-containers")) - (hsPkgs."uuid" or (errorHandler.buildDepError "uuid")) - (hsPkgs."IntervalMap" or (errorHandler.buildDepError "IntervalMap")) - (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) - (hsPkgs."openapi3" or (errorHandler.buildDepError "openapi3")) - ] ++ (pkgs.lib).optional (!(compiler.isGhcjs && true || system.isGhcjs)) (hsPkgs."plutus-tx-plugin" or (errorHandler.buildDepError "plutus-tx-plugin"))) ++ (pkgs.lib).optionals (!(compiler.isGhcjs && true || system.isGhcjs || system.isWindows)) [ - (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) - (hsPkgs."tasty-golden" or (errorHandler.buildDepError "tasty-golden")) ]; buildable = true; }; + sublibs = { + "plutus-tx-testlib" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."prettyprinter" or (errorHandler.buildDepError "prettyprinter")) + (hsPkgs."text" or (errorHandler.buildDepError "text")) + (hsPkgs."flat" or (errorHandler.buildDepError "flat")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."plutus-core" or (errorHandler.buildDepError "plutus-core")) + (hsPkgs."plutus-core".components.sublibs.plutus-core-testlib or (errorHandler.buildDepError "plutus-core:plutus-core-testlib")) + (hsPkgs."plutus-tx" or (errorHandler.buildDepError "plutus-tx")) + (hsPkgs."lens" or (errorHandler.buildDepError "lens")) + (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."tagged" or (errorHandler.buildDepError "tagged")) + (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) + ]; + buildable = true; + }; + }; tests = { - "plutus-contract-test" = { + "plutus-tx-test" = { depends = [ + (hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) (hsPkgs."base" or (errorHandler.buildDepError "base")) (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."data-default" or (errorHandler.buildDepError "data-default")) - (hsPkgs."freer-extras" or (errorHandler.buildDepError "freer-extras")) (hsPkgs."hedgehog" or (errorHandler.buildDepError "hedgehog")) + (hsPkgs."hedgehog-fn" or (errorHandler.buildDepError "hedgehog-fn")) + (hsPkgs."plutus-core" or (errorHandler.buildDepError "plutus-core")) + (hsPkgs."plutus-tx" or (errorHandler.buildDepError "plutus-tx")) + (hsPkgs."pretty-show" or (errorHandler.buildDepError "pretty-show")) (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."tasty-golden" or (errorHandler.buildDepError "tasty-golden")) - (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) - (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) (hsPkgs."tasty-hedgehog" or (errorHandler.buildDepError "tasty-hedgehog")) - (hsPkgs."text" or (errorHandler.buildDepError "text")) - (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - (hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) - (hsPkgs."lens" or (errorHandler.buildDepError "lens")) - (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) - (hsPkgs."extensible-effects" or (errorHandler.buildDepError "extensible-effects")) - (hsPkgs."plutus-contract" or (errorHandler.buildDepError "plutus-contract")) - (hsPkgs."plutus-ledger" or (errorHandler.buildDepError "plutus-ledger")) - (hsPkgs."plutus-tx" or (errorHandler.buildDepError "plutus-tx")) - (hsPkgs."freer-simple" or (errorHandler.buildDepError "freer-simple")) - (hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) - (hsPkgs."semigroupoids" or (errorHandler.buildDepError "semigroupoids")) - ] ++ (pkgs.lib).optional (!(compiler.isGhcjs && true || system.isGhcjs)) (hsPkgs."plutus-tx-plugin" or (errorHandler.buildDepError "plutus-tx-plugin")); - buildable = true; + (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) + (hsPkgs."serialise" or (errorHandler.buildDepError "serialise")) + (hsPkgs."cborg" or (errorHandler.buildDepError "cborg")) + ]; + build-tools = [ + (hsPkgs.buildPackages.doctest.components.exes.doctest or (pkgs.buildPackages.doctest or (errorHandler.buildToolDepError "doctest:doctest"))) + ]; + buildable = if compiler.isGhcjs && true || system.isWindows + then false + else true; }; }; }; } // rec { - src = (pkgs.lib).mkDefault /nix/store/6m6zyip9n1sv3dfh6vyz7158r08wd3bi-plutus-1efbb27/plutus-contract; + src = (pkgs.lib).mkDefault /nix/store/fngr9a0n2d9cx6ywm2abhhx0g5acbci8-plutus-fc5fe94/plutus-tx; } diff --git a/nix/materialized/stack-nix/.stack-to-nix.cache.86 b/nix/materialized/stack-nix/.stack-to-nix.cache.86 index c55b025a5ba..c7db772a2b1 100644 --- a/nix/materialized/stack-nix/.stack-to-nix.cache.86 +++ b/nix/materialized/stack-nix/.stack-to-nix.cache.86 @@ -8,293 +8,84 @@ , config , ... }: { - flags = {}; + flags = { use-ghc-stub = false; }; package = { - specVersion = "2.4"; - identifier = { name = "plutus-core"; version = "0.1.0.0"; }; + specVersion = "3.0"; + identifier = { name = "plutus-tx-plugin"; version = "0.1.0.0"; }; license = "Apache-2.0"; copyright = ""; maintainer = "michael.peyton-jones@iohk.io"; - author = "Plutus Core Team"; + author = "Michael Peyton Jones"; homepage = ""; url = ""; - synopsis = "Language library for Plutus Core"; - description = "Pretty-printer, parser, and typechecker for Plutus Core."; + synopsis = "The Plutus Tx compiler and GHC plugin"; + description = "The Plutus Tx compiler and GHC plugin."; buildType = "Simple"; }; components = { "library" = { depends = [ - (hsPkgs."Stream" or (errorHandler.buildDepError "Stream")) - (hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) - (hsPkgs."algebraic-graphs" or (errorHandler.buildDepError "algebraic-graphs")) - (hsPkgs."array" or (errorHandler.buildDepError "array")) - (hsPkgs."barbies" or (errorHandler.buildDepError "barbies")) (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bifunctors" or (errorHandler.buildDepError "bifunctors")) - (hsPkgs."bimap" or (errorHandler.buildDepError "bimap")) (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."cardano-crypto" or (errorHandler.buildDepError "cardano-crypto")) - (hsPkgs."cassava" or (errorHandler.buildDepError "cassava")) - (hsPkgs."cborg" or (errorHandler.buildDepError "cborg")) - (hsPkgs."composition-prelude" or (errorHandler.buildDepError "composition-prelude")) (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."cryptonite" or (errorHandler.buildDepError "cryptonite")) - (hsPkgs."data-default-class" or (errorHandler.buildDepError "data-default-class")) - (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) - (hsPkgs."dependent-map" or (errorHandler.buildDepError "dependent-map")) - (hsPkgs."dependent-sum-template" or (errorHandler.buildDepError "dependent-sum-template")) - (hsPkgs."deriving-aeson" or (errorHandler.buildDepError "deriving-aeson")) - (hsPkgs."deriving-compat" or (errorHandler.buildDepError "deriving-compat")) - (hsPkgs."dlist" or (errorHandler.buildDepError "dlist")) - (hsPkgs."dom-lt" or (errorHandler.buildDepError "dom-lt")) - (hsPkgs."exceptions" or (errorHandler.buildDepError "exceptions")) (hsPkgs."extra" or (errorHandler.buildDepError "extra")) - (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) (hsPkgs."flat" or (errorHandler.buildDepError "flat")) (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) - (hsPkgs."hashable" or (errorHandler.buildDepError "hashable")) - (hsPkgs."hedgehog" or (errorHandler.buildDepError "hedgehog")) - (hsPkgs."integer-gmp" or (errorHandler.buildDepError "integer-gmp")) - (hsPkgs."lazy-search" or (errorHandler.buildDepError "lazy-search")) + (hsPkgs."plutus-core" or (errorHandler.buildDepError "plutus-core")) (hsPkgs."lens" or (errorHandler.buildDepError "lens")) - (hsPkgs."megaparsec" or (errorHandler.buildDepError "megaparsec")) - (hsPkgs."mmorph" or (errorHandler.buildDepError "mmorph")) - (hsPkgs."monoidal-containers" or (errorHandler.buildDepError "monoidal-containers")) (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - (hsPkgs."parser-combinators" or (errorHandler.buildDepError "parser-combinators")) (hsPkgs."prettyprinter" or (errorHandler.buildDepError "prettyprinter")) - (hsPkgs."prettyprinter-configurable" or (errorHandler.buildDepError "prettyprinter-configurable")) - (hsPkgs."primitive" or (errorHandler.buildDepError "primitive")) - (hsPkgs."recursion-schemes" or (errorHandler.buildDepError "recursion-schemes")) - (hsPkgs."semigroupoids" or (errorHandler.buildDepError "semigroupoids")) - (hsPkgs."semigroups" or (errorHandler.buildDepError "semigroups")) - (hsPkgs."serialise" or (errorHandler.buildDepError "serialise")) - (hsPkgs."size-based" or (errorHandler.buildDepError "size-based")) - (hsPkgs."some" or (errorHandler.buildDepError "some")) - (hsPkgs."sop-core" or (errorHandler.buildDepError "sop-core")) - (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."tasty-golden" or (errorHandler.buildDepError "tasty-golden")) - (hsPkgs."tasty-hedgehog" or (errorHandler.buildDepError "tasty-hedgehog")) - (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) (hsPkgs."text" or (errorHandler.buildDepError "text")) - (hsPkgs."th-lift" or (errorHandler.buildDepError "th-lift")) - (hsPkgs."th-lift-instances" or (errorHandler.buildDepError "th-lift-instances")) - (hsPkgs."th-utilities" or (errorHandler.buildDepError "th-utilities")) - (hsPkgs."time" or (errorHandler.buildDepError "time")) (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) - (hsPkgs."unordered-containers" or (errorHandler.buildDepError "unordered-containers")) - (hsPkgs."witherable" or (errorHandler.buildDepError "witherable")) - (hsPkgs."word-array" or (errorHandler.buildDepError "word-array")) - (hsPkgs."cardano-crypto-class" or (errorHandler.buildDepError "cardano-crypto-class")) - ]; - build-tools = [ - (hsPkgs.buildPackages.alex.components.exes.alex or (pkgs.buildPackages.alex or (errorHandler.buildToolDepError "alex:alex"))) - (hsPkgs.buildPackages.happy.components.exes.happy or (pkgs.buildPackages.happy or (errorHandler.buildToolDepError "happy:happy"))) - ]; + (hsPkgs."plutus-tx" or (errorHandler.buildDepError "plutus-tx")) + (hsPkgs."array" or (errorHandler.buildDepError "array")) + ] ++ (if flags.use-ghc-stub + then [ + (hsPkgs."plutus-ghc-stub" or (errorHandler.buildDepError "plutus-ghc-stub")) + ] + else [ (hsPkgs."ghc" or (errorHandler.buildDepError "ghc")) ]); buildable = true; }; - sublibs = { - "index-envs" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."ral" or (errorHandler.buildDepError "ral")) - ]; - buildable = true; - }; - }; - exes = { - "plc" = { - depends = [ - (hsPkgs."plutus-core" or (errorHandler.buildDepError "plutus-core")) - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) - (hsPkgs."flat" or (errorHandler.buildDepError "flat")) - (hsPkgs."monoidal-containers" or (errorHandler.buildDepError "monoidal-containers")) - (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - (hsPkgs."optparse-applicative" or (errorHandler.buildDepError "optparse-applicative")) - (hsPkgs."prettyprinter" or (errorHandler.buildDepError "prettyprinter")) - (hsPkgs."text" or (errorHandler.buildDepError "text")) - (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) - ]; - buildable = true; - }; - "uplc" = { - depends = [ - (hsPkgs."plutus-core" or (errorHandler.buildDepError "plutus-core")) - (hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) - (hsPkgs."flat" or (errorHandler.buildDepError "flat")) - (hsPkgs."monoidal-containers" or (errorHandler.buildDepError "monoidal-containers")) - (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - (hsPkgs."optparse-applicative" or (errorHandler.buildDepError "optparse-applicative")) - (hsPkgs."prettyprinter" or (errorHandler.buildDepError "prettyprinter")) - (hsPkgs."split" or (errorHandler.buildDepError "split")) - (hsPkgs."text" or (errorHandler.buildDepError "text")) - (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) - ]; - buildable = true; - }; - "pir" = { - depends = [ - (hsPkgs."plutus-core" or (errorHandler.buildDepError "plutus-core")) - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."flat" or (errorHandler.buildDepError "flat")) - (hsPkgs."lens" or (errorHandler.buildDepError "lens")) - (hsPkgs."optparse-applicative" or (errorHandler.buildDepError "optparse-applicative")) - (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) - ]; - buildable = true; - }; - }; tests = { - "satint-test" = { + "plutus-tx-tests" = { depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."test-framework" or (errorHandler.buildDepError "test-framework")) - (hsPkgs."test-framework-hunit" or (errorHandler.buildDepError "test-framework-hunit")) - (hsPkgs."test-framework-quickcheck2" or (errorHandler.buildDepError "test-framework-quickcheck2")) - (hsPkgs."HUnit" or (errorHandler.buildDepError "HUnit")) - (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) - (hsPkgs."plutus-core" or (errorHandler.buildDepError "plutus-core")) - ]; - buildable = true; - }; - "plutus-core-test" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) (hsPkgs."flat" or (errorHandler.buildDepError "flat")) - (hsPkgs."hedgehog" or (errorHandler.buildDepError "hedgehog")) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) + (hsPkgs."integer-gmp" or (errorHandler.buildDepError "integer-gmp")) (hsPkgs."plutus-core" or (errorHandler.buildDepError "plutus-core")) - (hsPkgs."mmorph" or (errorHandler.buildDepError "mmorph")) - (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) + (hsPkgs."plutus-core".components.sublibs.plutus-core-testlib or (errorHandler.buildDepError "plutus-core:plutus-core-testlib")) + (hsPkgs."plutus-tx" or (errorHandler.buildDepError "plutus-tx")) + (hsPkgs."plutus-tx".components.sublibs.plutus-tx-testlib or (errorHandler.buildDepError "plutus-tx:plutus-tx-testlib")) + (hsPkgs."plutus-tx-plugin" or (errorHandler.buildDepError "plutus-tx-plugin")) (hsPkgs."prettyprinter" or (errorHandler.buildDepError "prettyprinter")) + (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) + (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."tasty-golden" or (errorHandler.buildDepError "tasty-golden")) (hsPkgs."tasty-hedgehog" or (errorHandler.buildDepError "tasty-hedgehog")) (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) (hsPkgs."text" or (errorHandler.buildDepError "text")) - (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) - ]; - buildable = true; - }; - "plutus-ir-test" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."plutus-core" or (errorHandler.buildDepError "plutus-core")) - (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) - (hsPkgs."flat" or (errorHandler.buildDepError "flat")) (hsPkgs."hedgehog" or (errorHandler.buildDepError "hedgehog")) (hsPkgs."lens" or (errorHandler.buildDepError "lens")) - (hsPkgs."megaparsec" or (errorHandler.buildDepError "megaparsec")) - (hsPkgs."mmorph" or (errorHandler.buildDepError "mmorph")) - (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - (hsPkgs."prettyprinter" or (errorHandler.buildDepError "prettyprinter")) - (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."tasty-hedgehog" or (errorHandler.buildDepError "tasty-hedgehog")) - (hsPkgs."text" or (errorHandler.buildDepError "text")) - ]; - buildable = true; - }; - "untyped-plutus-core-test" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."hedgehog" or (errorHandler.buildDepError "hedgehog")) - (hsPkgs."flat" or (errorHandler.buildDepError "flat")) - (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - (hsPkgs."plutus-core" or (errorHandler.buildDepError "plutus-core")) - (hsPkgs."prettyprinter" or (errorHandler.buildDepError "prettyprinter")) - (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."tasty-golden" or (errorHandler.buildDepError "tasty-golden")) - (hsPkgs."tasty-hedgehog" or (errorHandler.buildDepError "tasty-hedgehog")) - (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) - (hsPkgs."text" or (errorHandler.buildDepError "text")) + (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) + (hsPkgs."containers" or (errorHandler.buildDepError "containers")) ]; - buildable = true; + buildable = if flags.use-ghc-stub then false else true; }; - "index-envs-test" = { + "size" = { depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."plutus-core".components.sublibs.index-envs or (errorHandler.buildDepError "plutus-core:index-envs")) + (hsPkgs."plutus-tx".components.sublibs.plutus-tx-testlib or (errorHandler.buildDepError "plutus-tx:plutus-tx-testlib")) + (hsPkgs."plutus-tx" or (errorHandler.buildDepError "plutus-tx")) + (hsPkgs."plutus-tx-plugin" or (errorHandler.buildDepError "plutus-tx-plugin")) + (hsPkgs."tagged" or (errorHandler.buildDepError "tagged")) (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) - (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) - ]; - buildable = true; - }; - }; - benchmarks = { - "cost-model-budgeting-bench" = { - depends = [ - (hsPkgs."plutus-core" or (errorHandler.buildDepError "plutus-core")) - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."criterion" or (errorHandler.buildDepError "criterion")) - (hsPkgs."criterion-measurement" or (errorHandler.buildDepError "criterion-measurement")) - (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) - (hsPkgs."directory" or (errorHandler.buildDepError "directory")) - (hsPkgs."hedgehog" or (errorHandler.buildDepError "hedgehog")) - (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - (hsPkgs."optparse-applicative" or (errorHandler.buildDepError "optparse-applicative")) - (hsPkgs."random" or (errorHandler.buildDepError "random")) - ]; - buildable = true; - }; - "update-cost-model" = { - depends = [ - (hsPkgs."plutus-core" or (errorHandler.buildDepError "plutus-core")) - (hsPkgs."aeson-pretty" or (errorHandler.buildDepError "aeson-pretty")) - (hsPkgs."barbies" or (errorHandler.buildDepError "barbies")) - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."cassava" or (errorHandler.buildDepError "cassava")) - (hsPkgs."exceptions" or (errorHandler.buildDepError "exceptions")) - (hsPkgs."extra" or (errorHandler.buildDepError "extra")) - (hsPkgs."inline-r" or (errorHandler.buildDepError "inline-r")) - (hsPkgs."text" or (errorHandler.buildDepError "text")) - (hsPkgs."vector" or (errorHandler.buildDepError "vector")) - ]; - buildable = true; - }; - "cost-model-test" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."plutus-core" or (errorHandler.buildDepError "plutus-core")) - (hsPkgs."barbies" or (errorHandler.buildDepError "barbies")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."cassava" or (errorHandler.buildDepError "cassava")) - (hsPkgs."exceptions" or (errorHandler.buildDepError "exceptions")) - (hsPkgs."extra" or (errorHandler.buildDepError "extra")) - (hsPkgs."hedgehog" or (errorHandler.buildDepError "hedgehog")) - (hsPkgs."inline-r" or (errorHandler.buildDepError "inline-r")) - (hsPkgs."mmorph" or (errorHandler.buildDepError "mmorph")) - (hsPkgs."text" or (errorHandler.buildDepError "text")) - (hsPkgs."vector" or (errorHandler.buildDepError "vector")) - ]; - buildable = true; - }; - "index-envs-bench" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."plutus-core".components.sublibs.index-envs or (errorHandler.buildDepError "plutus-core:index-envs")) - (hsPkgs."criterion" or (errorHandler.buildDepError "criterion")) - (hsPkgs."random" or (errorHandler.buildDepError "random")) - (hsPkgs."ral" or (errorHandler.buildDepError "ral")) ]; buildable = true; }; }; }; } // rec { - src = (pkgs.lib).mkDefault /nix/store/6m6zyip9n1sv3dfh6vyz7158r08wd3bi-plutus-1efbb27/plutus-core; + src = (pkgs.lib).mkDefault /nix/store/fngr9a0n2d9cx6ywm2abhhx0g5acbci8-plutus-fc5fe94/plutus-tx-plugin; } diff --git a/nix/materialized/stack-nix/.stack-to-nix.cache.87 b/nix/materialized/stack-nix/.stack-to-nix.cache.87 index 7d2a636d8e8..c9542e70d2d 100644 --- a/nix/materialized/stack-nix/.stack-to-nix.cache.87 +++ b/nix/materialized/stack-nix/.stack-to-nix.cache.87 @@ -8,86 +8,31 @@ , config , ... }: { - flags = { defer-plugin-errors = false; }; + flags = {}; package = { - specVersion = "3.0"; - identifier = { name = "plutus-ledger"; version = "0.1.0.0"; }; - license = "Apache-2.0"; + specVersion = "1.10"; + identifier = { name = "plutus-ghc-stub"; version = "8.6.5"; }; + license = "BSD-3-Clause"; copyright = ""; - maintainer = "michael.peyton-jones@iohk.io"; - author = "Michael Peyton Jones, Jann Mueller"; - homepage = ""; + maintainer = "glasgow-haskell-users@haskell.org"; + author = "The GHC Team"; + homepage = "http://www.haskell.org/ghc/"; url = ""; - synopsis = "Wallet API"; - description = "Plutus ledger library"; + synopsis = "The GHC API"; + description = "Stub functionality for the Plutus plugin, for cross compilers that\ndon't have a GHC library installed, like GHCJS\nThis should contain all the types and functions that the Plutus\ncompiler uses.\nFor technical reasons (Cabal), we need to be able to compile the plutus-tx\ncompiler for the host platform, even if we are going to load the plugin\nfrom the build platform libraries."; buildType = "Simple"; }; components = { "library" = { depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) - (hsPkgs."base16-bytestring" or (errorHandler.buildDepError "base16-bytestring")) + (hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot")) (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."cborg" or (errorHandler.buildDepError "cborg")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."cryptonite" or (errorHandler.buildDepError "cryptonite")) - (hsPkgs."data-default" or (errorHandler.buildDepError "data-default")) - (hsPkgs."flat" or (errorHandler.buildDepError "flat")) - (hsPkgs."hashable" or (errorHandler.buildDepError "hashable")) - (hsPkgs."hedgehog" or (errorHandler.buildDepError "hedgehog")) - (hsPkgs."plutus-core" or (errorHandler.buildDepError "plutus-core")) - (hsPkgs."plutus-ledger-api" or (errorHandler.buildDepError "plutus-ledger-api")) - (hsPkgs."memory" or (errorHandler.buildDepError "memory")) - (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - (hsPkgs."plutus-tx-plugin" or (errorHandler.buildDepError "plutus-tx-plugin")) - (hsPkgs."prettyprinter" or (errorHandler.buildDepError "prettyprinter")) - (hsPkgs."plutus-tx" or (errorHandler.buildDepError "plutus-tx")) - (hsPkgs."serialise" or (errorHandler.buildDepError "serialise")) - (hsPkgs."scientific" or (errorHandler.buildDepError "scientific")) (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) - (hsPkgs."text" or (errorHandler.buildDepError "text")) - (hsPkgs."time" or (errorHandler.buildDepError "time")) - (hsPkgs."time-units" or (errorHandler.buildDepError "time-units")) - (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) - (hsPkgs."recursion-schemes" or (errorHandler.buildDepError "recursion-schemes")) - (hsPkgs."lens" or (errorHandler.buildDepError "lens")) - (hsPkgs."newtype-generics" or (errorHandler.buildDepError "newtype-generics")) - (hsPkgs."http-api-data" or (errorHandler.buildDepError "http-api-data")) - (hsPkgs."cardano-api" or (errorHandler.buildDepError "cardano-api")) - (hsPkgs."cardano-api".components.sublibs.gen or (errorHandler.buildDepError "cardano-api:gen")) - (hsPkgs."cardano-binary" or (errorHandler.buildDepError "cardano-binary")) - (hsPkgs."cardano-crypto" or (errorHandler.buildDepError "cardano-crypto")) - (hsPkgs."cardano-crypto-class" or (errorHandler.buildDepError "cardano-crypto-class")) - (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) - (hsPkgs."openapi3" or (errorHandler.buildDepError "openapi3")) - (hsPkgs."freer-extras" or (errorHandler.buildDepError "freer-extras")) ]; buildable = true; }; - tests = { - "plutus-ledger-test" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."data-default" or (errorHandler.buildDepError "data-default")) - (hsPkgs."hedgehog" or (errorHandler.buildDepError "hedgehog")) - (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."tasty-hedgehog" or (errorHandler.buildDepError "tasty-hedgehog")) - (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) - (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) - (hsPkgs."plutus-ledger" or (errorHandler.buildDepError "plutus-ledger")) - (hsPkgs."plutus-tx" or (errorHandler.buildDepError "plutus-tx")) - (hsPkgs."lens" or (errorHandler.buildDepError "lens")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) - (hsPkgs."plutus-core" or (errorHandler.buildDepError "plutus-core")) - (hsPkgs."plutus-tx-plugin" or (errorHandler.buildDepError "plutus-tx-plugin")) - ]; - buildable = true; - }; - }; }; } // rec { - src = (pkgs.lib).mkDefault /nix/store/6m6zyip9n1sv3dfh6vyz7158r08wd3bi-plutus-1efbb27/plutus-ledger; + src = (pkgs.lib).mkDefault /nix/store/fngr9a0n2d9cx6ywm2abhhx0g5acbci8-plutus-fc5fe94/stubs/plutus-ghc-stub; } diff --git a/nix/materialized/stack-nix/.stack-to-nix.cache.88 b/nix/materialized/stack-nix/.stack-to-nix.cache.88 index 8049c07d276..589965e19f8 100644 --- a/nix/materialized/stack-nix/.stack-to-nix.cache.88 +++ b/nix/materialized/stack-nix/.stack-to-nix.cache.88 @@ -10,61 +10,63 @@ { flags = {}; package = { - specVersion = "2.2"; - identifier = { name = "plutus-ledger-api"; version = "0.1.0.0"; }; - license = "Apache-2.0"; + specVersion = "2.4"; + identifier = { + name = "prettyprinter-configurable"; + version = "0.1.0.0"; + }; + license = "NONE"; copyright = ""; - maintainer = "michael.peyton-jones@iohk.io"; - author = "Michael Peyton Jones, Jann Mueller"; + maintainer = "plutus@iohk.io"; + author = "David Luposchainsky, effectfully"; homepage = ""; url = ""; - synopsis = "Interface to the Plutus ledger for the Cardano ledger."; - description = "Interface to the Plutus scripting support for the Cardano ledger."; - buildType = "Simple"; + synopsis = ""; + description = ""; + buildType = "Custom"; + setup-depends = [ + (hsPkgs.buildPackages.base or (pkgs.buildPackages.base or (errorHandler.setupDepError "base"))) + (hsPkgs.buildPackages.Cabal or (pkgs.buildPackages.Cabal or (errorHandler.setupDepError "Cabal"))) + (hsPkgs.buildPackages.cabal-doctest or (pkgs.buildPackages.cabal-doctest or (errorHandler.setupDepError "cabal-doctest"))) + ]; }; components = { "library" = { depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."cborg" or (errorHandler.buildDepError "cborg")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."flat" or (errorHandler.buildDepError "flat")) - (hsPkgs."hashable" or (errorHandler.buildDepError "hashable")) - (hsPkgs."plutus-core" or (errorHandler.buildDepError "plutus-core")) - (hsPkgs."memory" or (errorHandler.buildDepError "memory")) + (hsPkgs."prettyprinter" or (errorHandler.buildDepError "prettyprinter")) (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - (hsPkgs."plutus-tx" or (errorHandler.buildDepError "plutus-tx")) - (hsPkgs."serialise" or (errorHandler.buildDepError "serialise")) - (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) (hsPkgs."text" or (errorHandler.buildDepError "text")) - (hsPkgs."prettyprinter" or (errorHandler.buildDepError "prettyprinter")) - (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) - (hsPkgs."base16-bytestring" or (errorHandler.buildDepError "base16-bytestring")) - (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) - (hsPkgs."newtype-generics" or (errorHandler.buildDepError "newtype-generics")) - (hsPkgs."tagged" or (errorHandler.buildDepError "tagged")) - (hsPkgs."lens" or (errorHandler.buildDepError "lens")) - (hsPkgs."scientific" or (errorHandler.buildDepError "scientific")) + (hsPkgs."microlens" or (errorHandler.buildDepError "microlens")) ]; buildable = true; }; tests = { - "plutus-ledger-api-test" = { + "prettyprinter-configurable-test" = { depends = [ + (hsPkgs."prettyprinter-configurable" or (errorHandler.buildDepError "prettyprinter-configurable")) (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) - (hsPkgs."plutus-ledger-api" or (errorHandler.buildDepError "plutus-ledger-api")) - (hsPkgs."hedgehog" or (errorHandler.buildDepError "hedgehog")) + (hsPkgs."prettyprinter" or (errorHandler.buildDepError "prettyprinter")) + (hsPkgs."text" or (errorHandler.buildDepError "text")) + (hsPkgs."megaparsec" or (errorHandler.buildDepError "megaparsec")) + (hsPkgs."parser-combinators" or (errorHandler.buildDepError "parser-combinators")) + (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) + (hsPkgs."quickcheck-text" or (errorHandler.buildDepError "quickcheck-text")) (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."tasty-hedgehog" or (errorHandler.buildDepError "tasty-hedgehog")) (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) + (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) + ]; + buildable = true; + }; + "prettyprinter-configurable-doctest" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."doctest" or (errorHandler.buildDepError "doctest")) ]; buildable = true; }; }; }; } // rec { - src = (pkgs.lib).mkDefault /nix/store/6m6zyip9n1sv3dfh6vyz7158r08wd3bi-plutus-1efbb27/plutus-ledger-api; + src = (pkgs.lib).mkDefault /nix/store/fngr9a0n2d9cx6ywm2abhhx0g5acbci8-plutus-fc5fe94/prettyprinter-configurable; } diff --git a/nix/materialized/stack-nix/.stack-to-nix.cache.89 b/nix/materialized/stack-nix/.stack-to-nix.cache.89 index 7c6758dd39d..cf059d6b83d 100644 --- a/nix/materialized/stack-nix/.stack-to-nix.cache.89 +++ b/nix/materialized/stack-nix/.stack-to-nix.cache.89 @@ -8,403 +8,56 @@ , config , ... }: { - flags = { defer-plugin-errors = false; }; + flags = {}; package = { - specVersion = "2.2"; - identifier = { name = "plutus-pab"; version = "0.1.0.0"; }; + specVersion = "2.4"; + identifier = { name = "word-array"; version = "0.1.0.0"; }; license = "Apache-2.0"; copyright = ""; - maintainer = "jann.mueller@iohk.io"; - author = "Jann Müller"; - homepage = "https://github.com/iohk/plutus#readme"; + maintainer = "michael.peyton-jones@iohk.io"; + author = "Zachary Churchill, Michael Peyton Jones"; + homepage = "https://github.com/plutus"; url = ""; synopsis = ""; - description = "Please see the README on GitHub at "; + description = "Treat integral types as arrays of smaller integral types"; buildType = "Simple"; }; components = { "library" = { depends = [ - (hsPkgs."freer-extras" or (errorHandler.buildDepError "freer-extras")) - (hsPkgs."playground-common" or (errorHandler.buildDepError "playground-common")) - (hsPkgs."plutus-chain-index" or (errorHandler.buildDepError "plutus-chain-index")) - (hsPkgs."plutus-contract" or (errorHandler.buildDepError "plutus-contract")) - (hsPkgs."plutus-ledger" or (errorHandler.buildDepError "plutus-ledger")) - (hsPkgs."plutus-tx" or (errorHandler.buildDepError "plutus-tx")) - (hsPkgs."plutus-tx-plugin" or (errorHandler.buildDepError "plutus-tx-plugin")) - (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) - (hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) - (hsPkgs."aeson-pretty" or (errorHandler.buildDepError "aeson-pretty")) - (hsPkgs."async" or (errorHandler.buildDepError "async")) (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."cardano-api" or (errorHandler.buildDepError "cardano-api")) - (hsPkgs."cardano-crypto" or (errorHandler.buildDepError "cardano-crypto")) - (hsPkgs."cardano-ledger-byron" or (errorHandler.buildDepError "cardano-ledger-byron")) - (hsPkgs."cardano-prelude" or (errorHandler.buildDepError "cardano-prelude")) - (hsPkgs."cardano-slotting" or (errorHandler.buildDepError "cardano-slotting")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."contra-tracer" or (errorHandler.buildDepError "contra-tracer")) - (hsPkgs."cryptonite" or (errorHandler.buildDepError "cryptonite")) - (hsPkgs."cborg" or (errorHandler.buildDepError "cborg")) - (hsPkgs."freer-simple" or (errorHandler.buildDepError "freer-simple")) - (hsPkgs."fingertree" or (errorHandler.buildDepError "fingertree")) - (hsPkgs."generic-arbitrary" or (errorHandler.buildDepError "generic-arbitrary")) - (hsPkgs."http-client" or (errorHandler.buildDepError "http-client")) - (hsPkgs."http-client-tls" or (errorHandler.buildDepError "http-client-tls")) - (hsPkgs."http-types" or (errorHandler.buildDepError "http-types")) - (hsPkgs."io-classes" or (errorHandler.buildDepError "io-classes")) - (hsPkgs."lens" or (errorHandler.buildDepError "lens")) - (hsPkgs."memory" or (errorHandler.buildDepError "memory")) - (hsPkgs."monad-logger" or (errorHandler.buildDepError "monad-logger")) - (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - (hsPkgs."network" or (errorHandler.buildDepError "network")) - (hsPkgs."network-mux" or (errorHandler.buildDepError "network-mux")) - (hsPkgs."newtype-generics" or (errorHandler.buildDepError "newtype-generics")) - (hsPkgs."nothunks" or (errorHandler.buildDepError "nothunks")) - (hsPkgs."optparse-applicative" or (errorHandler.buildDepError "optparse-applicative")) - (hsPkgs."ouroboros-consensus" or (errorHandler.buildDepError "ouroboros-consensus")) - (hsPkgs."ouroboros-consensus-byron" or (errorHandler.buildDepError "ouroboros-consensus-byron")) - (hsPkgs."ouroboros-consensus-shelley" or (errorHandler.buildDepError "ouroboros-consensus-shelley")) - (hsPkgs."ouroboros-consensus-cardano" or (errorHandler.buildDepError "ouroboros-consensus-cardano")) - (hsPkgs."ouroboros-network" or (errorHandler.buildDepError "ouroboros-network")) - (hsPkgs."ouroboros-network-framework" or (errorHandler.buildDepError "ouroboros-network-framework")) - (hsPkgs."plutus-ledger-api" or (errorHandler.buildDepError "plutus-ledger-api")) - (hsPkgs."purescript-bridge" or (errorHandler.buildDepError "purescript-bridge")) - (hsPkgs."prettyprinter" or (errorHandler.buildDepError "prettyprinter")) - (hsPkgs."quickcheck-instances" or (errorHandler.buildDepError "quickcheck-instances")) - (hsPkgs."random" or (errorHandler.buildDepError "random")) - (hsPkgs."row-types" or (errorHandler.buildDepError "row-types")) - (hsPkgs."scientific" or (errorHandler.buildDepError "scientific")) - (hsPkgs."serialise" or (errorHandler.buildDepError "serialise")) - (hsPkgs."servant" or (errorHandler.buildDepError "servant")) - (hsPkgs."servant-client" or (errorHandler.buildDepError "servant-client")) - (hsPkgs."servant-server" or (errorHandler.buildDepError "servant-server")) - (hsPkgs."servant-swagger-ui" or (errorHandler.buildDepError "servant-swagger-ui")) - (hsPkgs."servant-openapi3" or (errorHandler.buildDepError "servant-openapi3")) - (hsPkgs."openapi3" or (errorHandler.buildDepError "openapi3")) - (hsPkgs."servant-options" or (errorHandler.buildDepError "servant-options")) - (hsPkgs."tagged" or (errorHandler.buildDepError "tagged")) - (hsPkgs."typed-protocols" or (errorHandler.buildDepError "typed-protocols")) - (hsPkgs."typed-protocols-examples" or (errorHandler.buildDepError "typed-protocols-examples")) - (hsPkgs."servant-purescript" or (errorHandler.buildDepError "servant-purescript")) - (hsPkgs."servant-websockets" or (errorHandler.buildDepError "servant-websockets")) - (hsPkgs."stm" or (errorHandler.buildDepError "stm")) - (hsPkgs."text" or (errorHandler.buildDepError "text")) - (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) - (hsPkgs."unliftio-core" or (errorHandler.buildDepError "unliftio-core")) - (hsPkgs."unordered-containers" or (errorHandler.buildDepError "unordered-containers")) - (hsPkgs."uuid" or (errorHandler.buildDepError "uuid")) - (hsPkgs."vector" or (errorHandler.buildDepError "vector")) - (hsPkgs."warp" or (errorHandler.buildDepError "warp")) - (hsPkgs."wai" or (errorHandler.buildDepError "wai")) - (hsPkgs."wai-cors" or (errorHandler.buildDepError "wai-cors")) - (hsPkgs."Win32-network" or (errorHandler.buildDepError "Win32-network")) - (hsPkgs."websockets" or (errorHandler.buildDepError "websockets")) - (hsPkgs."yaml" or (errorHandler.buildDepError "yaml")) - (hsPkgs."mwc-random" or (errorHandler.buildDepError "mwc-random")) + (hsPkgs."mono-traversable" or (errorHandler.buildDepError "mono-traversable")) (hsPkgs."primitive" or (errorHandler.buildDepError "primitive")) - (hsPkgs."hedgehog" or (errorHandler.buildDepError "hedgehog")) - (hsPkgs."iohk-monitoring" or (errorHandler.buildDepError "iohk-monitoring")) - (hsPkgs."lobemo-backend-ekg" or (errorHandler.buildDepError "lobemo-backend-ekg")) - (hsPkgs."exceptions" or (errorHandler.buildDepError "exceptions")) - (hsPkgs."data-default" or (errorHandler.buildDepError "data-default")) - (hsPkgs."time" or (errorHandler.buildDepError "time")) - (hsPkgs."time-units" or (errorHandler.buildDepError "time-units")) - (hsPkgs."beam-core" or (errorHandler.buildDepError "beam-core")) - (hsPkgs."beam-sqlite" or (errorHandler.buildDepError "beam-sqlite")) - (hsPkgs."beam-migrate" or (errorHandler.buildDepError "beam-migrate")) - (hsPkgs."sqlite-simple" or (errorHandler.buildDepError "sqlite-simple")) - ]; - build-tools = [ - (hsPkgs.buildPackages.cardano-node.components.exes.cardano-node or (pkgs.buildPackages.cardano-node or (errorHandler.buildToolDepError "cardano-node:cardano-node"))) - (hsPkgs.buildPackages.cardano-cli.components.exes.cardano-cli or (pkgs.buildPackages.cardano-cli or (errorHandler.buildToolDepError "cardano-cli:cardano-cli"))) + (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) ]; buildable = true; }; - exes = { - "plutus-pab-setup" = { - depends = [ - (hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) - (hsPkgs."aeson-pretty" or (errorHandler.buildDepError "aeson-pretty")) - (hsPkgs."async" or (errorHandler.buildDepError "async")) - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."contra-tracer" or (errorHandler.buildDepError "contra-tracer")) - (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) - (hsPkgs."freer-extras" or (errorHandler.buildDepError "freer-extras")) - (hsPkgs."freer-simple" or (errorHandler.buildDepError "freer-simple")) - (hsPkgs."iohk-monitoring" or (errorHandler.buildDepError "iohk-monitoring")) - (hsPkgs."lens" or (errorHandler.buildDepError "lens")) - (hsPkgs."lobemo-backend-ekg" or (errorHandler.buildDepError "lobemo-backend-ekg")) - (hsPkgs."monad-logger" or (errorHandler.buildDepError "monad-logger")) - (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - (hsPkgs."optparse-applicative" or (errorHandler.buildDepError "optparse-applicative")) - (hsPkgs."playground-common" or (errorHandler.buildDepError "playground-common")) - (hsPkgs."plutus-contract" or (errorHandler.buildDepError "plutus-contract")) - (hsPkgs."plutus-ledger" or (errorHandler.buildDepError "plutus-ledger")) - (hsPkgs."plutus-pab" or (errorHandler.buildDepError "plutus-pab")) - (hsPkgs."plutus-use-cases" or (errorHandler.buildDepError "plutus-use-cases")) - (hsPkgs."prettyprinter" or (errorHandler.buildDepError "prettyprinter")) - (hsPkgs."purescript-bridge" or (errorHandler.buildDepError "purescript-bridge")) - (hsPkgs."row-types" or (errorHandler.buildDepError "row-types")) - (hsPkgs."servant-client" or (errorHandler.buildDepError "servant-client")) - (hsPkgs."servant-purescript" or (errorHandler.buildDepError "servant-purescript")) - (hsPkgs."servant-server" or (errorHandler.buildDepError "servant-server")) - (hsPkgs."text" or (errorHandler.buildDepError "text")) - (hsPkgs."time-units" or (errorHandler.buildDepError "time-units")) - (hsPkgs."unliftio-core" or (errorHandler.buildDepError "unliftio-core")) - (hsPkgs."uuid" or (errorHandler.buildDepError "uuid")) - (hsPkgs."yaml" or (errorHandler.buildDepError "yaml")) - ]; - buildable = true; - }; - "plutus-pab-examples" = { - depends = [ - (hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."data-default" or (errorHandler.buildDepError "data-default")) - (hsPkgs."freer-extras" or (errorHandler.buildDepError "freer-extras")) - (hsPkgs."freer-simple" or (errorHandler.buildDepError "freer-simple")) - (hsPkgs."lens" or (errorHandler.buildDepError "lens")) - (hsPkgs."playground-common" or (errorHandler.buildDepError "playground-common")) - (hsPkgs."plutus-contract" or (errorHandler.buildDepError "plutus-contract")) - (hsPkgs."plutus-ledger" or (errorHandler.buildDepError "plutus-ledger")) - (hsPkgs."plutus-pab" or (errorHandler.buildDepError "plutus-pab")) - (hsPkgs."plutus-use-cases" or (errorHandler.buildDepError "plutus-use-cases")) - (hsPkgs."prettyprinter" or (errorHandler.buildDepError "prettyprinter")) - (hsPkgs."purescript-bridge" or (errorHandler.buildDepError "purescript-bridge")) - (hsPkgs."row-types" or (errorHandler.buildDepError "row-types")) - (hsPkgs."servant-purescript" or (errorHandler.buildDepError "servant-purescript")) - (hsPkgs."text" or (errorHandler.buildDepError "text")) - (hsPkgs."openapi3" or (errorHandler.buildDepError "openapi3")) - ]; - buildable = true; - }; - "plutus-uniswap" = { - depends = [ - (hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."data-default" or (errorHandler.buildDepError "data-default")) - (hsPkgs."freer-extras" or (errorHandler.buildDepError "freer-extras")) - (hsPkgs."freer-simple" or (errorHandler.buildDepError "freer-simple")) - (hsPkgs."plutus-contract" or (errorHandler.buildDepError "plutus-contract")) - (hsPkgs."plutus-ledger" or (errorHandler.buildDepError "plutus-ledger")) - (hsPkgs."plutus-pab" or (errorHandler.buildDepError "plutus-pab")) - (hsPkgs."plutus-use-cases" or (errorHandler.buildDepError "plutus-use-cases")) - (hsPkgs."prettyprinter" or (errorHandler.buildDepError "prettyprinter")) - (hsPkgs."text" or (errorHandler.buildDepError "text")) - (hsPkgs."openapi3" or (errorHandler.buildDepError "openapi3")) - ]; - buildable = true; - }; - "plutus-pab-test-psgenerator" = { - depends = [ - (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) - (hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) - (hsPkgs."aeson-pretty" or (errorHandler.buildDepError "aeson-pretty")) - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."data-default" or (errorHandler.buildDepError "data-default")) - (hsPkgs."freer-extras" or (errorHandler.buildDepError "freer-extras")) - (hsPkgs."freer-simple" or (errorHandler.buildDepError "freer-simple")) - (hsPkgs."http-client" or (errorHandler.buildDepError "http-client")) - (hsPkgs."http-client-tls" or (errorHandler.buildDepError "http-client-tls")) - (hsPkgs."lens" or (errorHandler.buildDepError "lens")) - (hsPkgs."monad-logger" or (errorHandler.buildDepError "monad-logger")) - (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - (hsPkgs."plutus-contract" or (errorHandler.buildDepError "plutus-contract")) - (hsPkgs."plutus-pab" or (errorHandler.buildDepError "plutus-pab")) - (hsPkgs."plutus-use-cases" or (errorHandler.buildDepError "plutus-use-cases")) - (hsPkgs."plutus-ledger" or (errorHandler.buildDepError "plutus-ledger")) - (hsPkgs."quickcheck-instances" or (errorHandler.buildDepError "quickcheck-instances")) - (hsPkgs."servant-client" or (errorHandler.buildDepError "servant-client")) - (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."smallcheck" or (errorHandler.buildDepError "smallcheck")) - (hsPkgs."tasty-smallcheck" or (errorHandler.buildDepError "tasty-smallcheck")) - (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) - (hsPkgs."text" or (errorHandler.buildDepError "text")) - (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) - (hsPkgs."prettyprinter" or (errorHandler.buildDepError "prettyprinter")) - (hsPkgs."row-types" or (errorHandler.buildDepError "row-types")) - (hsPkgs."plutus-tx" or (errorHandler.buildDepError "plutus-tx")) - (hsPkgs."playground-common" or (errorHandler.buildDepError "playground-common")) - (hsPkgs."servant-purescript" or (errorHandler.buildDepError "servant-purescript")) - (hsPkgs."purescript-bridge" or (errorHandler.buildDepError "purescript-bridge")) - (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) - ]; - buildable = true; - }; - "tx-inject" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."plutus-pab" or (errorHandler.buildDepError "plutus-pab")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."clock" or (errorHandler.buildDepError "clock")) - (hsPkgs."lens" or (errorHandler.buildDepError "lens")) - (hsPkgs."mwc-random" or (errorHandler.buildDepError "mwc-random")) - (hsPkgs."optparse-applicative" or (errorHandler.buildDepError "optparse-applicative")) - (hsPkgs."plutus-contract" or (errorHandler.buildDepError "plutus-contract")) - (hsPkgs."plutus-ledger" or (errorHandler.buildDepError "plutus-ledger")) - (hsPkgs."pretty-simple" or (errorHandler.buildDepError "pretty-simple")) - (hsPkgs."rate-limit" or (errorHandler.buildDepError "rate-limit")) - (hsPkgs."signal" or (errorHandler.buildDepError "signal")) - (hsPkgs."stm" or (errorHandler.buildDepError "stm")) - (hsPkgs."text" or (errorHandler.buildDepError "text")) - (hsPkgs."time-units" or (errorHandler.buildDepError "time-units")) - (hsPkgs."yaml" or (errorHandler.buildDepError "yaml")) - (hsPkgs."hedgehog" or (errorHandler.buildDepError "hedgehog")) - (hsPkgs."primitive" or (errorHandler.buildDepError "primitive")) - ]; - buildable = true; - }; - "sync-client" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."cardano-api" or (errorHandler.buildDepError "cardano-api")) - (hsPkgs."cardano-slotting" or (errorHandler.buildDepError "cardano-slotting")) - (hsPkgs."contra-tracer" or (errorHandler.buildDepError "contra-tracer")) - (hsPkgs."either" or (errorHandler.buildDepError "either")) - (hsPkgs."optparse-applicative" or (errorHandler.buildDepError "optparse-applicative")) - (hsPkgs."plutus-chain-index" or (errorHandler.buildDepError "plutus-chain-index")) - (hsPkgs."plutus-ledger" or (errorHandler.buildDepError "plutus-ledger")) - (hsPkgs."plutus-pab" or (errorHandler.buildDepError "plutus-pab")) - (hsPkgs."text" or (errorHandler.buildDepError "text")) - ]; - buildable = true; - }; - }; tests = { - "plutus-pab-test-light" = { + "test" = { depends = [ - (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) - (hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) - (hsPkgs."aeson-pretty" or (errorHandler.buildDepError "aeson-pretty")) (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."cardano-api" or (errorHandler.buildDepError "cardano-api")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."freer-extras" or (errorHandler.buildDepError "freer-extras")) - (hsPkgs."freer-simple" or (errorHandler.buildDepError "freer-simple")) - (hsPkgs."hedgehog" or (errorHandler.buildDepError "hedgehog")) - (hsPkgs."http-client" or (errorHandler.buildDepError "http-client")) - (hsPkgs."http-client-tls" or (errorHandler.buildDepError "http-client-tls")) - (hsPkgs."lens" or (errorHandler.buildDepError "lens")) - (hsPkgs."monad-logger" or (errorHandler.buildDepError "monad-logger")) - (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - (hsPkgs."plutus-contract" or (errorHandler.buildDepError "plutus-contract")) - (hsPkgs."plutus-pab" or (errorHandler.buildDepError "plutus-pab")) - (hsPkgs."plutus-ledger" or (errorHandler.buildDepError "plutus-ledger")) - (hsPkgs."quickcheck-instances" or (errorHandler.buildDepError "quickcheck-instances")) - (hsPkgs."servant-client" or (errorHandler.buildDepError "servant-client")) (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) - (hsPkgs."smallcheck" or (errorHandler.buildDepError "smallcheck")) - (hsPkgs."tasty-hedgehog" or (errorHandler.buildDepError "tasty-hedgehog")) - (hsPkgs."tasty-smallcheck" or (errorHandler.buildDepError "tasty-smallcheck")) (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) - (hsPkgs."text" or (errorHandler.buildDepError "text")) - (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) - (hsPkgs."prettyprinter" or (errorHandler.buildDepError "prettyprinter")) - (hsPkgs."stm" or (errorHandler.buildDepError "stm")) - (hsPkgs."async" or (errorHandler.buildDepError "async")) - ]; - buildable = true; - }; - "plutus-pab-test-full" = { - depends = [ (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) - (hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) - (hsPkgs."aeson-pretty" or (errorHandler.buildDepError "aeson-pretty")) - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."data-default" or (errorHandler.buildDepError "data-default")) - (hsPkgs."freer-extras" or (errorHandler.buildDepError "freer-extras")) - (hsPkgs."freer-simple" or (errorHandler.buildDepError "freer-simple")) - (hsPkgs."http-client" or (errorHandler.buildDepError "http-client")) - (hsPkgs."http-client-tls" or (errorHandler.buildDepError "http-client-tls")) - (hsPkgs."lens" or (errorHandler.buildDepError "lens")) - (hsPkgs."monad-logger" or (errorHandler.buildDepError "monad-logger")) - (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - (hsPkgs."plutus-contract" or (errorHandler.buildDepError "plutus-contract")) - (hsPkgs."plutus-pab" or (errorHandler.buildDepError "plutus-pab")) - (hsPkgs."plutus-use-cases" or (errorHandler.buildDepError "plutus-use-cases")) - (hsPkgs."plutus-ledger" or (errorHandler.buildDepError "plutus-ledger")) - (hsPkgs."quickcheck-instances" or (errorHandler.buildDepError "quickcheck-instances")) - (hsPkgs."servant-client" or (errorHandler.buildDepError "servant-client")) - (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) - (hsPkgs."smallcheck" or (errorHandler.buildDepError "smallcheck")) - (hsPkgs."tasty-smallcheck" or (errorHandler.buildDepError "tasty-smallcheck")) - (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) - (hsPkgs."text" or (errorHandler.buildDepError "text")) - (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) - (hsPkgs."prettyprinter" or (errorHandler.buildDepError "prettyprinter")) - (hsPkgs."row-types" or (errorHandler.buildDepError "row-types")) - (hsPkgs."plutus-tx" or (errorHandler.buildDepError "plutus-tx")) - (hsPkgs."playground-common" or (errorHandler.buildDepError "playground-common")) - (hsPkgs."yaml" or (errorHandler.buildDepError "yaml")) - (hsPkgs."iohk-monitoring" or (errorHandler.buildDepError "iohk-monitoring")) - (hsPkgs."servant-server" or (errorHandler.buildDepError "servant-server")) - (hsPkgs."purescript-bridge" or (errorHandler.buildDepError "purescript-bridge")) - (hsPkgs."async" or (errorHandler.buildDepError "async")) - (hsPkgs."servant-client" or (errorHandler.buildDepError "servant-client")) - (hsPkgs."uuid" or (errorHandler.buildDepError "uuid")) - (hsPkgs."openapi3" or (errorHandler.buildDepError "openapi3")) + (hsPkgs."vector" or (errorHandler.buildDepError "vector")) + (hsPkgs."word-array" or (errorHandler.buildDepError "word-array")) + (hsPkgs."mono-traversable" or (errorHandler.buildDepError "mono-traversable")) ]; buildable = true; }; - "plutus-pab-test-full-long-running" = { + }; + benchmarks = { + "bench" = { depends = [ - (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) - (hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) - (hsPkgs."aeson-pretty" or (errorHandler.buildDepError "aeson-pretty")) (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."data-default" or (errorHandler.buildDepError "data-default")) - (hsPkgs."freer-extras" or (errorHandler.buildDepError "freer-extras")) - (hsPkgs."freer-simple" or (errorHandler.buildDepError "freer-simple")) - (hsPkgs."http-client" or (errorHandler.buildDepError "http-client")) - (hsPkgs."http-client-tls" or (errorHandler.buildDepError "http-client-tls")) - (hsPkgs."lens" or (errorHandler.buildDepError "lens")) - (hsPkgs."monad-logger" or (errorHandler.buildDepError "monad-logger")) - (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - (hsPkgs."plutus-contract" or (errorHandler.buildDepError "plutus-contract")) - (hsPkgs."plutus-pab" or (errorHandler.buildDepError "plutus-pab")) - (hsPkgs."plutus-use-cases" or (errorHandler.buildDepError "plutus-use-cases")) - (hsPkgs."plutus-ledger" or (errorHandler.buildDepError "plutus-ledger")) - (hsPkgs."quickcheck-instances" or (errorHandler.buildDepError "quickcheck-instances")) - (hsPkgs."servant-client" or (errorHandler.buildDepError "servant-client")) - (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) - (hsPkgs."smallcheck" or (errorHandler.buildDepError "smallcheck")) - (hsPkgs."tasty-smallcheck" or (errorHandler.buildDepError "tasty-smallcheck")) - (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) - (hsPkgs."text" or (errorHandler.buildDepError "text")) - (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) - (hsPkgs."prettyprinter" or (errorHandler.buildDepError "prettyprinter")) - (hsPkgs."row-types" or (errorHandler.buildDepError "row-types")) - (hsPkgs."plutus-tx" or (errorHandler.buildDepError "plutus-tx")) - (hsPkgs."playground-common" or (errorHandler.buildDepError "playground-common")) - (hsPkgs."yaml" or (errorHandler.buildDepError "yaml")) - (hsPkgs."iohk-monitoring" or (errorHandler.buildDepError "iohk-monitoring")) - (hsPkgs."servant-server" or (errorHandler.buildDepError "servant-server")) - (hsPkgs."purescript-bridge" or (errorHandler.buildDepError "purescript-bridge")) - (hsPkgs."async" or (errorHandler.buildDepError "async")) - (hsPkgs."servant-client" or (errorHandler.buildDepError "servant-client")) - (hsPkgs."uuid" or (errorHandler.buildDepError "uuid")) - (hsPkgs."openapi3" or (errorHandler.buildDepError "openapi3")) + (hsPkgs."tasty-bench" or (errorHandler.buildDepError "tasty-bench")) + (hsPkgs."word-array" or (errorHandler.buildDepError "word-array")) + (hsPkgs."primitive" or (errorHandler.buildDepError "primitive")) ]; buildable = true; }; }; }; } // rec { - src = (pkgs.lib).mkDefault /nix/store/6m6zyip9n1sv3dfh6vyz7158r08wd3bi-plutus-1efbb27/plutus-pab; + src = (pkgs.lib).mkDefault /nix/store/fngr9a0n2d9cx6ywm2abhhx0g5acbci8-plutus-fc5fe94/word-array; } diff --git a/nix/materialized/stack-nix/.stack-to-nix.cache.90 b/nix/materialized/stack-nix/.stack-to-nix.cache.90 index 60ad73eae97..c773c881f8b 100644 --- a/nix/materialized/stack-nix/.stack-to-nix.cache.90 +++ b/nix/materialized/stack-nix/.stack-to-nix.cache.90 @@ -10,64 +10,82 @@ { flags = {}; package = { - specVersion = "2.2"; - identifier = { name = "plutus-tx"; version = "0.1.0.0"; }; + specVersion = "2.4"; + identifier = { name = "ekg-forward"; version = "0.1.0"; }; license = "Apache-2.0"; - copyright = ""; - maintainer = "michael.peyton-jones@iohk.io"; - author = "Michael Peyton Jones"; - homepage = ""; + copyright = "2021 Input Output (Hong Kong) Ltd."; + maintainer = "Denis Shevchenko "; + author = "Denis Shevchenko"; + homepage = "https://github.com/input-output-hk/ekg-forward"; url = ""; - synopsis = "Libraries for Plutus Tx and its prelude"; - description = "Libraries for Plutus Tx and its prelude"; + synopsis = "See README for more info"; + description = "See README for more info"; buildType = "Simple"; }; components = { "library" = { depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."async" or (errorHandler.buildDepError "async")) (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) - (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) - (hsPkgs."th-abstraction" or (errorHandler.buildDepError "th-abstraction")) - (hsPkgs."prettyprinter" or (errorHandler.buildDepError "prettyprinter")) - (hsPkgs."text" or (errorHandler.buildDepError "text")) - (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."flat" or (errorHandler.buildDepError "flat")) - (hsPkgs."plutus-core" or (errorHandler.buildDepError "plutus-core")) - (hsPkgs."lens" or (errorHandler.buildDepError "lens")) - (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) - (hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) - (hsPkgs."hashable" or (errorHandler.buildDepError "hashable")) - (hsPkgs."memory" or (errorHandler.buildDepError "memory")) + (hsPkgs."cborg" or (errorHandler.buildDepError "cborg")) + (hsPkgs."contra-tracer" or (errorHandler.buildDepError "contra-tracer")) + (hsPkgs."ekg-core" or (errorHandler.buildDepError "ekg-core")) + (hsPkgs."io-classes" or (errorHandler.buildDepError "io-classes")) + (hsPkgs."network" or (errorHandler.buildDepError "network")) + (hsPkgs."ouroboros-network-framework" or (errorHandler.buildDepError "ouroboros-network-framework")) (hsPkgs."serialise" or (errorHandler.buildDepError "serialise")) + (hsPkgs."stm" or (errorHandler.buildDepError "stm")) + (hsPkgs."text" or (errorHandler.buildDepError "text")) + (hsPkgs."time" or (errorHandler.buildDepError "time")) + (hsPkgs."typed-protocols" or (errorHandler.buildDepError "typed-protocols")) + (hsPkgs."typed-protocols-cborg" or (errorHandler.buildDepError "typed-protocols-cborg")) + (hsPkgs."unordered-containers" or (errorHandler.buildDepError "unordered-containers")) ]; buildable = true; }; - tests = { - "plutus-tx-test" = { + exes = { + "demo-forwarder" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."contra-tracer" or (errorHandler.buildDepError "contra-tracer")) + (hsPkgs."ekg-core" or (errorHandler.buildDepError "ekg-core")) + (hsPkgs."ekg-forward" or (errorHandler.buildDepError "ekg-forward")) + (hsPkgs."text" or (errorHandler.buildDepError "text")) + (hsPkgs."time" or (errorHandler.buildDepError "time")) + ]; + buildable = true; + }; + "demo-acceptor" = { depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."plutus-core" or (errorHandler.buildDepError "plutus-core")) - (hsPkgs."plutus-tx" or (errorHandler.buildDepError "plutus-tx")) - (hsPkgs."hedgehog" or (errorHandler.buildDepError "hedgehog")) - (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."tasty-hedgehog" or (errorHandler.buildDepError "tasty-hedgehog")) - (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) - (hsPkgs."serialise" or (errorHandler.buildDepError "serialise")) - (hsPkgs."cborg" or (errorHandler.buildDepError "cborg")) + (hsPkgs."contra-tracer" or (errorHandler.buildDepError "contra-tracer")) + (hsPkgs."ekg-core" or (errorHandler.buildDepError "ekg-core")) + (hsPkgs."ekg-forward" or (errorHandler.buildDepError "ekg-forward")) + (hsPkgs."stm" or (errorHandler.buildDepError "stm")) + (hsPkgs."text" or (errorHandler.buildDepError "text")) + (hsPkgs."time" or (errorHandler.buildDepError "time")) ]; - build-tools = [ - (hsPkgs.buildPackages.doctest.components.exes.doctest or (pkgs.buildPackages.doctest or (errorHandler.buildToolDepError "doctest:doctest"))) + buildable = true; + }; + }; + tests = { + "ekg-forward-test" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."base" or (errorHandler.buildDepError "base")) + (hsPkgs."contra-tracer" or (errorHandler.buildDepError "contra-tracer")) + (hsPkgs."ekg-core" or (errorHandler.buildDepError "ekg-core")) + (hsPkgs."ekg-forward" or (errorHandler.buildDepError "ekg-forward")) + (hsPkgs."hspec" or (errorHandler.buildDepError "hspec")) + (hsPkgs."stm" or (errorHandler.buildDepError "stm")) + (hsPkgs."time" or (errorHandler.buildDepError "time")) + (hsPkgs."unordered-containers" or (errorHandler.buildDepError "unordered-containers")) ]; - buildable = if compiler.isGhcjs && true || system.isWindows - then false - else true; + buildable = true; }; }; }; } // rec { - src = (pkgs.lib).mkDefault /nix/store/6m6zyip9n1sv3dfh6vyz7158r08wd3bi-plutus-1efbb27/plutus-tx; + src = (pkgs.lib).mkDefault /nix/store/jjas7k78m81qin4ypzmk6j1myw3l5ir8-ekg-forward-297cd9d; } diff --git a/nix/materialized/stack-nix/.stack-to-nix.cache.91 b/nix/materialized/stack-nix/.stack-to-nix.cache.91 index 6e7cefd1813..a442f0fe649 100644 --- a/nix/materialized/stack-nix/.stack-to-nix.cache.91 +++ b/nix/materialized/stack-nix/.stack-to-nix.cache.91 @@ -8,92 +8,33 @@ , config , ... }: { - flags = { use-ghc-stub = false; }; + flags = { systemd = true; }; package = { - specVersion = "2.2"; - identifier = { name = "plutus-tx-plugin"; version = "0.1.0.0"; }; + specVersion = "2.4"; + identifier = { name = "cardano-config"; version = "0.1.0.0"; }; license = "Apache-2.0"; copyright = ""; - maintainer = "michael.peyton-jones@iohk.io"; - author = "Michael Peyton Jones"; + maintainer = "operations@iohk.io"; + author = "IOHK"; homepage = ""; url = ""; - synopsis = "The Plutus Tx compiler and GHC plugin"; - description = "The Plutus Tx compiler and GHC plugin."; + synopsis = ""; + description = ""; buildType = "Simple"; }; components = { "library" = { depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."extra" or (errorHandler.buildDepError "extra")) - (hsPkgs."flat" or (errorHandler.buildDepError "flat")) - (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) - (hsPkgs."plutus-core" or (errorHandler.buildDepError "plutus-core")) - (hsPkgs."lens" or (errorHandler.buildDepError "lens")) - (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - (hsPkgs."prettyprinter" or (errorHandler.buildDepError "prettyprinter")) + (hsPkgs."cardano-prelude" or (errorHandler.buildDepError "cardano-prelude")) + (hsPkgs."file-embed" or (errorHandler.buildDepError "file-embed")) + (hsPkgs."process" or (errorHandler.buildDepError "process")) (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) (hsPkgs."text" or (errorHandler.buildDepError "text")) - (hsPkgs."transformers" or (errorHandler.buildDepError "transformers")) - (hsPkgs."plutus-tx" or (errorHandler.buildDepError "plutus-tx")) - ] ++ (if flags.use-ghc-stub - then [ - (hsPkgs."plutus-ghc-stub" or (errorHandler.buildDepError "plutus-ghc-stub")) - ] - else [ (hsPkgs."ghc" or (errorHandler.buildDepError "ghc")) ]); + ]; buildable = true; }; - exes = { - "profile" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."flat" or (errorHandler.buildDepError "flat")) - (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) - (hsPkgs."integer-gmp" or (errorHandler.buildDepError "integer-gmp")) - (hsPkgs."plutus-core" or (errorHandler.buildDepError "plutus-core")) - (hsPkgs."plutus-tx" or (errorHandler.buildDepError "plutus-tx")) - (hsPkgs."plutus-tx-plugin" or (errorHandler.buildDepError "plutus-tx-plugin")) - (hsPkgs."prettyprinter" or (errorHandler.buildDepError "prettyprinter")) - (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."serialise" or (errorHandler.buildDepError "serialise")) - (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) - (hsPkgs."text" or (errorHandler.buildDepError "text")) - (hsPkgs."lens" or (errorHandler.buildDepError "lens")) - ]; - buildable = true; - }; - }; - tests = { - "plutus-tx-tests" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."flat" or (errorHandler.buildDepError "flat")) - (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) - (hsPkgs."integer-gmp" or (errorHandler.buildDepError "integer-gmp")) - (hsPkgs."plutus-core" or (errorHandler.buildDepError "plutus-core")) - (hsPkgs."plutus-tx" or (errorHandler.buildDepError "plutus-tx")) - (hsPkgs."plutus-tx-plugin" or (errorHandler.buildDepError "plutus-tx-plugin")) - (hsPkgs."prettyprinter" or (errorHandler.buildDepError "prettyprinter")) - (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."serialise" or (errorHandler.buildDepError "serialise")) - (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) - (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) - (hsPkgs."tasty-hedgehog" or (errorHandler.buildDepError "tasty-hedgehog")) - (hsPkgs."text" or (errorHandler.buildDepError "text")) - (hsPkgs."hedgehog" or (errorHandler.buildDepError "hedgehog")) - (hsPkgs."lens" or (errorHandler.buildDepError "lens")) - (hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim")) - ]; - buildable = if flags.use-ghc-stub then false else true; - }; - }; }; } // rec { - src = (pkgs.lib).mkDefault /nix/store/6m6zyip9n1sv3dfh6vyz7158r08wd3bi-plutus-1efbb27/plutus-tx-plugin; + src = (pkgs.lib).mkDefault /nix/store/w7a7rywf0b49v4y3cp9zhgb8p1hc5hss-cardano-config-1646e91; } diff --git a/nix/materialized/stack-nix/.stack-to-nix.cache.92 b/nix/materialized/stack-nix/.stack-to-nix.cache.92 index 2884e6092b7..23806cc827e 100644 --- a/nix/materialized/stack-nix/.stack-to-nix.cache.92 +++ b/nix/materialized/stack-nix/.stack-to-nix.cache.92 @@ -8,18 +8,18 @@ , config , ... }: { - flags = { defer-plugin-errors = false; }; + flags = {}; package = { - specVersion = "2.0"; - identifier = { name = "plutus-use-cases"; version = "0.1.0.0"; }; - license = "Apache-2.0"; - copyright = ""; - maintainer = "jann.mueller@iohk.io"; - author = "Manuel M T Chakravarty, Jann Müller"; - homepage = ""; + specVersion = "1.10"; + identifier = { name = "servant-purescript"; version = "0.9.0.2"; }; + license = "BSD-3-Clause"; + copyright = "Copyright: (c) 2016 Robert Klotzner"; + maintainer = "robert Dot klotzner A T gmx Dot at"; + author = "Robert Klotzner"; + homepage = "https://github.com/eskimor/servant-purescript#readme"; url = ""; - synopsis = "Collection of smart contracts to develop the plutus/wallet interface"; - description = "Collection of smart contracts to develop the plutus/wallet interface."; + synopsis = "Generate PureScript accessor functions for you servant API"; + description = "Please see README.md"; buildType = "Simple"; }; components = { @@ -29,102 +29,39 @@ (hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."data-default" or (errorHandler.buildDepError "data-default")) - (hsPkgs."freer-extras" or (errorHandler.buildDepError "freer-extras")) - (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - (hsPkgs."plutus-core" or (errorHandler.buildDepError "plutus-core")) - (hsPkgs."plutus-tx" or (errorHandler.buildDepError "plutus-tx")) - (hsPkgs."plutus-contract" or (errorHandler.buildDepError "plutus-contract")) - (hsPkgs."playground-common" or (errorHandler.buildDepError "playground-common")) - (hsPkgs."plutus-ledger" or (errorHandler.buildDepError "plutus-ledger")) - (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + (hsPkgs."directory" or (errorHandler.buildDepError "directory")) + (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) + (hsPkgs."http-types" or (errorHandler.buildDepError "http-types")) (hsPkgs."lens" or (errorHandler.buildDepError "lens")) + (hsPkgs."mainland-pretty" or (errorHandler.buildDepError "mainland-pretty")) + (hsPkgs."purescript-bridge" or (errorHandler.buildDepError "purescript-bridge")) + (hsPkgs."servant" or (errorHandler.buildDepError "servant")) + (hsPkgs."servant-foreign" or (errorHandler.buildDepError "servant-foreign")) + (hsPkgs."servant-server" or (errorHandler.buildDepError "servant-server")) + (hsPkgs."servant-subscriber" or (errorHandler.buildDepError "servant-subscriber")) (hsPkgs."text" or (errorHandler.buildDepError "text")) - (hsPkgs."prettyprinter" or (errorHandler.buildDepError "prettyprinter")) - (hsPkgs."hashable" or (errorHandler.buildDepError "hashable")) - (hsPkgs."freer-simple" or (errorHandler.buildDepError "freer-simple")) - (hsPkgs."streaming" or (errorHandler.buildDepError "streaming")) - (hsPkgs."semigroups" or (errorHandler.buildDepError "semigroups")) - (hsPkgs."openapi3" or (errorHandler.buildDepError "openapi3")) - ] ++ (pkgs.lib).optional (!(compiler.isGhcjs && true || system.isGhcjs)) (hsPkgs."plutus-tx-plugin" or (errorHandler.buildDepError "plutus-tx-plugin")); + ]; buildable = true; }; - exes = { - "plutus-use-cases-scripts" = { + tests = { + "servant-purescript-test" = { depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) (hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."cardano-crypto-class" or (errorHandler.buildDepError "cardano-crypto-class")) (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."data-default" or (errorHandler.buildDepError "data-default")) - (hsPkgs."flat" or (errorHandler.buildDepError "flat")) - (hsPkgs."freer-extras" or (errorHandler.buildDepError "freer-extras")) - (hsPkgs."hedgehog" or (errorHandler.buildDepError "hedgehog")) - (hsPkgs."prettyprinter" or (errorHandler.buildDepError "prettyprinter")) - (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) - (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) - (hsPkgs."tasty-golden" or (errorHandler.buildDepError "tasty-golden")) - (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) - (hsPkgs."text" or (errorHandler.buildDepError "text")) + (hsPkgs."mainland-pretty" or (errorHandler.buildDepError "mainland-pretty")) (hsPkgs."lens" or (errorHandler.buildDepError "lens")) - (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - (hsPkgs."row-types" or (errorHandler.buildDepError "row-types")) - (hsPkgs."freer-simple" or (errorHandler.buildDepError "freer-simple")) - (hsPkgs."foldl" or (errorHandler.buildDepError "foldl")) - (hsPkgs."streaming" or (errorHandler.buildDepError "streaming")) - (hsPkgs."directory" or (errorHandler.buildDepError "directory")) - (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) - (hsPkgs."serialise" or (errorHandler.buildDepError "serialise")) - (hsPkgs."plutus-core" or (errorHandler.buildDepError "plutus-core")) - (hsPkgs."plutus-ledger-api" or (errorHandler.buildDepError "plutus-ledger-api")) - (hsPkgs."plutus-tx" or (errorHandler.buildDepError "plutus-tx")) - (hsPkgs."plutus-contract" or (errorHandler.buildDepError "plutus-contract")) - (hsPkgs."plutus-chain-index" or (errorHandler.buildDepError "plutus-chain-index")) - (hsPkgs."plutus-ledger" or (errorHandler.buildDepError "plutus-ledger")) - (hsPkgs."plutus-use-cases" or (errorHandler.buildDepError "plutus-use-cases")) - (hsPkgs."optparse-applicative" or (errorHandler.buildDepError "optparse-applicative")) - (hsPkgs."aeson-pretty" or (errorHandler.buildDepError "aeson-pretty")) - (hsPkgs."cardano-api" or (errorHandler.buildDepError "cardano-api")) - (hsPkgs."cardano-binary" or (errorHandler.buildDepError "cardano-binary")) - (hsPkgs."cborg" or (errorHandler.buildDepError "cborg")) - (hsPkgs."memory" or (errorHandler.buildDepError "memory")) - ] ++ (pkgs.lib).optional (!(compiler.isGhcjs && true || system.isGhcjs)) (hsPkgs."plutus-tx-plugin" or (errorHandler.buildDepError "plutus-tx-plugin")); - buildable = true; - }; - }; - tests = { - "plutus-use-cases-test" = { - depends = [ - (hsPkgs."plutus-tx" or (errorHandler.buildDepError "plutus-tx")) - (hsPkgs."plutus-contract" or (errorHandler.buildDepError "plutus-contract")) - (hsPkgs."plutus-ledger" or (errorHandler.buildDepError "plutus-ledger")) - (hsPkgs."plutus-use-cases" or (errorHandler.buildDepError "plutus-use-cases")) - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."cardano-crypto-class" or (errorHandler.buildDepError "cardano-crypto-class")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."data-default" or (errorHandler.buildDepError "data-default")) - (hsPkgs."freer-extras" or (errorHandler.buildDepError "freer-extras")) - (hsPkgs."prettyprinter" or (errorHandler.buildDepError "prettyprinter")) - (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) - (hsPkgs."tasty-hedgehog" or (errorHandler.buildDepError "tasty-hedgehog")) - (hsPkgs."tasty-golden" or (errorHandler.buildDepError "tasty-golden")) - (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) + (hsPkgs."purescript-bridge" or (errorHandler.buildDepError "purescript-bridge")) + (hsPkgs."servant" or (errorHandler.buildDepError "servant")) + (hsPkgs."servant-foreign" or (errorHandler.buildDepError "servant-foreign")) + (hsPkgs."servant-purescript" or (errorHandler.buildDepError "servant-purescript")) + (hsPkgs."servant-subscriber" or (errorHandler.buildDepError "servant-subscriber")) (hsPkgs."text" or (errorHandler.buildDepError "text")) - (hsPkgs."lens" or (errorHandler.buildDepError "lens")) - (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) - (hsPkgs."freer-simple" or (errorHandler.buildDepError "freer-simple")) - (hsPkgs."foldl" or (errorHandler.buildDepError "foldl")) - (hsPkgs."streaming" or (errorHandler.buildDepError "streaming")) - ] ++ (pkgs.lib).optional (!(compiler.isGhcjs && true || system.isGhcjs)) (hsPkgs."plutus-tx-plugin" or (errorHandler.buildDepError "plutus-tx-plugin")); + ]; buildable = true; }; }; }; } // rec { - src = (pkgs.lib).mkDefault /nix/store/6m6zyip9n1sv3dfh6vyz7158r08wd3bi-plutus-1efbb27/plutus-use-cases; + src = (pkgs.lib).mkDefault /nix/store/wpxma8w4lhg0kpmasqp1iq19br4xzirp-servant-purescript-a761044; } diff --git a/nix/materialized/stack-nix/.stack-to-nix.cache.93 b/nix/materialized/stack-nix/.stack-to-nix.cache.93 index 5047829257b..e7cc04d19e6 100644 --- a/nix/materialized/stack-nix/.stack-to-nix.cache.93 +++ b/nix/materialized/stack-nix/.stack-to-nix.cache.93 @@ -8,31 +8,67 @@ , config , ... }: { - flags = {}; + flags = { demo = false; }; package = { - specVersion = "1.10"; - identifier = { name = "plutus-ghc-stub"; version = "8.6.5"; }; - license = "BSD-3-Clause"; - copyright = ""; - maintainer = "glasgow-haskell-users@haskell.org"; - author = "The GHC Team"; - homepage = "http://www.haskell.org/ghc/"; + specVersion = "2.4"; + identifier = { name = "Win32-network"; version = "0.1.0.0"; }; + license = "Apache-2.0"; + copyright = "2019 Input Output (Hong Kong) Ltd."; + maintainer = "duncan@well-typed.com, marcin.szamotulski@iohk.io"; + author = "Duncan Coutts, Marcin Szamotulski"; + homepage = ""; url = ""; - synopsis = "The GHC API"; - description = "Stub functionality for the Plutus plugin, for cross compilers that\ndon't have a GHC library installed, like GHCJS\nThis should contain all the types and functions that the Plutus\ncompiler uses.\nFor technical reasons (Cabal), we need to be able to compile the plutus-tx\ncompiler for the host platform, even if we are going to load the plugin\nfrom the build platform libraries."; + synopsis = "Win32 network API"; + description = ""; buildType = "Simple"; }; components = { "library" = { depends = [ (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot")) + ] ++ (pkgs.lib).optionals (system.isWindows) [ (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) + (hsPkgs."network" or (errorHandler.buildDepError "network")) + (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) ]; + libs = (pkgs.lib).optional (system.isWindows) (pkgs."ws2_32" or (errorHandler.sysDepError "ws2_32")); buildable = true; }; + exes = { + "named-pipe-demo" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + ] ++ (pkgs.lib).optionals (system.isWindows) [ + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) + (hsPkgs."Win32-network" or (errorHandler.buildDepError "Win32-network")) + ]; + buildable = true; + }; + }; + tests = { + "test" = { + depends = [ + (hsPkgs."base" or (errorHandler.buildDepError "base")) + ] ++ (pkgs.lib).optionals (system.isWindows) [ + (hsPkgs."async" or (errorHandler.buildDepError "async")) + (hsPkgs."binary" or (errorHandler.buildDepError "binary")) + (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) + (hsPkgs."network" or (errorHandler.buildDepError "network")) + (hsPkgs."stm" or (errorHandler.buildDepError "stm")) + (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) + (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) + (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) + (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) + (hsPkgs."quickcheck-instances" or (errorHandler.buildDepError "quickcheck-instances")) + (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) + (hsPkgs."Win32-network" or (errorHandler.buildDepError "Win32-network")) + ]; + buildable = true; + }; + }; }; } // rec { - src = (pkgs.lib).mkDefault /nix/store/6m6zyip9n1sv3dfh6vyz7158r08wd3bi-plutus-1efbb27/stubs/plutus-ghc-stub; + src = (pkgs.lib).mkDefault /nix/store/jlbg3d6rcixbbvhpnh8383yv26l041gp-Win32-network-3825d3a; } diff --git a/nix/materialized/stack-nix/.stack-to-nix.cache.94 b/nix/materialized/stack-nix/.stack-to-nix.cache.94 deleted file mode 100644 index 73028aa4bb1..00000000000 --- a/nix/materialized/stack-nix/.stack-to-nix.cache.94 +++ /dev/null @@ -1,73 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - { - flags = {}; - package = { - specVersion = "1.10"; - identifier = { - name = "prettyprinter-configurable"; - version = "0.1.0.0"; - }; - license = "NONE"; - copyright = ""; - maintainer = "plutus@iohk.io"; - author = "David Luposchainsky, effectfully"; - homepage = ""; - url = ""; - synopsis = ""; - description = ""; - buildType = "Custom"; - setup-depends = [ - (hsPkgs.buildPackages.base or (pkgs.buildPackages.base or (errorHandler.setupDepError "base"))) - (hsPkgs.buildPackages.Cabal or (pkgs.buildPackages.Cabal or (errorHandler.setupDepError "Cabal"))) - (hsPkgs.buildPackages.cabal-doctest or (pkgs.buildPackages.cabal-doctest or (errorHandler.setupDepError "cabal-doctest"))) - ]; - }; - components = { - "library" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."prettyprinter" or (errorHandler.buildDepError "prettyprinter")) - (hsPkgs."mtl" or (errorHandler.buildDepError "mtl")) - (hsPkgs."text" or (errorHandler.buildDepError "text")) - (hsPkgs."microlens" or (errorHandler.buildDepError "microlens")) - ]; - buildable = true; - }; - tests = { - "prettyprinter-configurable-test" = { - depends = [ - (hsPkgs."prettyprinter-configurable" or (errorHandler.buildDepError "prettyprinter-configurable")) - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."prettyprinter" or (errorHandler.buildDepError "prettyprinter")) - (hsPkgs."text" or (errorHandler.buildDepError "text")) - (hsPkgs."megaparsec" or (errorHandler.buildDepError "megaparsec")) - (hsPkgs."parser-combinators" or (errorHandler.buildDepError "parser-combinators")) - (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) - (hsPkgs."quickcheck-text" or (errorHandler.buildDepError "quickcheck-text")) - (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) - (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) - ]; - buildable = true; - }; - "prettyprinter-configurable-doctest" = { - depends = [ - (hsPkgs."prettyprinter-configurable" or (errorHandler.buildDepError "prettyprinter-configurable")) - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."doctest" or (errorHandler.buildDepError "doctest")) - ]; - buildable = true; - }; - }; - }; - } // rec { - src = (pkgs.lib).mkDefault /nix/store/6m6zyip9n1sv3dfh6vyz7158r08wd3bi-plutus-1efbb27/prettyprinter-configurable; - } diff --git a/nix/materialized/stack-nix/.stack-to-nix.cache.95 b/nix/materialized/stack-nix/.stack-to-nix.cache.95 deleted file mode 100644 index 76201027a3a..00000000000 --- a/nix/materialized/stack-nix/.stack-to-nix.cache.95 +++ /dev/null @@ -1,53 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - { - flags = {}; - package = { - specVersion = "2.2"; - identifier = { name = "quickcheck-dynamic"; version = "0.1.0.0"; }; - license = "Apache-2.0"; - copyright = ""; - maintainer = "ulf.norell@quviq.com"; - author = "Ulf Norell"; - homepage = "https://github.com/iohk/plutus#readme"; - url = ""; - synopsis = ""; - description = "Please see the README on GitHub at "; - buildType = "Simple"; - }; - components = { - "library" = { - depends = [ - (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."random" or (errorHandler.buildDepError "random")) - ]; - buildable = true; - }; - tests = { - "quickcheck-dynamic-test" = { - depends = [ - (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."random" or (errorHandler.buildDepError "random")) - (hsPkgs."quickcheck-dynamic" or (errorHandler.buildDepError "quickcheck-dynamic")) - (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."tasty-hunit" or (errorHandler.buildDepError "tasty-hunit")) - (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) - ]; - buildable = true; - }; - }; - }; - } // rec { - src = (pkgs.lib).mkDefault /nix/store/6m6zyip9n1sv3dfh6vyz7158r08wd3bi-plutus-1efbb27/quickcheck-dynamic; - } diff --git a/nix/materialized/stack-nix/.stack-to-nix.cache.96 b/nix/materialized/stack-nix/.stack-to-nix.cache.96 deleted file mode 100644 index de4732ed056..00000000000 --- a/nix/materialized/stack-nix/.stack-to-nix.cache.96 +++ /dev/null @@ -1,65 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - { - flags = {}; - package = { - specVersion = "2.4"; - identifier = { name = "word-array"; version = "0.1.0.0"; }; - license = "Apache-2.0"; - copyright = ""; - maintainer = "michael.peyton-jones@iohk.io"; - author = "Zachary Churchill, Michael Peyton Jones"; - homepage = "https://github.com/plutus"; - url = ""; - synopsis = ""; - description = "Treat integral types as arrays of smaller integral types"; - buildType = "Simple"; - }; - components = { - "library" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."mono-traversable" or (errorHandler.buildDepError "mono-traversable")) - (hsPkgs."primitive" or (errorHandler.buildDepError "primitive")) - (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) - ]; - buildable = true; - }; - tests = { - "test" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."tasty-quickcheck" or (errorHandler.buildDepError "tasty-quickcheck")) - (hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck")) - (hsPkgs."vector" or (errorHandler.buildDepError "vector")) - (hsPkgs."word-array" or (errorHandler.buildDepError "word-array")) - (hsPkgs."mono-traversable" or (errorHandler.buildDepError "mono-traversable")) - ]; - buildable = true; - }; - }; - benchmarks = { - "bench" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."tasty" or (errorHandler.buildDepError "tasty")) - (hsPkgs."tasty-bench" or (errorHandler.buildDepError "tasty-bench")) - (hsPkgs."word-array" or (errorHandler.buildDepError "word-array")) - (hsPkgs."primitive" or (errorHandler.buildDepError "primitive")) - (hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq")) - ]; - buildable = true; - }; - }; - }; - } // rec { - src = (pkgs.lib).mkDefault /nix/store/6m6zyip9n1sv3dfh6vyz7158r08wd3bi-plutus-1efbb27/word-array; - } diff --git a/nix/materialized/stack-nix/.stack-to-nix.cache.97 b/nix/materialized/stack-nix/.stack-to-nix.cache.97 deleted file mode 100644 index b088950aff6..00000000000 --- a/nix/materialized/stack-nix/.stack-to-nix.cache.97 +++ /dev/null @@ -1,91 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - { - flags = {}; - package = { - specVersion = "2.4"; - identifier = { name = "ekg-forward"; version = "0.1.0"; }; - license = "Apache-2.0"; - copyright = "2021 Input Output (Hong Kong) Ltd."; - maintainer = "Denis Shevchenko "; - author = "Denis Shevchenko"; - homepage = "https://github.com/input-output-hk/ekg-forward"; - url = ""; - synopsis = "See README for more info"; - description = "See README for more info"; - buildType = "Simple"; - }; - components = { - "library" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."async" or (errorHandler.buildDepError "async")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."cborg" or (errorHandler.buildDepError "cborg")) - (hsPkgs."contra-tracer" or (errorHandler.buildDepError "contra-tracer")) - (hsPkgs."ekg-core" or (errorHandler.buildDepError "ekg-core")) - (hsPkgs."io-classes" or (errorHandler.buildDepError "io-classes")) - (hsPkgs."network" or (errorHandler.buildDepError "network")) - (hsPkgs."ouroboros-network-framework" or (errorHandler.buildDepError "ouroboros-network-framework")) - (hsPkgs."serialise" or (errorHandler.buildDepError "serialise")) - (hsPkgs."stm" or (errorHandler.buildDepError "stm")) - (hsPkgs."text" or (errorHandler.buildDepError "text")) - (hsPkgs."time" or (errorHandler.buildDepError "time")) - (hsPkgs."typed-protocols" or (errorHandler.buildDepError "typed-protocols")) - (hsPkgs."typed-protocols-cborg" or (errorHandler.buildDepError "typed-protocols-cborg")) - (hsPkgs."unordered-containers" or (errorHandler.buildDepError "unordered-containers")) - ]; - buildable = true; - }; - exes = { - "demo-forwarder" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."contra-tracer" or (errorHandler.buildDepError "contra-tracer")) - (hsPkgs."ekg-core" or (errorHandler.buildDepError "ekg-core")) - (hsPkgs."ekg-forward" or (errorHandler.buildDepError "ekg-forward")) - (hsPkgs."text" or (errorHandler.buildDepError "text")) - (hsPkgs."time" or (errorHandler.buildDepError "time")) - ]; - buildable = true; - }; - "demo-acceptor" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."contra-tracer" or (errorHandler.buildDepError "contra-tracer")) - (hsPkgs."ekg-core" or (errorHandler.buildDepError "ekg-core")) - (hsPkgs."ekg-forward" or (errorHandler.buildDepError "ekg-forward")) - (hsPkgs."stm" or (errorHandler.buildDepError "stm")) - (hsPkgs."text" or (errorHandler.buildDepError "text")) - (hsPkgs."time" or (errorHandler.buildDepError "time")) - ]; - buildable = true; - }; - }; - tests = { - "ekg-forward-test" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."contra-tracer" or (errorHandler.buildDepError "contra-tracer")) - (hsPkgs."ekg-core" or (errorHandler.buildDepError "ekg-core")) - (hsPkgs."ekg-forward" or (errorHandler.buildDepError "ekg-forward")) - (hsPkgs."hspec" or (errorHandler.buildDepError "hspec")) - (hsPkgs."stm" or (errorHandler.buildDepError "stm")) - (hsPkgs."time" or (errorHandler.buildDepError "time")) - (hsPkgs."unordered-containers" or (errorHandler.buildDepError "unordered-containers")) - ]; - buildable = true; - }; - }; - }; - } // rec { - src = (pkgs.lib).mkDefault /nix/store/mw0hsbvf8nbwzq8n16v84fhmjv561fch-ekg-forward-2adc8b6; - } diff --git a/nix/materialized/stack-nix/.stack-to-nix.cache.98 b/nix/materialized/stack-nix/.stack-to-nix.cache.98 deleted file mode 100644 index a442f0fe649..00000000000 --- a/nix/materialized/stack-nix/.stack-to-nix.cache.98 +++ /dev/null @@ -1,40 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - { - flags = { systemd = true; }; - package = { - specVersion = "2.4"; - identifier = { name = "cardano-config"; version = "0.1.0.0"; }; - license = "Apache-2.0"; - copyright = ""; - maintainer = "operations@iohk.io"; - author = "IOHK"; - homepage = ""; - url = ""; - synopsis = ""; - description = ""; - buildType = "Simple"; - }; - components = { - "library" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."cardano-prelude" or (errorHandler.buildDepError "cardano-prelude")) - (hsPkgs."file-embed" or (errorHandler.buildDepError "file-embed")) - (hsPkgs."process" or (errorHandler.buildDepError "process")) - (hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell")) - (hsPkgs."text" or (errorHandler.buildDepError "text")) - ]; - buildable = true; - }; - }; - } // rec { - src = (pkgs.lib).mkDefault /nix/store/w7a7rywf0b49v4y3cp9zhgb8p1hc5hss-cardano-config-1646e91; - } diff --git a/nix/materialized/stack-nix/.stack-to-nix.cache.99 b/nix/materialized/stack-nix/.stack-to-nix.cache.99 deleted file mode 100644 index 23806cc827e..00000000000 --- a/nix/materialized/stack-nix/.stack-to-nix.cache.99 +++ /dev/null @@ -1,67 +0,0 @@ -{ system - , compiler - , flags - , pkgs - , hsPkgs - , pkgconfPkgs - , errorHandler - , config - , ... }: - { - flags = {}; - package = { - specVersion = "1.10"; - identifier = { name = "servant-purescript"; version = "0.9.0.2"; }; - license = "BSD-3-Clause"; - copyright = "Copyright: (c) 2016 Robert Klotzner"; - maintainer = "robert Dot klotzner A T gmx Dot at"; - author = "Robert Klotzner"; - homepage = "https://github.com/eskimor/servant-purescript#readme"; - url = ""; - synopsis = "Generate PureScript accessor functions for you servant API"; - description = "Please see README.md"; - buildType = "Simple"; - }; - components = { - "library" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) - (hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."directory" or (errorHandler.buildDepError "directory")) - (hsPkgs."filepath" or (errorHandler.buildDepError "filepath")) - (hsPkgs."http-types" or (errorHandler.buildDepError "http-types")) - (hsPkgs."lens" or (errorHandler.buildDepError "lens")) - (hsPkgs."mainland-pretty" or (errorHandler.buildDepError "mainland-pretty")) - (hsPkgs."purescript-bridge" or (errorHandler.buildDepError "purescript-bridge")) - (hsPkgs."servant" or (errorHandler.buildDepError "servant")) - (hsPkgs."servant-foreign" or (errorHandler.buildDepError "servant-foreign")) - (hsPkgs."servant-server" or (errorHandler.buildDepError "servant-server")) - (hsPkgs."servant-subscriber" or (errorHandler.buildDepError "servant-subscriber")) - (hsPkgs."text" or (errorHandler.buildDepError "text")) - ]; - buildable = true; - }; - tests = { - "servant-purescript-test" = { - depends = [ - (hsPkgs."base" or (errorHandler.buildDepError "base")) - (hsPkgs."aeson" or (errorHandler.buildDepError "aeson")) - (hsPkgs."containers" or (errorHandler.buildDepError "containers")) - (hsPkgs."mainland-pretty" or (errorHandler.buildDepError "mainland-pretty")) - (hsPkgs."lens" or (errorHandler.buildDepError "lens")) - (hsPkgs."purescript-bridge" or (errorHandler.buildDepError "purescript-bridge")) - (hsPkgs."servant" or (errorHandler.buildDepError "servant")) - (hsPkgs."servant-foreign" or (errorHandler.buildDepError "servant-foreign")) - (hsPkgs."servant-purescript" or (errorHandler.buildDepError "servant-purescript")) - (hsPkgs."servant-subscriber" or (errorHandler.buildDepError "servant-subscriber")) - (hsPkgs."text" or (errorHandler.buildDepError "text")) - ]; - buildable = true; - }; - }; - }; - } // rec { - src = (pkgs.lib).mkDefault /nix/store/wpxma8w4lhg0kpmasqp1iq19br4xzirp-servant-purescript-a761044; - } diff --git a/nix/sha256map.nix b/nix/sha256map.nix index 9fcfa8d965a..5f530b65a3a 100644 --- a/nix/sha256map.nix +++ b/nix/sha256map.nix @@ -5,7 +5,7 @@ "https://github.com/input-output-hk/cardano-base"."41545ba3ac6b3095966316a99883d678b5ab8da8" = "0icq9y3nnl42fz536da84414av36g37894qnyw4rk3qkalksqwir"; "https://github.com/input-output-hk/cardano-crypto"."f73079303f663e028288f9f4a9e08bcca39a923e" = "1n87i15x54s0cjkh3nsxs4r1x016cdw1fypwmr68936n3xxsjn6q"; "https://github.com/input-output-hk/cardano-ledger"."1a9ec4ae9e0b09d54e49b2a40c4ead37edadcce5" = "0avzyiqq0m8njd41ck9kpn992yq676b1az9xs77977h7cf85y4wm"; - "https://github.com/input-output-hk/cardano-node"."814df2c146f5d56f8c35a681fe75e85b905aed5d" = "1hr00wqzmcyc3x0kp2hyw78rfmimf6z4zd4vv85b9zv3nqbjgrik"; + "https://github.com/input-output-hk/cardano-node"."73f9a746362695dc2cb63ba757fbcabb81733d23" = "1hh53whcj5y9kw4qpkiza7rmkniz18r493vv4dzl1a8r5fy3b2bv"; "https://github.com/input-output-hk/cardano-prelude"."bb4ed71ba8e587f672d06edf9d2e376f4b055555" = "00h10l5mmiza9819p9v5q5749nb9pzgi20vpzpy1d34zmh6gf1cj"; "https://github.com/input-output-hk/cardano-sl-x509"."12925934c533b3a6e009b61ede555f8f26bac037" = "1kma25g8sl6m3pgsihja7fysmv6vjdfc0x7dyky9g5z156sh8z7i"; "https://github.com/input-output-hk/flat"."ee59880f47ab835dbd73bea0847dab7869fc20d8" = "1lrzknw765pz2j97nvv9ip3l1mcpf2zr4n56hwlz0rk7wq7ls4cm"; @@ -13,9 +13,9 @@ "https://github.com/input-output-hk/hedgehog-extras"."edf6945007177a638fbeb8802397f3a6f4e47c14" = "0wc7qzkc7j4ns2rz562h6qrx2f8xyq7yjcb7zidnj7f6j0pcd0i9"; "https://github.com/input-output-hk/iohk-monitoring-framework"."808724ff8a19a33d0ed06f9ef59fbd900b08553c" = "0298dpl29gxzs9as9ha6y0w18hqwc00ipa3hzkxv7nlfrjjz8hmz"; "https://github.com/shmish111/purescript-bridge.git"."6a92d7853ea514be8b70bab5e72077bf5a510596" = "13j64vv116in3c204qsl1v0ajphac9fqvsjp7x3zzfr7n7g61drb"; - "https://github.com/input-output-hk/ouroboros-network"."d2d219a86cda42787325bb8c20539a75c2667132" = "18xk7r0h2pxrbx76d6flsxifh0a9rz1cj1rjqs1pbs5kdmy8b7kx"; - "https://github.com/input-output-hk/plutus"."1efbb276ef1a10ca6961d0fd32e6141e9798bd11" = "1jicyk4hr8p0xksj4048gdxndrb42jz4wsnkhc3ymxbm5v6snalf"; - "https://github.com/input-output-hk/ekg-forward"."2adc8b698443bb10154304b24f6c1d6913bb65b9" = "0cyixq3jmq43zs1yzrycqw1klyjy0zxf1vifknnr1k9d6sc3zf6b"; + "https://github.com/input-output-hk/ouroboros-network"."4fac197b6f0d2ff60dc3486c593b68dc00969fbf" = "1b43vbdsr9m3ry1kgag2p2ixpv54gw7a4vvmndxl6knqg8qbsb8b"; + "https://github.com/input-output-hk/plutus"."fc5fe94d3d9525d032bcbc79ff0e1ebcfd8ef143" = "1gnzhns44rzvf9cw84jaqajqqbi9xdcpyy2sapa890vwf796nigv"; + "https://github.com/input-output-hk/ekg-forward"."297cd9db5074339a2fb2e5ae7d0780debb670c63" = "1zcwry3y5rmd9lgxy89wsb3k4kpffqji35dc7ghzbz603y1gy24g"; "https://github.com/input-output-hk/cardano-config"."1646e9167fab36c0bff82317743b96efa2d3adaa" = "11kf65x38laqhwspsl28j2x5a4rky8mfr6356w0li5g53sfykmjc"; "https://github.com/shmish111/servant-purescript.git"."a76104490499aa72d40c2790d10e9383e0dbde63" = "11nxxmi5bw66va7psvrgrw7b7n85fvqgfp58yva99w3v9q3a50v9"; "https://github.com/input-output-hk/Win32-network"."3825d3abf75f83f406c1f7161883c438dac7277d" = "19wahfv726fa3mqajpqdqhnl9ica3xmf68i254q45iyjcpj1psqx"; diff --git a/stack.yaml b/stack.yaml index 4da301ca775..f1ac3af3241 100644 --- a/stack.yaml +++ b/stack.yaml @@ -186,11 +186,12 @@ extra-deps: - libs/non-integral - git: https://github.com/input-output-hk/cardano-node - commit: 814df2c146f5d56f8c35a681fe75e85b905aed5d + commit: 73f9a746362695dc2cb63ba757fbcabb81733d23 subdirs: - cardano-api - cardano-cli - cardano-node + - cardano-git-rev - trace-dispatcher - trace-resources - trace-forward @@ -230,7 +231,7 @@ extra-deps: commit: 6a92d7853ea514be8b70bab5e72077bf5a510596 - git: https://github.com/input-output-hk/ouroboros-network - commit: d2d219a86cda42787325bb8c20539a75c2667132 + commit: 4fac197b6f0d2ff60dc3486c593b68dc00969fbf subdirs: - io-classes - io-sim @@ -259,26 +260,18 @@ extra-deps: - ouroboros-consensus-mock - git: https://github.com/input-output-hk/plutus - commit: 1efbb276ef1a10ca6961d0fd32e6141e9798bd11 + commit: fc5fe94d3d9525d032bcbc79ff0e1ebcfd8ef143 subdirs: - - freer-extras - - playground-common - - plutus-chain-index - - plutus-contract - plutus-core - - plutus-ledger - plutus-ledger-api - - plutus-pab - plutus-tx - plutus-tx-plugin - - plutus-use-cases - stubs/plutus-ghc-stub - prettyprinter-configurable - - quickcheck-dynamic - word-array - git: https://github.com/input-output-hk/ekg-forward - commit: 2adc8b698443bb10154304b24f6c1d6913bb65b9 + commit: 297cd9db5074339a2fb2e5ae7d0780debb670c63 - git: https://github.com/input-output-hk/cardano-config commit: 1646e9167fab36c0bff82317743b96efa2d3adaa From ad8be3013e5bbda921d959029fd82d4d32dbd2da Mon Sep 17 00:00:00 2001 From: Johannes Lund Date: Tue, 15 Mar 2022 13:04:11 +0100 Subject: [PATCH 2/5] Remove support for `stack build` --- .buildkite/default.nix | 31 -- .buildkite/pipeline.yml | 12 - .buildkite/rebuild.hs | 668 ------------------------------------ docs/developers/Building.md | 17 +- flake.nix | 5 - 5 files changed, 1 insertion(+), 732 deletions(-) delete mode 100644 .buildkite/default.nix delete mode 100644 .buildkite/rebuild.hs diff --git a/.buildkite/default.nix b/.buildkite/default.nix deleted file mode 100644 index c26771ad902..00000000000 --- a/.buildkite/default.nix +++ /dev/null @@ -1,31 +0,0 @@ -{ pkgs ? (import ../default.nix {}).legacyPackages.${builtins.currentSystem}.pkgs - # Include the stack nix-shell in closure of stackRebuild, so that it - # doesn't get garbage-collected whilst the build is running. - # https://github.com/commercialhaskell/stack/issues/3479 -, stackShell ? import ../nix/stack-shell.nix {} -}: - -with pkgs.lib; -with pkgs; - -let - buildTools = [ - gnused gnugrep coreutils git nix gnumake - gnutar gzip lz4 bzip2 xz - stack haskell-build-tools.weeder - ]; - libs = ps: with ps; [turtle safe transformers extra async digest]; - ghc' = haskellPackages.ghcWithPackages libs; - - stackRebuild = runCommand "stack-rebuild" { - buildInputs = [ ghc' makeWrapper ]; - } '' - mkdir -p $out/bin - ghc -Wall -threaded -o $out/bin/rebuild ${./rebuild.hs} - wrapProgram $out/bin/rebuild \ - --set PATH "${lib.makeBinPath buildTools}" \ - --set NO_GC_STACK_SHELL ${stackShell} - ''; - -in - stackRebuild diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index 786583325a8..4edd1756e7a 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -23,18 +23,6 @@ steps: - wait: ~ if: 'build.branch == "bors/staging"' - - label: 'Stack Rebuild' - command: - - "rm -rf $TESTS_LOGDIR && mkdir -p $TESTS_LOGDIR" - - "nix build .#hydraJobs.linux.native.buildkiteScript -o sr" - - "./sr/bin/rebuild --build-dir=$BUILD_DIR --cache-dir=$CACHE_DIR" - timeout_in_minutes: 120 - artifact_paths: - - "/build/cardano-wallet/.stack-work/logs/cardano-wallet*.log" - - "/tmp/wallet-integration-logs/*/*.log" - agents: - system: x86_64-linux - - label: 'Check Cabal Configure' command: 'nix develop .#cabal --command scripts/buildkite/cabal-ci.sh configure' agents: diff --git a/.buildkite/rebuild.hs b/.buildkite/rebuild.hs deleted file mode 100644 index f3e5ac33831..00000000000 --- a/.buildkite/rebuild.hs +++ /dev/null @@ -1,668 +0,0 @@ -{-# LANGUAGE LambdaCase #-} -{-# LANGUAGE OverloadedStrings #-} -{-# LANGUAGE RecordWildCards #-} -{-# LANGUAGE ScopedTypeVariables #-} -{-# LANGUAGE TypeApplications #-} - --- | --- Copyright: © 2018-2020 IOHK --- License: Apache-2.0 --- --- Script for building cardano-wallet with Stack under Buildkite. --- --- You can almost exactly reproduce the build by copying the commands from --- pipeline.yml. Thes will have exact same versions of all build tools, etc. --- --- To see what would be built, without actually running the build, --- use the --dry-run option. --- --- To work on this script under GHCi, with Haskell dependencies provided, run: --- nix-shell .buildkite --run "ghci .buildkite/rebuild.hs" --- --- On Buildkite, the execution environment available to stack is defined in --- nix/stack-shell.nix. - -import Options.Applicative hiding - ( action ) -import Prelude hiding - ( FilePath ) -import Turtle hiding - ( arg, match, opt, option, root, shell, skip ) - -import Control.Concurrent.Async - ( race ) -import Control.Exception - ( IOException ) -import Control.Monad - ( filterM, forM_ ) -import Control.Monad.Catch - ( catch ) -import Control.Monad.Extra - ( whenM ) -import Control.Monad.Trans.Class - ( lift ) -import Control.Monad.Trans.Maybe - ( MaybeT (..) ) -import Data.ByteString - ( ByteString ) -import Data.Char - ( isSpace ) -import Data.Digest.CRC32 - ( crc32 ) -import Data.List - ( intercalate ) -import Data.Maybe - ( fromMaybe, isJust, mapMaybe, maybeToList ) -import Safe - ( headMay, readMay ) -import System.Exit - ( exitWith ) - -import qualified Control.Foldl as Fold -import qualified Data.ByteString.Char8 as B8 -import qualified Data.Text as T -import qualified Filesystem.Path.CurrentOS as FP -import qualified Turtle.Bytes as TB - -main :: IO () -main = do - (RebuildOpts{..}, cmd) <- parseOpts - bk <- getBuildkiteEnv - cacheConfig <- getCacheConfig bk optCacheDirectory - case cmd of - Build -> do - doMaybe (setupBuildDirectory optDryRun) optBuildDirectory - whenRun optDryRun $ do - cacheGetStep cacheConfig - cleanBuildDirectory (fromMaybe "." optBuildDirectory) - buildResult <- buildStep optDryRun (qaLevel optQALevel bk) - when (shouldUploadCoverage bk) $ uploadCoverageStep optDryRun - whenRun optDryRun $ cachePutStep cacheConfig - if buildResult == ExitSuccess - then exitWith =<< weederStep optDryRun - else exitWith buildResult - CleanupCache -> - cleanupCacheStep optDryRun cacheConfig optBuildDirectory - PurgeCache -> - purgeCacheStep optDryRun cacheConfig optBuildDirectory - -data BuildOpt = Standard | Fast deriving (Show, Eq) - -data RebuildOpts = RebuildOpts - { optBuildDirectory :: Maybe FilePath - , optCacheDirectory :: Maybe FilePath - , optQALevel :: Maybe QA - , optDryRun :: DryRun - } deriving (Show) - -data Command = Build | CleanupCache | PurgeCache deriving (Show) - -data DryRun = Run | DryRun deriving (Show, Eq) - -data QA = QuickTest | FullTest | NightlyTest - deriving (Show, Read, Eq, Ord, Bounded, Enum) - -data Jobs = Serial | Parallel Int deriving (Show, Eq) - -rebuildOpts :: Parser RebuildOpts -rebuildOpts = RebuildOpts - <$> optional buildDir - <*> optional cacheName - <*> optional qa - <*> dryRun - where - buildDir = option - (FP.decodeString <$> str) - ( long "build-dir" - <> metavar "DIR" - <> help "Copy sources to directory before building" - ) - cacheName = option - (FP.decodeString <$> str) - ( long "cache-dir" - <> metavar "DIR" - <> help "Location of project's cache" - ) - qa = option auto - ( long "qa-level" - <> metavar (intercalate "|" (map show [(minBound :: QA) .. maxBound])) - <> help "Amount of testing to perform" - ) - dryRun = flag Run DryRun - ( long "dry-run" - <> help "Print what build commands would be run, without executing them" - ) - -parseOpts :: IO (RebuildOpts, Command) -parseOpts = execParser opts - where - opts = info - (cmdOpts <**> helper) - (fullDesc <> progDesc "Build cardano-wallet with stack in Buildkite") - cmdOpts = (,) - <$> rebuildOpts - <*> (cmd <|> pure Build) - cmd = subparser - ( command "build" (info (pure Build) idm) - <> command "cleanup-cache" (info (pure CleanupCache) idm) - <> command "purge-cache" (info (pure PurgeCache) idm) - ) - -buildStep :: DryRun -> QA -> IO ExitCode -buildStep dryRun qa = listLocalPackages >>= buildStep' dryRun qa - -buildStep' :: DryRun -> QA -> [Text] -> IO ExitCode -buildStep' dryRun qa pkgs = foldl1 (.&&.) - [ titled "Build LTS Snapshot" $ - build Standard ["--only-snapshot"] - , titled "Build dependencies" $ - build Standard ["--only-dependencies"] - , titled "Build" $ - projectBuild ["--test", "--no-run-tests"] - -- , titled "Tests (except integration)" $ - -- timeout 60 $ do - -- test (skip "integration") [] - , titled "Checking golden test files" $ - checkUnclean dryRun "lib/core/test/data" - , when' runIntegration $ titled "Integration tests on latest era" $ - timeout 60 $ integrationTest "" - ] - where - projectOpt = Fast - runIntegration = qa > QuickTest - - benchFlags = [ "--bench", "--no-run-benchmarks"] - - runStack cmd opt args = - run dryRun "stack" $ concat - [ color "always" - , [ "--no-terminal" ] - , [ cmd ] - , concatMap (cabalFlag "release") pkgs - , fast opt - , args - ] - - build opt args = runStack "build" opt $ - [ "--haddock" - , "--haddock-internal" - , "--no-haddock-deps" - ] ++ args - - projectBuild args = build projectOpt $ benchFlags ++ args - - test args hspecArgs = runStack "test" projectOpt $ - ta (jobs 3 ++ hspecArgs) ++ benchFlags ++ args - - integrationTest era = do - testsLogDir <- exportEnvArg "TESTS_LOGDIR" - test ["cardano-wallet:integration"] $ mconcat - [ envArg "LOCAL_CLUSTER_ERA" era - , envArg "TESTS_RETRY_FAILED" "yes" - , testsLogDir ] - - color arg = ["--color", arg] - fast arg = case arg of Standard -> []; Fast -> ["--fast"] - jobs arg = ["--jobs", T.pack (show @Int arg)] - skip arg = ["--skip", arg] - match arg = ["--match", arg] - ta arg = ["--ta", T.unwords arg] - cabalFlag name pkg = ["--flag", pkg <> ":" <> name] - - serialTests = "SERIAL" - - envArg name val = ["--env", name <> "=" <> val] - exportEnvArg name = maybe [] (envArg name) <$> need name - --- | Like 'when', but for shell programs. -when' :: MonadIO m => Bool -> m ExitCode -> m ExitCode -when' t action = if t then action else pure ExitSuccess - --- Stack with caching needs a build directory that is the same across --- all BuildKite agents. The build directory option can be used to --- ensure this is the case. -setupBuildDirectory :: DryRun -> FilePath -> IO () -setupBuildDirectory dryRun buildDir = do - removeDirectory dryRun buildDir - src <- pwd - printf ("Copying source tree "%fp%" -> "%fp%"\n") src buildDir - whenRun dryRun $ do - cptree src buildDir - cd buildDir - --- Remove certain files which get cached but could cause problems for subsequent --- builds. -cleanBuildDirectory :: FilePath -> IO () -cleanBuildDirectory buildDir = mapM_ rm =<< findTix buildDir <> findHie buildDir - --- | Check for the presence of new or modified test data files which someone --- forgot to check in. -checkUnclean :: DryRun -> FilePath -> IO ExitCode -checkUnclean dryRun dir = do - void $ run dryRun "git" ["add", format fp dir] - res <- run dryRun "git" - ["diff-index", "--exit-code", "--stat", "HEAD", format fp dir] - when (res /= ExitSuccess) $ do - printf ("There are uncommitted changes in "%fp%".\n") dir - printf "This build step will fail.\n" - pure res - --- | Find the name of all Cabal packages in this repo. --- --- Note: "stack ide packages" can't easily be used because it prints to stderr --- mixed with output from other commands. -listLocalPackages :: IO [Text] -listLocalPackages = - find (suffix ".cabal") "." - & onFiles (grepText (invert isInsideBuildDir)) - & onFiles (grepText (invert isPrototype)) - & fmap basename - & textLines - where - isInsideBuildDir = contains "./.stack-work" <|> contains "./dist" - isPrototype = begins "./prototypes" - textLines shell = fold (format fp <$> shell) Fold.list - ----------------------------------------------------------------------------- --- Buildkite --- https://buildkite.com/docs/pipelines/environment-variables - --- | A selection of relevant pipeline and build information from Buildkite. -data BuildkiteEnv = BuildkiteEnv - { bkBuildNum :: Int - -- ^ The Buildkite build number. - , bkPipeline :: Text - -- ^ The pipeline slug on Buildkite as used in URLs. - , bkBranch :: Text - -- ^ The branch being built. - , bkBaseBranch :: Maybe Text - -- ^ The base branch that the pull request is targeting, if this - -- build is for a pull request. - , bkDefaultBranch :: Text - -- ^ The default branch for the pipeline (e.g. master). - , bkTag :: Maybe Text - -- ^ The name of the tag being built, if this build was triggered from a tag. - } deriving (Show) - --- | Fetch build parameters from the environment. -getBuildkiteEnv :: IO (Maybe BuildkiteEnv) -getBuildkiteEnv = runMaybeT $ do - bkBuildNum <- MaybeT $ needRead "BUILDKITE_BUILD_NUMBER" - bkPipeline <- MaybeT $ need "BUILDKITE_PIPELINE_SLUG" - bkBranch <- MaybeT $ need "BUILDKITE_BRANCH" - bkBaseBranch <- lift $ want "BUILDKITE_PULL_REQUEST_BASE_BRANCH" - bkDefaultBranch <- MaybeT $ need "BUILDKITE_PIPELINE_DEFAULT_BRANCH" - bkTag <- lift $ want "BUILDKITE_TAG" - pure BuildkiteEnv {..} - --- | Whether we are building the repo's default branch. -onDefaultBranch :: BuildkiteEnv -> Bool -onDefaultBranch BuildkiteEnv{..} = bkBranch == bkDefaultBranch - --- | Whether we are building for Bors, based on the branch name. -isBorsBuild :: BuildkiteEnv -> Bool -isBorsBuild bk = "bors/" `T.isPrefixOf` bkBranch bk - --- | How much time to spend executing tests. -qaLevel :: Maybe QA -> Maybe BuildkiteEnv -> QA -qaLevel opt mbk = fromMaybe (fromMaybe QuickTest (mbk >>= level)) opt - where - level bk - | isBorsBuild bk = Just FullTest - | onDefaultBranch bk = Just QuickTest - | otherwise = Nothing - --- | Whether to upload test coverage information to coveralls.io. -shouldUploadCoverage :: Maybe BuildkiteEnv -> Bool -shouldUploadCoverage _ = False - -- FIXME: Coverage is messing up with the execution of tests... - --- | Add a Buildkite expandable section for the given command. --- It will be collapsed initially, but expanded if the command failed. -titled :: Text -> IO ExitCode -> IO ExitCode -titled heading action = do - printf ("--- "%s%"\n") heading - res <- action - when (res /= ExitSuccess) $ printf "^^^ +++\n" - pure res - ----------------------------------------------------------------------------- --- Weeder - uses .hie files in .stack-work to determine unused dependencies - -weederStep :: DryRun -> IO ExitCode -weederStep dryRun = titled "Weeder (temporarily disabled)" $ - pure ExitSuccess - -- run dryRun "weeder" [] - -findHie :: FilePath -> IO [FilePath] -findHie dir = fold (find (suffix ".hie") dir) Fold.list - ----------------------------------------------------------------------------- --- Stack Haskell Program Coverage and upload to Coveralls - --- | Upload coverage information to coveralls. -uploadCoverageStep :: DryRun -> IO () -uploadCoverageStep dryRun = do - echo "--- Upload Test Coverage" - need var >>= \case - Nothing -> do - eprintf ("Environment variable "%s%" not set.\n") var - eprintf "Not uploading coverage information.\n" - Just repoToken -> - (findTix "lib" >>= generate) .&&. upload repoToken >>= \case - ExitSuccess -> echo "Coverage information upload successful." - ExitFailure _ -> echo "Coverage information upload failed." - where - var = "CARDANO_WALLET_COVERALLS_REPO_TOKEN" - generate tixFiles = run dryRun "stack" - ([ "hpc" - , "report" - , "--all" - ] ++ map (format fp) tixFiles) - upload repoToken = do - let shcArgs = ["combined", "custom"] - logCommand "shc" shcArgs - whenRun' dryRun ExitSuccess $ - proc "shc" (["--repo-token", repoToken] ++ shcArgs) empty - -findTix :: FilePath -> IO [FilePath] -findTix dir = fold (find (suffix ".tix") dir) Fold.list - ----------------------------------------------------------------------------- --- Stack root and .stack-work caching. --- --- This will only operate when the @STACK_ROOT@ environment variable is set. --- --- It also needs to be running under Buildkite with a project cache location --- supplied. - --- | Information required for caching the stack root and @.stack-work@ --- directories. -data CICacheConfig = CICacheConfig - { ccCacheDir :: FilePath - -- ^ Per-project directory to store cache files. - , ccStackRoot :: FilePath - -- ^ Absolute location of the @.stack@ directory. - , ccBranches :: [Text] - -- ^ A list of branches to source caches from. The branches will be tried in - -- order until one is found. When saving caches, the first branch in the list - -- is used. - , ccCacheKey :: Text - -- ^ An extra string to make separate caches. - } deriving (Show) - --- | Sets up the 'CICacheConfig' info, or provides a reason why caching can't be --- done. -getCacheConfig :: Maybe BuildkiteEnv -> Maybe FilePath -> IO (Either Text CICacheConfig) -getCacheConfig Nothing _ = - pure (Left "BUILDKITE_* environment variables are not set") -getCacheConfig _ Nothing = - pure (Left "--cache-dir argument was not provided") -getCacheConfig (Just bk) (Just ccCacheDir) = - (fmap FP.fromText <$> need "STACK_ROOT") >>= \case - Just ccStackRoot -> do - ccCacheKey <- getFileHash "stack.yaml" - pure (Right CICacheConfig{ccBranches=cacheBranches bk,..}) - Nothing -> - pure (Left "STACK_ROOT environment variable is not set") - --- | Create the list of branches to source caches from. --- 1. Build branch; --- 2. PR base branch; --- 3. Repo default branch. -cacheBranches :: BuildkiteEnv -> [Text] -cacheBranches BuildkiteEnv{..} = - [bkBranch] ++ maybeToList bkBaseBranch ++ [bkDefaultBranch] - --- | Return a hex string with a hash of the file contents. -getFileHash :: FilePath -> IO Text -getFileHash = fmap (format x . fromIntegral . crc32) . TB.strict . TB.input - -cacheGetStep :: Either Text CICacheConfig -> IO () -cacheGetStep cacheConfig = do - echo "--- CI Cache Restore" - case cacheConfig of - Right cfg -> restoreCICache cfg `catch` \(ex :: IOException) -> - eprintf ("Failed to download CI cache: "%w%"\nContinuing anyway...\n") ex - Left ex -> - eprintf ("Not using CI cache because "%s%"\n") ex - -cachePutStep :: Either Text CICacheConfig -> IO () -cachePutStep cacheConfig = do - echo "--- CI Cache Save" - case cacheConfig of - Right cfg -> saveCICache cfg `catch` \(ex :: IOException) -> - eprintf ("Failed to upload CI cache: "%w%"\n") ex - Left _ -> - printf "CI cache not configured.\n" - -getCacheArchive :: MonadIO io => CICacheConfig -> FilePath -> io (Maybe FilePath) -getCacheArchive CICacheConfig{..} ext = do - let caches = mapMaybe (getCacheName ccCacheKey ccCacheDir) ccBranches - headMay <$> filterM testfile (map ( ext) caches) - --- | The cache directory for a given branch name. This filepath always has a --- trailing slash. -getCacheName :: Text -> FilePath -> Text -> Maybe FilePath -getCacheName k base branch - | ".." `T.isInfixOf` branch = Nothing - | otherwise = Just $ base FP.fromText branch - (if T.null k then "" else fromText k "") - --- | The filename for a given branch and cache name. -putCacheName :: CICacheConfig -> FilePath -> Maybe FilePath -putCacheName CICacheConfig{..} ext = - ( ext) <$> getCacheName ccCacheKey ccCacheDir (head ccBranches) - -restoreCICache :: CICacheConfig -> IO () -restoreCICache cfg = do - restoreStackRoot cfg - restoreStackWork cfg - -saveCICache :: CICacheConfig -> IO () -saveCICache cfg = do - saveStackRoot cfg - saveStackWork cfg - -stackRootCache :: FilePath -stackRootCache = "stack-root.tar.lz4" - -stackWorkCache :: FilePath -stackWorkCache = "stack-work.tar.lz4" - -restoreStackRoot :: CICacheConfig -> IO () -restoreStackRoot cfg@CICacheConfig{..} = do - restoreZippedCache stackRootCache cfg $ \tar -> do - whenM (testpath ccStackRoot) $ rmtree ccStackRoot - mktree ccStackRoot - TB.procs "tar" ["-C", "/", "-x"] tar - makeCacheLive ccStackRoot - -restoreStackWork :: CICacheConfig -> IO () -restoreStackWork cfg = do - restoreZippedCache stackWorkCache cfg (TB.procs "tar" ["-x"]) - sh (find (ends ".stack-work") "." >>= makeCacheLive) - -restoreZippedCache - :: FilePath - -> CICacheConfig - -> (Shell ByteString -> IO ()) - -> IO () -restoreZippedCache ext cfg act = getCacheArchive cfg ext >>= \case - Just tarfile -> do - size <- du tarfile - printf ("Restoring cache "%fp%" ("%sz%") ... ") tarfile size - act $ TB.inproc "lz4cat" ["-d"] (TB.input tarfile) - printf "done.\n" - Nothing -> - printf ("No "%fp%" cache found.\n") ext - -saveStackRoot :: CICacheConfig -> IO () -saveStackRoot cfg@CICacheConfig{..} = saveZippedCache stackRootCache cfg tar - where - tar = TB.inproc "tar" ["-C", "/", "-c", format fp ccStackRoot] empty - -saveStackWork :: CICacheConfig -> IO () -saveStackWork cfg = saveZippedCache stackWorkCache cfg tar - where - nullTerminate = (<> "\0") . B8.pack . FP.encodeString - dirs = nullTerminate <$> find (ends ".stack-work") "." - tar = TB.inproc "tar" (exclude ++ ["--null", "-T", "-", "-c"]) $ dirs - exclude = ["--exclude", ".stack-work/logs"] - -saveZippedCache :: FilePath -> CICacheConfig -> Shell ByteString -> IO () -saveZippedCache ext cfg@CICacheConfig{..} tar = case putCacheName cfg ext of - Just tarfile -> sh $ do - printf ("Saving cache "%fp%" ... ") tarfile - mktree (directory tarfile) - tmp <- using (mktempfile ccCacheDir (format fp ext)) - TB.output tmp $ TB.inproc "lz4cat" ["-z"] tar - mv tmp tarfile - du tarfile >>= printf ("wrote "%sz%".\n") - Nothing -> printf ("Could not determine "%fp%" cache name.\n") ext - -cleanupCacheStep :: DryRun -> Either Text CICacheConfig -> Maybe FilePath -> IO () -cleanupCacheStep dryRun cacheConfig buildDir = do - echo "--- Cleaning up CI cache" - case cacheConfig of - Right CICacheConfig{..} -> do - whenM (testdir ccCacheDir) $ - getBranches >>= cleanupCache dryRun ccCacheDir - -- Remove the stack root left by the previous build. - removeDirectory dryRun ccStackRoot - -- Remove the build directory left by the previous build. - doMaybe (removeDirectory dryRun) buildDir - Left ex -> - eprintf ("Not cleaning up CI cache because: "%s%"\n") ex - -purgeCacheStep :: DryRun -> Either Text CICacheConfig -> Maybe FilePath -> IO () -purgeCacheStep dryRun cacheConfig buildDir = do - echo "--- Deleting all CI caches" - case cacheConfig of - Right CICacheConfig{..} -> do - removeDirectory dryRun ccCacheDir - removeDirectory dryRun ccStackRoot - doMaybe (removeDirectory dryRun) buildDir - Left ex -> - eprintf ("Not purging CI cache because: "%s%"\n") ex - --- | Remove all files and directories that do not belong to an active branch cache. -cleanupCache :: DryRun -> FilePath -> [Text] -> IO () -cleanupCache dryRun cacheDir activeBranches = do - let branchCaches = mapMaybe (getCacheName "" cacheDir) activeBranches - isCache cf = any (\dir -> format fp cf `T.isPrefixOf` format fp dir) - files <- fold (lstree cacheDir) (Fold.revList) - forM_ files $ \cf -> do - st <- stat cf - if isDirectory st - then unless (isCache cf branchCaches) $ do - printf ("Removing directory "%fp%"\n") cf - whenRun dryRun $ rmdir cf - else unless (directory cf `elem` branchCaches) $ do - printf ("Removing file "%fp%"\n") cf - whenRun dryRun $ rm cf - -removeDirectory :: DryRun -> FilePath -> IO () -removeDirectory dryRun dir = whenM (testpath dir) $ do - printf ("Removing directory "%fp%".\n") dir - whenRun dryRun $ rmtree dir - --- | Ask the origin git remote for its list of branches. -getBranches :: MonadIO io => io [Text] -getBranches = - T.lines <$> strict (sed branchPat (grep branchPat git)) - where - remote = "origin" - git = inproc "git" ["ls-remote", "--heads", remote] empty - branchPat = plus alphaNum *> spaces1 *> "refs/heads/" *> plus anyChar - --- | The cache may be referring to Nix store paths which have been garbage --- collected. --- --- This procedure searches a directory for Nix store path references, and then --- uses @nix-store --realise@ to bring back any required paths that do not --- exist. It also sets down GC roots, so that these dependencies can't be --- deleted while the build is running. -makeCacheLive :: MonadIO io => FilePath -> io () -makeCacheLive dir = do - printf ("Realising Nix store paths in "%fp%" ...\n") dir - gcroots <- ( "gcroots") <$> realpath dir - mktree gcroots - sh $ do - (num, storePath) <- grepStorePaths & nub & nl - guard (storePath /= mempty) - printf (" "%l%"\n") storePath - let storePath' = fromText (lineToText storePath) - let gcroot = gcroots fromText (format ("cache-"%d) num) - exists <- testpath storePath' - unless exists $ realiseStorePath gcroot storePath' - where - grepStorePaths = inproc "grep" - [ "--recursive", "--binary-files=text" - , "--no-filename", "--only-matching" - , "--extended-regexp" - , "/nix/store/[0-9a-df-np-sv-z]{32}-[+_?=a-zA-Z0-9-][+_?=.a-zA-Z0-9-]*" - , format fp dir ] mempty `catch` (\(ExitFailure 1) -> pure mempty) - - realiseStorePath root storePath = void $ procStrict "nix-store" - [ "--add-root", format fp root, "--indirect" - , "--realise", format fp storePath ] mempty - ----------------------------------------------------------------------------- --- Utils - -needRead :: (MonadIO io, Read a) => Text -> io (Maybe a) -needRead v = (>>= readMay) . fmap T.unpack <$> need v - -want :: MonadIO io => Text -> io (Maybe Text) -want = fmap (>>= nullToNothing) . need - where - nullToNothing "" = Nothing - nullToNothing a = Just a - -envDefined :: MonadIO io => Text -> io Bool -envDefined = fmap isJust . want - -doMaybe :: Monad m => (a -> m ()) -> Maybe a -> m () -doMaybe = maybe (pure ()) - -run :: MonadIO io => DryRun -> Text -> [Text] -> io ExitCode -run dryRun cmd args = do - logCommand cmd args - whenRun' dryRun ExitSuccess $ do - res <- proc cmd args empty - case res of - ExitSuccess -> - pure () - ExitFailure code -> - eprintf - ("error: Command exited with code "%d%"!\nContinuing...\n") - code - pure res - -logCommand :: MonadIO io => Text -> [Text] -> io () -logCommand cmd args = printf (s % " " % s % "\n") cmd args' - where - args' = T.unwords $ map quote args - -- simple quoting, just for logging - quote arg | T.any isSpace arg = "'" <> arg <> "'" - | otherwise = arg - --- | Runs an action when not in --dry-run mode. -whenRun :: Applicative m => DryRun -> m a -> m () -whenRun dry = whenRun' dry () . void - --- | Runs an action when not in --dry-run mode, with alternative return value. -whenRun' :: Applicative m => DryRun -> a -> m a -> m a -whenRun' DryRun a _ = pure a -whenRun' Run _ ma = ma - --- | Run an action, but cancel it if it doesn't complete within the given number --- of minutes. -timeout :: Int -> IO ExitCode -> IO ExitCode -timeout mins act = race (sleep (fromIntegral mins * 60)) act >>= \case - Right r -> - pure r - Left () -> do - eprintf ("\nTimed out after "%d%" minutes.\n") mins - pure (ExitFailure 124) diff --git a/docs/developers/Building.md b/docs/developers/Building.md index 87ce404363b..46661b50cd7 100644 --- a/docs/developers/Building.md +++ b/docs/developers/Building.md @@ -6,32 +6,17 @@ | | **Supported version** | **Dependency?** | | --- | --- | --- | -| [stack][] | >= 2.7.1 | Required, recommended | | [ghc][] | == 8.10.7 | Required | -| [cabal][] | >= 3.4.0.0 | Optional | +| [cabal][] | >= 3.4.0.0 | Required | | [[Nix]] | >= 2.5.1 | Optional | See [`nix/overlays/build-tools.nix`](https://github.com/input-output-hk/cardano-wallet/blob/master/nix/overlays/build-tools.nix#L1) for a list of other Haskell development tools that are used. CI will use exactly the versions specified in this file. -[stack]: https://haskellstack.org/ [cabal]: https://www.haskell.org/cabal/download.html [ghc]: https://www.haskell.org/downloads/ -## Stack - -Use [Haskell Stack][stack] to build this project: - -``` -stack build --test --no-run-tests -``` - -You may need to install the [`libsodium-dev`](https://doc.libsodium.org/installation), `libghc-hsopenssl-dev`, `gmp`, `sqlite` and `systemd` development -libraries for the build to succeed. - ## Cabal -Alternatively, it's possible to build this project with [Cabal][]. - **Note:** the Cabal build is checked by [Buildkite](https://github.com/input-output-hk/cardano-wallet/blob/master/.buildkite/nightly.yml). 1. Update your Hackage index (this may take a while): diff --git a/flake.nix b/flake.nix index b2a9719267e..e1757339431 100644 --- a/flake.nix +++ b/flake.nix @@ -253,11 +253,6 @@ shells = (mkDevShells hydraProject) // { default = hydraProject.shell; }; - # Build and cache the build script used on Buildkite - buildkiteScript = import ./.buildkite/default.nix { - inherit pkgs; - stackShell = linux.native.shells.stack; - }; internal.roots = { project = hydraProject.roots; iohk-nix-utils = pkgs.iohk-nix-utils.roots; From 038fd448b82a719ee9f9b37fe4334374a82cef7f Mon Sep 17 00:00:00 2001 From: IOHK Date: Tue, 15 Mar 2022 21:07:24 +0000 Subject: [PATCH 3/5] Regenerate nix --- nix/materialized/stack-nix/default.nix | 115 ++++++++++++------------- 1 file changed, 54 insertions(+), 61 deletions(-) diff --git a/nix/materialized/stack-nix/default.nix b/nix/materialized/stack-nix/default.nix index c4d82ae0aa4..3da52837506 100644 --- a/nix/materialized/stack-nix/default.nix +++ b/nix/materialized/stack-nix/default.nix @@ -104,67 +104,60 @@ cardano-api = ./.stack-to-nix.cache.37; cardano-cli = ./.stack-to-nix.cache.38; cardano-node = ./.stack-to-nix.cache.39; - trace-dispatcher = ./.stack-to-nix.cache.40; - trace-resources = ./.stack-to-nix.cache.41; - trace-forward = ./.stack-to-nix.cache.42; - cardano-prelude = ./.stack-to-nix.cache.43; - cardano-prelude-test = ./.stack-to-nix.cache.44; - cardano-sl-x509 = ./.stack-to-nix.cache.45; - flat = ./.stack-to-nix.cache.46; - goblins = ./.stack-to-nix.cache.47; - hedgehog-extras = ./.stack-to-nix.cache.48; - contra-tracer = ./.stack-to-nix.cache.49; - iohk-monitoring = ./.stack-to-nix.cache.50; - lobemo-backend-aggregation = ./.stack-to-nix.cache.51; - lobemo-backend-ekg = ./.stack-to-nix.cache.52; - lobemo-backend-monitoring = ./.stack-to-nix.cache.53; - lobemo-backend-trace-forwarder = ./.stack-to-nix.cache.54; - lobemo-scribe-systemd = ./.stack-to-nix.cache.55; - tracer-transformers = ./.stack-to-nix.cache.56; - purescript-bridge = ./.stack-to-nix.cache.57; - io-classes = ./.stack-to-nix.cache.58; - io-sim = ./.stack-to-nix.cache.59; - monoidal-synchronisation = ./.stack-to-nix.cache.60; - network-mux = ./.stack-to-nix.cache.61; - ouroboros-consensus = ./.stack-to-nix.cache.62; - ouroboros-consensus-test = ./.stack-to-nix.cache.63; - ouroboros-consensus-byron = ./.stack-to-nix.cache.64; - ouroboros-consensus-byronspec = ./.stack-to-nix.cache.65; - ouroboros-consensus-byron-test = ./.stack-to-nix.cache.66; - ouroboros-consensus-protocol = ./.stack-to-nix.cache.67; - ouroboros-consensus-shelley = ./.stack-to-nix.cache.68; - ouroboros-consensus-shelley-test = ./.stack-to-nix.cache.69; - ouroboros-consensus-cardano = ./.stack-to-nix.cache.70; - ouroboros-consensus-cardano-test = ./.stack-to-nix.cache.71; - ouroboros-network = ./.stack-to-nix.cache.72; - ouroboros-network-framework = ./.stack-to-nix.cache.73; - ouroboros-network-testing = ./.stack-to-nix.cache.74; - strict-stm = ./.stack-to-nix.cache.75; - typed-protocols = ./.stack-to-nix.cache.76; - typed-protocols-cborg = ./.stack-to-nix.cache.77; - typed-protocols-examples = ./.stack-to-nix.cache.78; - cardano-client = ./.stack-to-nix.cache.79; - ntp-client = ./.stack-to-nix.cache.80; - ouroboros-consensus-mock = ./.stack-to-nix.cache.81; - freer-extras = ./.stack-to-nix.cache.82; - playground-common = ./.stack-to-nix.cache.83; - plutus-chain-index = ./.stack-to-nix.cache.84; - plutus-contract = ./.stack-to-nix.cache.85; - plutus-core = ./.stack-to-nix.cache.86; - plutus-ledger = ./.stack-to-nix.cache.87; - plutus-ledger-api = ./.stack-to-nix.cache.88; - plutus-pab = ./.stack-to-nix.cache.89; - plutus-tx = ./.stack-to-nix.cache.90; - plutus-tx-plugin = ./.stack-to-nix.cache.91; - plutus-use-cases = ./.stack-to-nix.cache.92; - plutus-ghc-stub = ./.stack-to-nix.cache.93; - prettyprinter-configurable = ./.stack-to-nix.cache.94; - quickcheck-dynamic = ./.stack-to-nix.cache.95; - word-array = ./.stack-to-nix.cache.96; - ekg-forward = ./.stack-to-nix.cache.97; - cardano-config = ./.stack-to-nix.cache.98; - servant-purescript = ./.stack-to-nix.cache.99; - Win32-network = ./.stack-to-nix.cache.100; + cardano-git-rev = ./.stack-to-nix.cache.40; + trace-dispatcher = ./.stack-to-nix.cache.41; + trace-resources = ./.stack-to-nix.cache.42; + trace-forward = ./.stack-to-nix.cache.43; + cardano-prelude = ./.stack-to-nix.cache.44; + cardano-prelude-test = ./.stack-to-nix.cache.45; + cardano-sl-x509 = ./.stack-to-nix.cache.46; + flat = ./.stack-to-nix.cache.47; + goblins = ./.stack-to-nix.cache.48; + hedgehog-extras = ./.stack-to-nix.cache.49; + contra-tracer = ./.stack-to-nix.cache.50; + iohk-monitoring = ./.stack-to-nix.cache.51; + lobemo-backend-aggregation = ./.stack-to-nix.cache.52; + lobemo-backend-ekg = ./.stack-to-nix.cache.53; + lobemo-backend-monitoring = ./.stack-to-nix.cache.54; + lobemo-backend-trace-forwarder = ./.stack-to-nix.cache.55; + lobemo-scribe-systemd = ./.stack-to-nix.cache.56; + tracer-transformers = ./.stack-to-nix.cache.57; + purescript-bridge = ./.stack-to-nix.cache.58; + io-classes = ./.stack-to-nix.cache.59; + io-sim = ./.stack-to-nix.cache.60; + monoidal-synchronisation = ./.stack-to-nix.cache.61; + network-mux = ./.stack-to-nix.cache.62; + ouroboros-consensus = ./.stack-to-nix.cache.63; + ouroboros-consensus-test = ./.stack-to-nix.cache.64; + ouroboros-consensus-byron = ./.stack-to-nix.cache.65; + ouroboros-consensus-byronspec = ./.stack-to-nix.cache.66; + ouroboros-consensus-byron-test = ./.stack-to-nix.cache.67; + ouroboros-consensus-protocol = ./.stack-to-nix.cache.68; + ouroboros-consensus-shelley = ./.stack-to-nix.cache.69; + ouroboros-consensus-shelley-test = ./.stack-to-nix.cache.70; + ouroboros-consensus-cardano = ./.stack-to-nix.cache.71; + ouroboros-consensus-cardano-test = ./.stack-to-nix.cache.72; + ouroboros-network = ./.stack-to-nix.cache.73; + ouroboros-network-framework = ./.stack-to-nix.cache.74; + ouroboros-network-testing = ./.stack-to-nix.cache.75; + strict-stm = ./.stack-to-nix.cache.76; + typed-protocols = ./.stack-to-nix.cache.77; + typed-protocols-cborg = ./.stack-to-nix.cache.78; + typed-protocols-examples = ./.stack-to-nix.cache.79; + cardano-client = ./.stack-to-nix.cache.80; + ntp-client = ./.stack-to-nix.cache.81; + ouroboros-consensus-mock = ./.stack-to-nix.cache.82; + plutus-core = ./.stack-to-nix.cache.83; + plutus-ledger-api = ./.stack-to-nix.cache.84; + plutus-tx = ./.stack-to-nix.cache.85; + plutus-tx-plugin = ./.stack-to-nix.cache.86; + plutus-ghc-stub = ./.stack-to-nix.cache.87; + prettyprinter-configurable = ./.stack-to-nix.cache.88; + word-array = ./.stack-to-nix.cache.89; + ekg-forward = ./.stack-to-nix.cache.90; + cardano-config = ./.stack-to-nix.cache.91; + servant-purescript = ./.stack-to-nix.cache.92; + Win32-network = ./.stack-to-nix.cache.93; }; compiler.version = "8.10.7"; compiler.nix-name = "ghc8107"; From 02b5c393d5022df22638e1b41e7ce05fa52cb15e Mon Sep 17 00:00:00 2001 From: Samuel Evans-Powell Date: Wed, 16 Mar 2022 15:02:11 +0800 Subject: [PATCH 4/5] Workaround for haskell.nix issue - Workaround haskell.nix issue (https://github.com/input-output-hk/haskell.nix/issues/1402) by using an earlier version of haskell.nix. --- flake.lock | 7 ++++--- flake.nix | 3 ++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/flake.lock b/flake.lock index 32fe3f8892e..257e3a894a9 100644 --- a/flake.lock +++ b/flake.lock @@ -457,16 +457,17 @@ "stackage": "stackage" }, "locked": { - "lastModified": 1647315229, - "narHash": "sha256-GRS3fA7jnPY6c+p7xssXthsGG1nG7M+u22DMz9jDZQ4=", + "lastModified": 1647307075, + "narHash": "sha256-+6Ezxy07ii+Ppk5JTezlG+oNxxXvKqhke+hqmL/wwJY=", "owner": "input-output-hk", "repo": "haskell.nix", - "rev": "eb49a3b7213470e36570f4aa1ed7a64e6d6cf160", + "rev": "308c937bfc68071d8ab0206b44e0f3dde35a401e", "type": "github" }, "original": { "owner": "input-output-hk", "repo": "haskell.nix", + "rev": "308c937bfc68071d8ab0206b44e0f3dde35a401e", "type": "github" } }, diff --git a/flake.nix b/flake.nix index e1757339431..d8a34ded651 100644 --- a/flake.nix +++ b/flake.nix @@ -36,7 +36,8 @@ nixpkgs.follows = "haskellNix/nixpkgs-2111"; hostNixpkgs.follows = "nixpkgs"; haskellNix = { - url = "github:input-output-hk/haskell.nix"; + # FIXME: Workaround for https://github.com/input-output-hk/haskell.nix/issues/1402 + url = "github:input-output-hk/haskell.nix/308c937bfc68071d8ab0206b44e0f3dde35a401e"; inputs.nixpkgs.follows = "nixpkgs"; }; flake-utils.url = "github:numtide/flake-utils"; From 14535d6a16c30ffe023f6c93526344021b90794d Mon Sep 17 00:00:00 2001 From: Samuel Evans-Powell Date: Thu, 17 Mar 2022 09:10:01 +0800 Subject: [PATCH 5/5] Provide instructions for running the integration tests --- docs/developers/Building.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/docs/developers/Building.md b/docs/developers/Building.md index 46661b50cd7..089a0b877b8 100644 --- a/docs/developers/Building.md +++ b/docs/developers/Building.md @@ -66,6 +66,11 @@ See [`nix/overlays/build-tools.nix`](https://github.com/input-output-hk/cardano- $ cabal run cardano-wallet-core:bench:db ``` + To run the integration test suite: + ```console + $ cabal run cardano-wallet:test:integration + ``` + 6. Install binaries from `./dist-newstyle/` into a system location: ```console @@ -118,6 +123,12 @@ $ CARDANO_NODE_SOCKET_PATH=../cardano-node/node.socket $ nix run .#mainnet/wallet -- ``` +You may run the integration tests with: + +```console +nix run .#packages.x86_64-linux.checks.cardano-wallet.integration +``` + #### Cross-compiling with Nix To build the wallet for Windows, from **Linux**: @@ -166,6 +177,18 @@ for `cardano-wallet`. This will contain: Inside this shell you can use `cabal build` and `ghci` for development. +For example, you might start an incremental build of the integration test suite with: + +```console +ghcid -c "cabal repl test:integration" +``` + +and run the test suite with: + +```console +cabal run test:integration +``` + ##### Profiling build with cached dependencies Use `nix develop .#profiled` to get a shell where Haskell