stack
The Haskell Tool Stack (by commercialhaskell)
nix-haskell-example
By erikbackman
Our great sponsors
stack | nix-haskell-example | |
---|---|---|
23 | 1 | |
3,708 | 0 | |
0.7% | - | |
7.9 | 1.0 | |
5 days ago | 4 months ago | |
Haskell | Nix | |
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.
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.
stack
Posts with mentions or reviews of stack.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-04-26.
-
Best practices for setting up CI tests for a Stack project?
stack test tries to rebuild the whole project after I run stack build, eating into local development speed. This is an open issue. The suggested workaround of building with --test --no-run-tests still incurs noticeable build time overhead because it also rebuilds all the test suites.
-
How to get xmonad .17 on nixos
If you really can't get anything to work, and don't want to give up on NixOS (I use it myself), you can try building XMonad with stack. Stack is a build tool for Haskell and it natively supports NixOS, so if you setup your XMonad Haskell project to require version 17 of xmonad, it can build it in a NixOS-friendly way. Unfortunately, this approach requires knowledge of both Nix and Haskell, so I'd only go down this route if nothing else works and you really don't want to give up.
-
What are things that the Haskell scene lacks the most?
Yes, I opened a pretty simple PR that would allow to use ghcup with stack (via hooks) or any other custom install method, but this PR was ignored: https://github.com/commercialhaskell/stack/pull/5585
- can you recommend active Haskell open source projects?
-
How can I test exe code in Stack (or Cabal) project?
With cabal, this works pretty well. stack doesn't properly understand internal build-tool-depends, so you have to ensure that the executable is up to date when running the testsuite:
-
Does stack work on M1 Macs?
So, I browsed online for solutions and I found this. Following this reply, I ran brew install --HEAD stack. This time the installation took significantly longer (~19 minutes). Again I ran stack ghci and got the exact same error.
-
cabal / haddock questions / how to generate index for all installed local packages?
The source for this command is in Stack.Build.Haddock. Stack calculates the set of dependencies and runs very long haddock commands specifying which packages to process. You can see the exact commands by running stack haddock --verbose.
-
Status of GHC on Apple M1 hardware?
Probably this issue: https://github.com/commercialhaskell/stack/issues/5607
-
Babies and OSS maintenance
Here is link number 1 - Previous text "PRs"
If you want better integration with ghcup, start reviewing my PRs.
nix-haskell-example
Posts with mentions or reviews of nix-haskell-example.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-08-28.
-
Managing issues with the Haskell Stack projects under NixOS
Here: I threw together an example (without flakes): https://github.com/erikbackman/nix-haskell-example
What are some alternatives?
When comparing stack and nix-haskell-example you can also consider the following projects:
ghcup-hs - THIS REPO IS A MIRROR, BUG REPORTS GO HERE:
Cabal - Official upstream development repository for Cabal and cabal-install
ghcid - Very low feature GHCi based IDE
castle - A tool to manage shared cabal-install sandboxes.
haskell-language-server - Official haskell ide support via language server (LSP). Successor of ghcide & haskell-ide-engine.
implicit-hie - Auto generate a stack or cabal multi component hie.yaml file
stack-yaml - parse stack.yaml files
bumper - Haskell tool to automatically bump package versions transitively.
hdocs - Haskell docs tool
stack-run - Like cabal run for stack
bisect-binary - Tool to determine relevant parts of binary data
profiterole - GHC prof manipulation script