lets say I want to add a package, umm lets say text
, so now if I want to add it, I have to manually make entries in the .cabal
file.
Is there a way we can do that via the simple interface cabal add <package-name>
?
it can maybe prompt us to add it in which components, if all, or if some of them?
3 Likes
First, outside of project directory, run
cabal install cabal-add
Then you can
cabal-add text
or (for sufficiently new Cabal) just
cabal add text
8 Likes
Why isn’t this built into cabal? Or it will come sometime ?
2 Likes