macaroni.nix
By macaroni.dev
haskell.nix
Alternative Haskell Infrastructure for Nixpkgs (by input-output-hk)
macaroni.nix | haskell.nix | |
---|---|---|
6 | 15 | |
- | 524 | |
- | 1.1% | |
- | 9.6 | |
- | 7 days ago | |
Nix | ||
- | Apache License 2.0 |
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.
macaroni.nix
Posts with mentions or reviews of macaroni.nix.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-24.
-
3D graphics on Haskell in 2023
In addition, I am building a Nix library on top of haskell.nix called macaroni.nix that is gamedev-oriented and enables seamless cross-compiling from Linux to Windows. I would say it's the best option for Windows Haskell game x-compilation available today.
-
[ANN] LD52 game written in Haskell
We just managed to get our ludum dare game finished, including standalone builds (with a very special thanks to macaroni.dev.) The game is a platformer written in sdl and yampa, with build scripts for releasing static linux and windows builds.
-
Is Nix important also for a team of 1 developer?
Aside from that, haskell/macaroni.nix make x-compilation work great. I even was able to use the h-raylib bindings with little upstream changes/overlays.
-
Haskell is the greatest programming language of all time
In terms of finished and playable games, it's been Ludum Dare jam games made over a weekend over the years. You can check them out here. They're all Windows-only (x-compiled from NixOS using haskell.nix via macaroni.nix), but you can play them on Linux with Wine64. If you have Nix installed, I have a script that should Just Work.
-
Any up-to-date cross-compiling methods for Raspberry Pi?
Also feel free to cut me an issue in my related project, macaroni.nix. The project is focused on x-compiling Haskell games and only supported Windows currently. But brick is a viable gamedev library, and Raspberry Pi is a desired target for gamedev someday. So I'd love to help!
haskell.nix
Posts with mentions or reviews of haskell.nix.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-12-29.
-
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).
What are some alternatives?
When comparing macaroni.nix and haskell.nix you can also consider the following projects:
really-small-backpack-example - A really small example of the Backpack module system for Haskell
Cabal - Official upstream development repository for Cabal and cabal-install
cute-sound-hs
nix-doom-emacs - doom-emacs packaged for Nix
agda2hs - Compiling Agda code to readable Haskell
static-haskell-nix - easily build most Haskell programs into fully static Linux executables
cute-c2-hs
polysemy - :gemini: higher-order, no-boilerplate monads
libspng - Haskell bindings for libspng
frp-zoo - Comparing many FRP implementations by reimplementing the same toy app in each.
sdl-gpu-hs
nixpkgs - Nix Packages collection & NixOS
macaroni.nix vs really-small-backpack-example
haskell.nix vs Cabal
macaroni.nix vs cute-sound-hs
haskell.nix vs nix-doom-emacs
macaroni.nix vs agda2hs
haskell.nix vs static-haskell-nix
macaroni.nix vs cute-c2-hs
haskell.nix vs polysemy
macaroni.nix vs libspng
haskell.nix vs frp-zoo
macaroni.nix vs sdl-gpu-hs
haskell.nix vs nixpkgs