Cabal
cabal-extras
Our great sponsors
Cabal | cabal-extras | |
---|---|---|
84 | 13 | |
1,563 | 78 | |
0.7% | - | |
9.8 | 4.4 | |
6 days ago | 4 days ago | |
Haskell | Haskell | |
BSD 3-clause "New" or "Revised" License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Cabal
-
Would anyone be interested in hoot: A cabal wrapper for haskell based on Cargo?
Also, there's already a cabal RFC to support toml: https://github.com/haskell/cabal/issues/7548
-
On the verge of giving up learning Haskell because of the terrible tooling.
Cabal has a lot of dark corners once you stray from the happy path. Just checked and I'm currently subscribed to 37 threads on the issue tracker, and I'm not a maintainer. A lot of these are related to lesser-used features like cabal scripts, environment files and doctests (though I think all of these things would used more if they were more reliable), but there's also plenty of stupid stuff like: - https://github.com/haskell/cabal/issues/3313 - https://github.com/haskell/cabal/issues/8527 - https://github.com/haskell/cabal/issues/8391 - https://github.com/haskell/cabal/issues/7789 - https://github.com/haskell/cabal/issues/6888 - https://github.com/haskell/cabal/issues/6999 - https://github.com/haskell/cabal/issues/5271
-
Problems installing hindent witch haskell tool stack on windows 10
Given that Mike Pilgrim (the Stack maintainer) is on Windows, and Cabal has issues on Windows, I think it might be easier to get Windows specific fixes merged in Stack.
-
Help figuring out output from Cabal resolver
The error message is not too helpful. This is the target of a long-standing ticket: https://github.com/haskell/cabal/issues/7993 Your help would be very welcome.
-
There is No “Tooling Issue” in Haskell
By the way, there are some open issues for the command to add a package in Cabal.
-
Why GHCi is my new calculator
That's interesting. Could you could open a an issue about this? https://github.com/haskell/cabal/issues
- Any open source projects to contribute to for beginners
-
The best way to add a flag to copy documentation to given location?
I created this issue a few months ago: https://github.com/haskell/cabal/issues/8270
-
Trying to figure out cabal dependency management
Reported this as a bug in cabal.
-
JavaScript backend merged into GHC | IOG Engineering
We definitely plan to have benchmarks once we start working on performance. We haven't started yet because there were more urgent tasks. For example: ensuring that the testsuite runs on CI with the JS backend (should be completed this week or the next), ensuring that the toolchain works properly (we're writing a tutorial and we've found new bugs, e.g. yesterday I've fixed the support for js-sources in Cabal https://github.com/haskell/cabal/pull/8636), adding TH support...
cabal-extras
-
Management of obsolete/orphaned/abandoned packages?
There's also cabal-store-gc from cabal-extras by /u/phadej. But it is still highly experimental.
-
Learning Tidal Fundamentals - nice ground-up intro to TidalCycles by Mark Zadel
I've not completely got my head around it, but I think it's more about bugs and missing features. Tidal users don't work in 'projects' or 'packages', they just want to install a library and then use it in the interpreter. There's a fundamental difference between programming to make something and programming as the end in itself, and cabal doesn't seem to consider the latter use case. It seems the cabal-env prototype does support this (sitting here: https://github.com/phadej/cabal-extras) but it hasn't been merged into cabal itself yet. In the meantime v1-install works pretty well, or at least a lot better than v2-install, which just seems buggy to me, but I'm told I'm just trying to use it the wrong way.
-
[Request for review] Short article on Cabal and Stack and difference between them
Cabal also has some support for offline builds, the cabal-extras project has a bundle command to curl the dependencies into a bundle. https://github.com/phadej/cabal-extras The build artefact aren't necessarily portable across machines.
-
Why did haskell not "succeed"?
For cabal, there is https://github.com/phadej/cabal-extras/tree/master/cabal-store-gc
-
Trouble with cabal.
If you want to use cabal (which has various advantages over stack, although as it has access to whole hackage some times requires a bit more thinking) i'd suggest to install cabal-env. Its an experimental tool, written by previous maintainer of cabal. You can simply run cabal install cabal-env to get it. Its part of https://github.com/phadej/cabal-extras. It is what cabal install --lib is supposed to be (and likely will become at some point).
-
Quick Haskell exploration setup on Linux
cabal-env from /u/phadej's cabal-extras is working pretty well for me
-
GHC grows self-distinctively.
There's cabal-store-gc from cabal-extras which does gc on cabal's store.
-
There is no cabal hell.
Cabal 3.x and nix-style builds is a partial improvement, however it still suffers its legacy, with some of the most fundamental issues unsolved or even not addressed. For example maintenance of installed packages in long runs, stale or broken packages from previous failed builds impede the workings etc. Suggested fix is usually to wipe-out whole storage and rebuild everything from scratch again sic. Even when you are lucky, like avoiding update of ghc at all costs, with new base breaking almost everything, you'll soon end up with tenths or hundreds of gigabytes wasted disk space and significantly slower operations, with half of whole Hackage packages in its their countless iterations. I would already gave up completely, unless I've run across phadej's cabal-extras, which with some minor fixes save my sanity.
-
Need help with installing modules
You can install libraries separately with cabal install --lib ..., but the default way is kind of broken. There is an experimental cabal-env tool which works much better, but it is experimental so it is hard to recommend to a beginner.
-
Why is Stack rebuilding everything?
If you are willing to use cabal then the cabal-extra library has some support for offline builds via cabal-bundle https://github.com/phadej/cabal-extras
What are some alternatives?
stack - The Haskell Tool Stack
heist - An xhtml-based templating engine, allowing Haskell functions to be bound to XML tags.
haskell.nix - Alternative Haskell Infrastructure for Nixpkgs
cache-s3
static-haskell-nix - easily build most Haskell programs into fully static Linux executables
haskell-handbook - Best practices on how to be efficient with Haskell in production
cartel
stack-clean-old - Tool for cleaning away old Haskell Stack build artifacts
hackage-repo-tool - Hackage security framework based on TUF (The Update Framework)
cabalgc - Selectively remove library packages in cabal store.
codeworld - Educational computer programming environment using Haskell
sccache - Sccache is a ccache-like tool. It is used as a compiler wrapper and avoids compilation when possible. Sccache has the capability to utilize caching in remote storage environments, including various cloud storage options, or alternatively, in local storage.