Comments (2)
Add a --constraint='cabal-plan +exe'
to your v2-install
line. It will tell what's wrong.
Probably some constraint making that automatic flag go off, by forcing it that way it will stay on. So either things just works (solver picks different versions), or then it tells what's wrong.
The local project affects cabal v2-install
. You could also use cabal install --ignore-project
, IIRC that is in cabal-install-3.2
.
from cabal-plan.
Great, it works with the constraint, thank you! Indeed, a cabal.project.local was constructed before the invocation, so possibly the culprit. Closing.
from cabal-plan.
Related Issues (20)
- [Feature Request] Add why-depends command HOT 3
- parse failure on local+noindex repositories HOT 1
- Support for ghc-8.10.1 HOT 2
- cabal-plan-0.6.2.0 : please revise bounds to allow these-1.1 HOT 2
- Support an ascii mode for output
- Please add support for base16-bytestring version 1.x
- Bad error message `No hackage.haskell.org repository` for legacy `remote-repo` entry in the cabal configuration HOT 3
- GHC 9 support? HOT 5
- Support aeson >=2 HOT 1
- Garbled output of `Top-sorted` list of all dependencies (macOS) HOT 2
- cannot compile with `-haddock` with ghc-8.10 HOT 1
- `cabal-plan dot` for internal dependencies only HOT 2
- Allow GHC 9.4? HOT 2
- License report not working (broken macro condition) HOT 1
- Feature request: emit license-report as JSON HOT 1
- Support base 4.18 (ships with GHC 9.6) HOT 2
- Support XDG cabal config location HOT 3
- "WARNING: couldn't find metadata for <pkg>" when using "license-report" command
- Please support base 4.19 (ships with GHC 9.8) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cabal-plan.