Does anyone know what needs to be added to cabal.project.local to get cardano-addresses-cli to build when building cardano-node?
I have tried adding the following to my cabal.project.local file:
source-repository-package
type: git
location: https://github.com/intersectmbo/cardano-addresses
tag: 3.12.0
subdir:
command-line
core
Then I also tried adding:
allow-newer:
*:aeson
But these result in Cabal dependency errors like:
Error: cabal: Could not resolve dependencies:
[__0] trying: Cabal-3.12.0.0 (user goal)
[__1] trying: unix-2.8.4.0/installed-7d04 (dependency of Cabal)
[__2] trying: transformers-0.6.1.0/installed-c5fa (dependency of Cabal)
[__3] trying: time-1.12.2/installed-9d67 (dependency of Cabal)
[__4] trying: pretty-1.1.3.6/installed-6dc8 (dependency of Cabal)
[__5] trying: mtl-2.3.1/installed-621b (dependency of Cabal)
[__6] trying: base-4.19.1.0/installed-eafb (dependency of Cabal)
[__7] next goal: cardano-addresses-cli (user goal)
[__7] rejecting: cardano-addresses-cli-3.12.0 (conflict:
mtl==2.3.1/installed-621b, cardano-addresses-cli => mtl>=2.2.2 && <2.3)
[__7] fail (backjumping, conflict set: cardano-addresses-cli, mtl)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: aeson, template-haskell,
semigroupoids, base, semialign, semialign:semigroupoids, time, th-abstraction,
transformers, cardano-addresses-cli, Cabal, mtl, unix, integer-gmp, pretty,
Cabal:setup.base
Try running with --minimize-conflict-set to improve the error message.
Note:
- I can build cardano-node, cardano-cli, cardano-submit-api, and bech32 without problem. What I am trying to do is also build cardano-addresses-cli alongside these. There doesn’t seem to be anywhere that explains how to do this. IE: What needs to be added to your cabal.project.local file.
- The readme on cardano-addresses repository is useless because its only build instruction is: `$ docker build -t cardano-address .’
- I don’t want to use docker. I actually want to build the cardano-addresses-cli binary so that I can install it wherever I want, without docker.