Skip to content

Commit

Permalink
Cleanup cabal.project a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
paluh committed Aug 10, 2022
1 parent 3bee9cd commit 29c5fd7
Showing 1 changed file with 33 additions and 108 deletions.
141 changes: 33 additions & 108 deletions cabal.project
Expand Up @@ -18,145 +18,87 @@ packages:
libs/plutus-ledger-ada
libs/plutus-ledger-slot

-- Disable all tests
-- Disable all tests (enable some of them per package)

tests: True

test-show-details: direct

-- Then enable specific tests in this repo

package marlowe-chain-sync
ghc-options: -Werror

package marlowe-protocols
ghc-options: -Werror
-- Let's keep alphabetical order of packages below.

package cardano-api
tests: True
ghc-options: -Werror

package cardano-cli
tests: True
ghc-options: -Werror

package cardano-git-rev
ghc-options: -Werror

package cardano-testnet
ghc-options: -Werror

package tx-generator
ghc-options: -Werror

package trace-dispatcher
ghc-options: -Werror

package trace-resources
ghc-options: -Werror

package cardano-tracer
ghc-options: -Werror

package cryptonite
-- Using RDRAND instead of /dev/urandom as an entropy source for key
-- generation is dubious. Set the flag so we use /dev/urandom by default.
flags: -support_rdrand

package cardano-base
tests: False

package cardano-crypto-class
tests: False

package cardano-api
tests: True

package cardano-cli
tests: True

package cardano-node
tests: True
-- Build still requires libsystemd even if this is uncommented:
-- flags: -systemd
ghc-options: -Werror

package cardano-node-chairman
package cardano-tracer
tests: True

package cardano-node-chairman
ghc-options: -Werror
tests: True

package cardano-submit-api
tests: True

package cardano-testnet
tests: True

package trace-resources
tests: True

package trace-dispatcher
tests: True

package trace-forward
ghc-options: -Werror
tests: True

package cardano-tracer
tests: True
ghc-options: -Werror

package trace-resources
tests: True
package comonad
flags: -test-doctests

package cryptonite
-- Using RDRAND instead of /dev/urandom as an entropy source for key
-- generation is dubious. Set the flag so we use /dev/urandom by default.
flags: -support_rdrand

package locli
tests: True

-- The following is needed because Nix is doing something crazy.
package byron-spec-ledger
tests: False

package vector-map
package marlowe-chain-sync
ghc-options: -Werror

package iohk-monitoring
tests: False

package ouroboros-consensus-test
tests: False

package ouroboros-consensus-cardano-test
tests: False
package marlowe-protocols
ghc-options: -Werror

package ouroboros-network
tests: False
package marlowe
tests: True

-- You have to copy ghc-options manually to `nix/pkgs/haskell/haskell.nix`
package plutus-core
tests: False
ghc-options: -Wno-unused-packages -Wno-name-shadowing

package ouroboros-network-framework
tests: False

package plutus-tx
tests: False

package prettyprinter-configurable
tests: False

package small-steps
tests: False
package trace-dispatcher
ghc-options: -Werror

package small-steps-test
tests: False
package trace-resources
ghc-options: -Werror

package tx-generator
tests: True
ghc-options: -Werror

package goblins
tests: False
package vector-map
ghc-options: -Werror

package io-classes
tests: False
package snap-server
flags: +openssl

package cardano-ledger-alonzo-test
tests: False

-- marlowe-cardano specific dependencies:

Expand Down Expand Up @@ -230,19 +172,11 @@ source-repository-package
tag: f73079303f663e028288f9f4a9e08bcca39a923e
--sha256: 1n87i15x54s0cjkh3nsxs4r1x016cdw1fypwmr68936n3xxsjn6q

-- FIXME: paluh
-- Why I changed this dep? Should I bring back the original one
-- (from cardano-node deps)?
-- - tag: ebcf1a8936dd84de0182d54004473f4ce66c7923
-- - --sha256: 1nx07kcjhj39alarr0bxw9viw3m6flfr8d14g2a3crymf6hxwg36
-- + tag: 3be8a19083fc13d9261b1640e27dd389b51bb08e
-- + --sha256: 0dvm9l43mp1i34bcywmznd0660hhcfxwgawypk9q1hjkml1i41z3

source-repository-package
type: git
location: https://github.com/input-output-hk/cardano-ledger
tag: 3be8a19083fc13d9261b1640e27dd389b51bb08e
--sha256: 0dvm9l43mp1i34bcywmznd0660hhcfxwgawypk9q1hjkml1i41z3
tag: ebcf1a8936dd84de0182d54004473f4ce66c7923
--sha256: 1nx07kcjhj39alarr0bxw9viw3m6flfr8d14g2a3crymf6hxwg36
subdir:
subdir:
eras/alonzo/impl
Expand Down Expand Up @@ -386,15 +320,6 @@ constraints:
, network >= 3.1.1.0
, HSOpenSSL >= 0.11.7.2

package snap-server
flags: +openssl

package comonad
flags: -test-doctests

package cardano-ledger-alonzo-test
tests: False

allow-newer:
*:aeson,
monoidal-containers:aeson,
Expand Down

0 comments on commit 29c5fd7

Please sign in to comment.