haskell-template
nixos-unified-template
haskell-template | nixos-unified-template | |
---|---|---|
9 | 3 | |
265 | 311 | |
2.3% | 4.5% | |
7.3 | 8.8 | |
11 days ago | 2 days ago | |
Nix | Nix | |
MIT License | GNU Affero General Public License v3.0 |
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-template
-
Hk, a new Git hook manager from jdx
- Check in CI (as Nix flake check)
Example repo: https://github.com/srid/haskell-template
The pre-commit configuration: https://github.com/srid/haskell-template/blob/master/nix/mod...
-
Automate Project Environments with Devbox and Direnv
https://nixos.asia/en/direnv
But if you are comfortable with Nix you don't need Devbox per se, as you can get by with using Flakes. Here are some examples -- just `git clone` and run `direnv allow` (once), then you are put in the corresponding devShell
Haskell: https://github.com/srid/haskell-template
Rust: https://github.com/srid/rust-nix-template
home-manager: https://github.com/juspay/nix-dev-home
Dioxus: https://github.com/srid/dioxus-desktop-template
-
On the verge of giving up learning Haskell because of the terrible tooling.
I am a Haskell newbie myself. Found nix flakes and https://github.com/srid/haskell-template really nice to start with (of course some learning curve is unavoidable).
-
Simple GHC stack for a novice
If you wanna get started with Haskell on Nix, check out Sridhar Ratnakumar's Haskell template for Nix. You can easily clone the repo and move your Haskell code into it, especially if you're still a novice (as you likely won't be dealing with a HUGE codebase).
-
haskell-flake: A `flake-parts` Nix module for Haskell development.
I'd say that's up to you. haskell-template did recently switch to this; you can see the changes in this PR, which is all limited to flake.nix.
-
Best practices for Haskell on M1 with Nix?
Could you open an issue here with the full error message?
-
Looking for IDE that is suitable for learning Haskell
I think you should use ghcup because Nix has a higher learning curve ... BUT if you ever want to try out Nix, there is https://github.com/srid/haskell-template which sets everything up for you so that things "just work" in VSCode.
nixos-unified-template
-
Automate Project Environments with Devbox and Direnv
https://nixos.asia/en/direnv
But if you are comfortable with Nix you don't need Devbox per se, as you can get by with using Flakes. Here are some examples -- just `git clone` and run `direnv allow` (once), then you are put in the corresponding devShell
Haskell: https://github.com/srid/haskell-template
Rust: https://github.com/srid/rust-nix-template
home-manager: https://github.com/juspay/nix-dev-home
Dioxus: https://github.com/srid/dioxus-desktop-template
-
Brew-Nix: a flake automatically packaging all homebrew casks
You don't even need nix-darwin per se. You can get by just with home-manager and do a lot with it.
Here's a template config to get started:
https://github.com/juspay/nix-dev-home
(That said, nix-darwin is still useful for doing system level things, like enabling Touch ID for `sudo`).
-
Nix Home Manager Option Search
On a related note, if anybody would like to get started with home-manager, we have a flake template for it:
https://github.com/juspay/nix-dev-home
What are some alternatives?
nix-templates - Minimal reproducible nix flake templates
dotnix - ❄️ macOS home-manager nix config
rust-nix-template - Rust project template with Nix (Flakes) and VSCode support
container-shell - Starts and attaches a sandboxed shell using docker with access to the current or project directory
snack - Nix-based incremental build tool for Haskell projects
mac-app-util - Fix .app programs installed by Nix on Mac