Code Monkey home page Code Monkey logo

cabal-constraints's People

Contributors

benarmston avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

cabal-constraints's Issues

cabal-constraints: Prelude.read: no parse

Hi Ben,

I just tried cabal-constraints on a project installed in a cabal sandbox getting the error:
cabal-constraints: Prelude.read: no parse

dan@machine ~> ghc --version
The Glorious Glasgow Haskell Compilation System, version 7.6.2

dan@machine ~> cabal --version
cabal-install version 1.18.0.2
using version 1.18.1 of the Cabal library

Any ideas?

Greetings,
Daniel

Prevent the confusion regarding Cabal version mismatch

cabal-constraints must be built against the same version of Cabal as is being used to build the project it is being run against. However, it accepts both Cabal 1.16.* and 1.18.*. If it is built prior to the user installing Cabal 1.18 very odd error messages will be presented to the user. See issue #1 for an example of this.

Perhaps the solution is to require Cabal 1.18. This may not be such a bad idea as cabal-constraints is most useful when used with cabal sandboxes, and support for cabal.config both of which require cabal-install 1.18 and Cabal 1.18.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.