Skip to content

Commit

Permalink
Try allow-newer for cardano-api and aeson
Browse files Browse the repository at this point in the history
To workaround

$ nix-shell nix/cabal-shell.nix --run "cabal v2-configure -frelease --enable-tests --enable-benchmarks"

HEAD is now at 41971b6 Merge pull request #124 from input-output-hk/dependabot/bundler/test/e2e/rake-12.3.3
'cabal.project.local' file already exists. Now overwriting it.
Warning: The package list for 'hackage.haskell.org' is 34 days old.
Run 'cabal update' to get the latest list of available packages.
Warning: Requested index-state2021-03-11T00:00:00Z is newer than
'hackage.haskell.org'! Falling back to older state (2021-03-10T23:06:54Z).
Resolving dependencies...
cabal: Could not resolve dependencies:
[__0] trying: Win32-network-0.1.0.0 (user goal)
[__1] trying: base-4.14.1.0/installed-4.14.1.0 (dependency of Win32-network)
[__2] trying: cardano-addresses-3.3.0 (user goal)
[__3] rejecting: cardano-addresses:!test (constraint from config file, command
line flag, or user target requires opposite flag selection)
[__3] trying: cardano-addresses:*test
[__4] next goal: aeson (dependency of cardano-addresses)
[__4] rejecting: aeson-1.5.6.0, aeson-1.5.5.1, aeson-1.5.5.0, aeson-1.5.4.1,
aeson-1.5.4.0, aeson-1.5.3.0, aeson-1.5.2.0, aeson-1.5.1.0, aeson-1.5.0.0
(conflict: cardano-addresses *test => aeson>=1.4.6.0 && <1.5.0.0)
[__4] trying: aeson-1.4.7.1
[__5] next goal: cardano-api (user goal)
[__5] rejecting: cardano-api-1.26.2 (conflict: aeson==1.4.7.1, cardano-api =>
aeson>=1.5.6.0)
[__5] fail (backjumping, conflict set: aeson, cardano-api)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: aeson, cardano-addresses:test,
cardano-addresses, cardano-api, base, Win32-network
Try running with --minimize-conflict-set to improve the error message.
  • Loading branch information
Anviking authored and rvl committed Apr 20, 2021
1 parent d887719 commit 3225387
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@ allow-newer:
hjsonschema:*
, hjsonpointer:*
, cardano-sl-x509:ip
, cardano-api
, aeson

constraints:
hedgehog >= 1.0.2
Expand Down

0 comments on commit 3225387

Please sign in to comment.