static-haskell-nix VS Cabal

Compare static-haskell-nix vs Cabal and see what are their differences.


easily build most Haskell programs into fully static Linux executables (by nh2)


Official upstream development repository for Cabal and cabal-install (by haskell)
Our great sponsors
  • SonarQube - Static code analysis for 29 languages.
  • Scout APM - Less time debugging, more time building
  • OPS - Build and Run Open Source Unikernels
static-haskell-nix Cabal
5 43
333 1,331
- 1.8%
6.3 9.5
about 1 month ago 5 days ago
Nix Haskell
- BSD 3-clause "New" or "Revised" License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.


Posts with mentions or reviews of static-haskell-nix. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-08-09.


Posts with mentions or reviews of Cabal. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-01-09.
  • Why doesn't Haskell have a package manager?
    5 projects | | 9 Jan 2022
    I don't want to dig up bones, but for example this issue about being able to uninstall packages (the original topic of this thread) has been open for 12 years with no obvious denial or refusal. To me it just seems like the developers have been busy with other things like the nix-style builds.
    5 projects | | 9 Jan 2022
    I just found some more info: this functionality is provided by the third party cabal-edit tool. This is the specific issue that tracks the integration of that functionality into cabal itself. One of the problems of the cabal-edit tool is that it sometimes messes up your cabal files. We need the exact-printing to avoid that.
    5 projects | | 9 Jan 2022
    They're working on it. A big problem was/is that there is no parser and pretty printer for .cabal files which preserves formatting. See:
  • What happened to the Haskell platform?
    3 projects | | 26 Dec 2021
    Preinstalling a set of common libraries in the GHC global package database. Unfortunately, Using the GHC global package database is now considered a bit of an anti-pattern, since again different projects often need different versions of things. Also unfortunately, the Haskell Platform never got large enough to really cover most common needs, so you needed to install more libraries anyway. Both cabal and stack are much better at setting up project-local package databases for each project. Managing the ghci experience is a place where the Haskell Platform was a bit ahead of current practice, but there's to refine this use case.
  • cabal / haddock questions / how to generate index for all installed local packages?
    2 projects | | 12 Dec 2021
  • Should I remove Haskell, Cabal and start over?
    1 project | | 28 Nov 2021
    Then I saw these:
  • How can we represent semver
    1 project | | 19 Nov 2021
    Cabal's Version type might be interesting to you.
  • [Request for review] Short article on Cabal and Stack and difference between them
    3 projects | | 3 Nov 2021
    There's a long discussion on this issue. I think a fundamental problem is highlighted here. Just below that is a solution in the form of a preprocessor for cabal files.
  • [ANN] Cabal- and cabal-install- - Announcements
    2 projects | | 10 Sep 2021
    Hopefully my most anticipated fix makes it in to the next version: source-repository-package can't handle git branches. It's supposedly a simple change, but a PR's been up for over a year and seems to be stuck in limbo. Meanwhile, I've had to add stupid workarounds for the issue twice this morning. I'd love to help but I'm totally useless with Git...
    2 projects | | 10 Sep 2021
    Yeah, it would be so nice to get it fixed. A close second for me is the missing support for submodules in source-repository-package, also with a limbo PR.

What are some alternatives?

When comparing static-haskell-nix and Cabal you can also consider the following projects:

stack - The Haskell Tool Stack

monomer - An easy to use, cross platform, GUI library for writing Haskell applications.

cab - A maintenance command of Haskell cabal packages

codeworld - Educational computer programming environment using Haskell

haskell.nix - Alternative Haskell Infrastructure for Nixpkgs

hackage-repo-tool - Hackage security framework based on TUF (The Update Framework)


stylish-haskell - Haskell code prettifier

stackage - "Stable Hackage": vetted consistent packages from Hackage

hackage-server - Hackage-Server: A Haskell Package Repository