!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

716 Members
For discussions and questions about Haskell with Nix, cabal2nix and haskellPackages in nixpkgs | Current Docs: https://haskell4nix.readthedocs.io/143 Servers

Load older messages


SenderMessageTime
18 Mar 2026
@alex:tunstall.xyzAlex I believe this is due to how ghc is threaded through haskellPackages. So that mkDerivation can find it, it is bound to ghc, but this only works well for native.
It also has weird consequences when you try using other compilers, where you can e.g. end up with haskellPackages.ghc being MicroHs.
06:08:19
@woobilicious:matrix.orgwoobiliciousAhh thanks for the feedback, I don't think manual intervention is practical here, the more I think about it, the more it might be easier to just build dirivation per package, with no "real" dependencies, and then de-duplicate strings some way to prevent infinite loops.07:45:37
@co0o0okies:matrix.orgcookies joined the room.11:01:33
@me:linj.techlinjJust found a new nix interpreter implemented from scratch in Haskell https://github.com/Novavero-AI/nova-nix. Any comments?11:05:00
@b:chreekat.netchreekatBig if true11:20:30
@alexfmpe:matrix.orgalexfmpeAuthor has been announcing it in couple rooms11:29:16
@alexfmpe:matrix.orgalexfmpeSeems like AI slop11:29:25
@alexfmpe:matrix.orgalexfmpe> Hand-rolled recursive descent parser for the full Nix expression language. 13 precedence levels, 18 AST constructors,11:29:30
@alexfmpe:matrix.orgalexfmpe"Now with 30% more precedence levels. Buy 3, take 4"11:30:37
@alexfmpe:matrix.orgalexfmpe* "Now with 30% more precedence levels. Buy 3, get 4"11:31:20
@magic_rb:matrix.redalder.orgmagic_rbIt is AI slop11:32:48
@magic_rb:matrix.redalder.orgmagic_rbIts fully slop-coded, top to bottom11:33:02
@woobilicious:matrix.orgwoobiliciousNothing screams "Haskell" coding like using a probalitistic LLM...11:33:04
@magic_rb:matrix.redalder.orgmagic_rbIndeed, i have interest in reviewing or using slop-coded code in my free time. The code produced is always subtly wrong and weirdly organized, I've better things to do with my life11:34:57
@magic_rb:matrix.redalder.orgmagic_rb * 11:35:09
@morj:morj.menMorj
Nothing screams "Haskell" coding like using a probalitistic LLM...
If it compiles it works, right
12:00:07
@morj:morj.menMorjI remember in chat they were going to use it to distribute their games for windows. If it works for that, that would be cool if horrifying12:09:11
@morj:morj.menMorj* I remember in chat they were going to use the new nix impl to distribute their games for windows. If it works for that, that would be cool if horrifying12:09:20
@mangoiv.:matrix.orgMangoIV

sternimaralorn I would like to invite you to a discussion on coordination of downstream release testing https://gitlab.haskell.org/ghc/ghc/-/issues/27061

I hear that you already had this discussion last ZuriHac with teo (they/he) since the main effort for downstream testing is currently head.hackage but I think we could all benefit for a more coordinated effort across distributors and the GHC maintainers.

Thanks in advance.

12:48:25
@magic_rb:matrix.redalder.orgmagic_rbLets give vibe-coded "programs" root access, what can go wrong12:52:04
@eveeifyeve:matrix.orgeveeifyeveEverything can go wrong.13:18:29
@magic_rb:matrix.redalder.orgmagic_rbmhm and yet a bsc student shouldnt be given push access to the mainline linux tree13:28:51
@sternenseemann:systemli.orgsterni
In reply to @woobilicious:matrix.org
I have a questions about the general architecture of haskellPackages, does hackage have dep cycles? and how do you deal with them when generating the package list? I'm working on a little project that generates a package list from a foreign source, but it has cycles, and I'm kinda clueless on how to break cycles up without just removing all dependencies
It has cycles but only via test dependencies. We work around this by strategically disabling tests to break such cycles
15:52:02
@nudelerde:nudelerde.deNudelErde 🏳️‍⚧️ [she/her] joined the room.19:39:06
19 Mar 2026
@alexfmpe:matrix.orgalexfmpe somehow cabal test regression-tests in my x86_64-linux is twice as fast than in my aarch64-darwin even though the later is noticeable faster for everything else 01:28:25
@alexfmpe:matrix.orgalexfmpe * somehow cabal test regression-tests in my x86_64-linux is almost twice as fast than in my aarch64-darwin even though the later is noticeable faster for everything else 01:28:41
@alexfmpe:matrix.orgalexfmpe * somehow cabal2nix's suite cabal test regression-tests in my x86_64-linux is almost twice as fast than in my aarch64-darwin even though the later is noticeable faster for everything else 01:29:49
20 May 2021
@grahamc:nixos.org@grahamc:nixos.org set the history visibility to "world_readable".22:10:58
@grahamc:nixos.org@grahamc:nixos.org changed the room name to "" from "".22:10:58
@grahamc:nixos.org@grahamc:nixos.org invited @maralorn:maralorn.demaralorn.22:11:05

Show newer messages


Back to Room ListRoom Version: 6