I am trying to build a cabal project that has plutus as a dependency, however I keep getting the error:
[171 of 189] Compiling PlutusIR.Transform.DeadCode ( plutus-ir/src/PlutusIR/Transform/DeadCode.hs, dist/build/PlutusIR/Transform/DeadCode.o, dist/build/PlutusIR/Transform/DeadCode.dyn_o )
plutus-ir/src/PlutusIR/Transform/DeadCode.hs:51:45: error:
• Couldn't match expected type ‘T.ToVertex Deps.Node’
with actual type ‘G.Graph Deps.Node’
• In the second argument of ‘T.reachable’, namely ‘depGraph’
In the second argument of ‘($)’, namely
‘T.reachable Deps.Root depGraph’
In the expression: Set.fromList $ T.reachable Deps.Root depGraph
|
51 | in Set.fromList $ T.reachable Deps.Root depGraph
|
^^^^^^^^
I am trying to build a cabal project that has plutus as a dependency, however I keep getting the error:
Here is my cabal.project file: