haskell.nix
nixkell
haskell.nix | nixkell | |
---|---|---|
15 | 5 | |
559 | 97 | |
0.7% | - | |
9.6 | 6.6 | |
3 days ago | 22 days ago | |
Nix | Nix | |
Apache License 2.0 | MIT 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.
haskell.nix
-
Why does Nix have Haskell packages that are incompatible with GHC for a given version?
I'm not a great haskeller but I found haskell.nix better for Haskell projects, like the commenter on Discourse suggested. I've had a few issued regarding package versions with nixpkgs that haskell.nix solved.
-
Simple GHC stack for a novice
FWIW, there's also libraries like haskell.nix that solve the caching problem.
-
Any up-to-date cross-compiling methods for Raspberry Pi?
I would try haskell.nix.
-
Take the Nix Pill
If you want to hurt your brain, check out haskell.nix. That's some good stuff right there ^^
-
Trying to build a statically linked binary against glibc (Linux)
The haskell.nix framework is good for this.
-
GHC 9.4.1 Windows changes
One cool thing is that this will enable GHC builds using ucrt instead of vscrt in the future. Concretely, together with NixOS/nixpkgs#171418 and its follow-up NixOS/nixpkgs#173498), this will e.g. allow haskell.nix to upgrade to a newer wine pin for TH cross compilation: https://github.com/input-output-hk/haskell.nix/blob/dd13e822529ae5342494969bce8a457522a60100/overlays/wine.nix
-
How to make stack work like it's supposed to
I've been using IOHK's alternative infrastructure for this reason. It has its quirks but I've been happier with it. Before that I think I was using developPackage from the nixpkgs haskell tooling which had some introspection ability. You may consider trying that out. But as I remember this will not abide by your version bounds.
-
Announcing `safe-coloured-text`
There's a lot to like here. Alas, despite minimal dependencies, terminfo is somehow uniquely problematic in haskell.nix.
- A question about the current state of Haskell running natively on Apple silicon:
-
Memory from finished thread is not getting reclaimed
If you are somewhat comfortable with nix: https://github.com/input-output-hk/haskell.nix supports GHCJS 8.10.x (in particular 8.10.7).
nixkell
-
NixOS + Haskell best practices circa March 2023
A while ago I've put together a little skeleton that i use when creating new haskell projects: https://github.com/pwm/nixkell
-
Most braindead easy end to end haskell workflow?
Quite the opposite of caveman. You are used to 21st century tooling that not long ago Haskell simply did not have. I can relate. Luckily nowadays we have HLS thanks to all the amazing people involved. With HLS the IDE/editor matters less as long as they can use it. You probably would be most at home with VSCode. Re setup here’s a shameless nix-based plug: https://github.com/pwm/nixkell (Watch the gif in the readme)
-
first glances: frustrated with introductory material
Shameless plug for quickly setting up a project: https://github.com/pwm/nixkell
-
Can't get things to work. It is normal to learn haskell with plain vim?
I've actually just started a small side-project trying to replicate the UX of stack with nix: https://github.com/pwm/nixkell
- Nixkell - Get your Haskell projects up and running with no fuss using Nix
What are some alternatives?
Cabal - Official upstream development repository for Cabal and cabal-install
reflex-platform - A curated package set and set of tools that let you build Haskell packages so they can run on a variety of platforms. reflex-platform is built on top of the nix package manager.
nix-doom-emacs - doom-emacs packaged for Nix
ghcid - Very low feature GHCi based IDE
static-haskell-nix - easily build most Haskell programs into fully static Linux executables
tilapia - Improving all Haskell's programmer interfaces
polysemy - :gemini: higher-order, no-boilerplate monads
std - A DevOps framework for the SDLC with the power of Nix and Flakes. Good for keeping deadlines!
frp-zoo - Comparing many FRP implementations by reimplementing the same toy app in each.
GHCiCode - Interactive Haskell Lib Tutorials /w CodeLens
nixpkgs - Nix Packages collection & NixOS
stack - The Haskell Tool Stack