Skip to content

[nix-local-build] unbounded-delays Setup on GHC 8.0rc2 causing problems for nix-local-build #3248

Closed
@ezyang

Description

@ezyang

When I attempt to new-build the nix-local-branch with GHC 8.0rc2 I get the following error:

ezyang@sabre:~/Dev/cabal-nix-local-build$ cabal new-build  -w ghc-8.0 --enable-tests
Resolving dependencies...
cabal: Could not resolve dependencies:
trying: Cabal-test.tasty-quickcheck~>cabal-install-test.tasty-quickcheck-0.8.4
(dependency of cabal-install-test.Cabal-1.24.0.0:*test)
trying: Cabal-test.tasty-quickcheck-0.8.4:!test
trying: Cabal-test.tasty-hunit~>cabal-install-test.tasty-hunit-0.9.2
(dependency of cabal-install-test.Cabal-1.24.0.0:*test)
trying: Cabal-test.tasty~>cabal-install-test.tasty-0.11.0.2 (dependency of
cabal-install-test.Cabal-1.24.0.0:*test)
trying:
Cabal-test.unbounded-delays~>cabal-install-test.unbounded-delays-0.1.0.9
(dependency of Cabal-test.tasty-0.11.0.2)
trying: Cabal-test.tasty-quickcheck-0.8.4:-old-quickcheck
trying: unbounded-delays-setup.Cabal~>cabal-install-test.Cabal-1.24.0.0
(dependency of cabal-install-test.unbounded-delays-0.1.0.9)
rejecting: unbounded-delays-setup.Cabal-1.24.0.0:!test (constraint from config
file, command line flag, or user target requires opposite flag selection)
trying: unbounded-delays-setup.Cabal-1.24.0.0:*test
trying: unbounded-delays-setup.Cabal-1.24.0.0:-bundled-binary-generic
Backjump limit reached (currently 2000, change with --max-backjumps or try to
run with --reorder-goals).

This doesn't happen if I use GHC 7.10. I don't really know how to read this error message, which is another problem in and of itself.

I can "solve" the problem by vendoring unbounded-delays to have a non-Custom setup script.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions