Skip to content
This repository has been archived by the owner on Aug 18, 2020. It is now read-only.

[CBR-97] allow building 'post-mortem' tool from nix #3640

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 35 additions & 9 deletions pkgs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17255,6 +17255,7 @@ license = stdenv.lib.licenses.mit;
, ansi-terminal
, ansi-wl-pprint
, async
, attoparsec
, base
, base58-bytestring
, bytestring
Expand All @@ -17276,26 +17277,38 @@ license = stdenv.lib.licenses.mit;
, cardano-sl-util-test
, cardano-sl-wallet
, cardano-sl-x509
, cassava
, Chart
, Chart-diagrams
, containers
, cpphs
, cryptonite
, data-default
, directory
, fgl
, filepath
, foldl
, formatting
, Glob
, graphviz
, hedgehog
, hspec
, lens
, lifted-async
, MonadRandom
, mtl
, neat-interpolation
, network-transport-tcp
, optparse-applicative
, optparse-generic
, parsers
, pipes
, pipes-bytestring
, pipes-interleave
, pipes-safe
, process
, QuickCheck
, random
, safe-exceptions
, serokell-util
, silently
Expand Down Expand Up @@ -17369,6 +17382,7 @@ aeson
aeson-options
ansi-wl-pprint
async
attoparsec
base
base58-bytestring
bytestring
Expand All @@ -17388,21 +17402,33 @@ cardano-sl-networking
cardano-sl-util
cardano-sl-wallet
cardano-sl-x509
cassava
Chart
Chart-diagrams
containers
cryptonite
data-default
directory
fgl
filepath
foldl
formatting
Glob
graphviz
lens
lifted-async
MonadRandom
mtl
neat-interpolation
network-transport-tcp
optparse-applicative
optparse-generic
pipes
pipes-bytestring
pipes-interleave
pipes-safe
process
random
safe-exceptions
serokell-util
silently
Expand Down Expand Up @@ -31840,6 +31866,7 @@ license = stdenv.lib.licenses.mit;
mkDerivation
, async
, base
, bytestring
, containers
, directory
, filepath
Expand All @@ -31852,13 +31879,12 @@ license = stdenv.lib.licenses.mit;
mkDerivation {

pname = "fsnotify";
version = "0.2.1.1";
sha256 = "175a75962ad07c30c031fa8931f8d3e32abc06a96676e73e65cb7207e9d2dc90";
revision = "1";
editedCabalFile = "0kag32lqkjmv03bycf6ip2vd6vzpcpq4iqs6ivyjh93v40252xxp";
version = "0.2.1.2";
sha256 = "d7cb2fcbb60b1acdb217ecd560ccab98438560cf51310bd7d239ecf2f4f4048d";
libraryHaskellDepends = [
async
base
bytestring
containers
directory
filepath
Expand Down Expand Up @@ -39166,23 +39192,23 @@ license = stdenv.lib.licenses.bsd3;
mkDerivation
, async
, base
, bytestring
, containers
, directory
, stdenv
, unix
}:
mkDerivation {

pname = "hinotify";
version = "0.3.9";
sha256 = "f2480e4c08a516831c2221eebc6a9d3242e892932d9315c34cbe92a101c5df99";
version = "0.3.10";
sha256 = "af2b7d5733ab52ca38f0d9aed1ec37304f1d6964caa0fb556b8215858c1d5d9d";
revision = "1";
editedCabalFile = "0df5pak0586626k3ryzg2lb26ys562l3i94jr9vpa0krs8iia209";
editedCabalFile = "07z0n5rvki3w0kjr190bwv7sq8p3myspv8999ilz9rlsqf5a0324";
libraryHaskellDepends = [
async
base
bytestring
containers
directory
unix
];
doHaddock = false;
Expand Down
3 changes: 3 additions & 0 deletions stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,9 @@ extra-deps:
- servant-swagger-ui-0.3.0.3.13.2
- servant-swagger-ui-redoc-0.3.0.1.21.2

- fsnotify-0.2.1.2
- hinotify-0.3.10

# This is for CI to pass --fast to all dependencies
apply-ghc-options: everything

Expand Down
8 changes: 1 addition & 7 deletions tools/cardano-sl-tools.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,6 @@ Flag for-installer
description: Build a reduced set of components (only what is needed for the
installer)

Flag postmortem
default: False
manual: True
description: Build the post-mortem analysis tool (ignored if for-installer is
true)

executable dbgen
hs-source-dirs: src/dbgen
main-is: Main.hs
Expand Down Expand Up @@ -347,7 +341,7 @@ executable cardano-post-mortem
, Util.Aeson
, Util.Pipes
, Util.Safe
if flag(postmortem) && !flag(for-installer)
if !flag(for-installer)
buildable: True
build-depends: Chart
, Chart-diagrams
Expand Down