!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

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

Load older messages


SenderMessageTime
28 Mar 2026
@maralorn:maralorn.demaralornThis would in practice help a lot. Although error messages for build errors would get worse. And some people hate nixpkgs and will never touch it because we have doJailbreak. I remember hearing one story where someone lost data in production because we ignored a bound which didn’t prevent a compile error but a runtime error …21:51:47
@sternenseemann:systemli.orgsterniof course 9.12.4 released when I was busy. I've updated the RC PR now: https://github.com/NixOS/nixpkgs/pull/50010821:53:05
29 Mar 2026
@alex:tunstall.xyzAlexYeah, preventable runtime errors are the risk of automated jailbreaking. It might be best not to so that any jailbreaking people do must be a deliberate and conscious decision.01:53:39
@shmwot:matrix.orgcatsarecute
In reply to @maralorn:maralorn.de
That being said there are certainly a lot of things that could be improved in our setup. I am just not sure if we can manage to bring in GSoC form.

Ah I see, that makes sense. I didn’t realize how much of the set was autogenerated from Hackage.

Out of curiosity then, what parts of the current Haskell packaging setup in nixpkgs do you feel are the roughest right now? I’d be interested in contributing around there.

04:09:16
@shmwot:matrix.orgcatsarecuteThanks everyone for the context and explanations, this was really helpful. I appreciate it a lot.04:11:25
@sternenseemann:systemli.orgsternialexfmpe (or anyone else): do you have a minute to look this over?10:21:41
@alexfmpe:matrix.orgalexfmpeLesseee10:22:45
@alexfmpe:matrix.orgalexfmpeLGTM, need some testing of builds?10:27:34
@sternenseemann:systemli.orgsternii tested HEAD and 9.12.4, currently building cabal2nix and haskell-language-server and gonna merge after i think10:28:07
@sternenseemann:systemli.orgsternion x86_64-linux10:28:10
@sternenseemann:systemli.orgsternifound a GHC 9.12.4 panic -.-12:03:20
@sternenseemann:systemli.orgsterni* found a GHC 9.12.4 panic -.- https://gitlab.haskell.org/ghc/ghc/-/issues/2712112:40:58
@alexfmpe:matrix.orgalexfmpeSigh12:45:44
@alexfmpe:matrix.orgalexfmpehttps://gitlab.haskell.org/ghc/ghc/-/issues/27061#note_66691212:49:06
@alexfmpe:matrix.orgalexfmpeThis really needs to hapoen12:49:31
@alexfmpe:matrix.orgalexfmpeWe even have a bunch of cross platforms with one-line level of support 12:50:17
@alexfmpe:matrix.orgalexfmpeHow do we dump all that on ghc hq as a regression test suite or whatever12:50:50
@b:chreekat.netchreekatThis is the kind of thing that needs a gsoc project12:54:30
@alexfmpe:matrix.orgalexfmpeHehehe12:58:19
@alexfmpe:matrix.orgalexfmpeSomewhat related, I wonder if the ghc.nix shell could be massively reduced by being based in the shell for our hadrian derivation or something. 13:02:15
@alexfmpe:matrix.orgalexfmpeNot sure if relevant here but when opening issues on ghc I tend to add a nixpkgs hash and the invocation just in case they can't reproduce it out of the box13:06:10
@ashinnv:matrix.orgM̸̙̜̔̇Ǎ̴͎̙͔G̸̞̈N̸͔͍̝͗͋̾Ő̷͖̼͈̽̚L̷̻͚̓̔I̷̛͔̰̟̔Å̴̩̍ ̷̦̒̇͝M̷̱̠̺̉̎A̵̼̎͗͘Ỹ̸̬̲͂̕H̷̙̖͂Ē̷͉̦̌͒M̶͈̥̽̐ (you don't get my real name) changed their display name from M̸̙̜̔̇Ǎ̴͎̙͔G̸̞̈N̸͔͍̝͗͋̾Ő̷͖̼͈̽̚L̷̻͚̓̔I̷̛͔̰̟̔Å̴̩̍ ̷̦̒̇͝M̷̱̠̺̉̎A̵̼̎͗͘Ỹ̸̬̲͂̕H̷̙̖͂Ē̷͉̦̌͒M̶͈̥̽̐ to M̸̙̜̔̇Ǎ̴͎̙͔G̸̞̈N̸͔͍̝͗͋̾Ő̷͖̼͈̽̚L̷̻͚̓̔I̷̛͔̰̟̔Å̴̩̍ ̷̦̒̇͝M̷̱̠̺̉̎A̵̼̎͗͘Ỹ̸̬̲͂̕H̷̙̖͂Ē̷͉̦̌͒M̶͈̥̽̐ (you don't get my real name).13:22:43
@sternenseemann:systemli.orgsterni alexfmpe: well I did test it ahead of time, but I only tried a couple of packages that were affected by the subword division issue and cabal2nix iirc 18:19:53
30 Mar 2026
@zumuzumu:matrix.orgBig man joined the room.04:41:17
@mangoiv.:matrix.orgMangoIV It can be. It just grew organically over many years. 08:48:09
@janus.troelsen:matrix.orgJanus I am wondering whether the plan is for nixpkgs to patch packages using memory to use ram instead? That would be interesting to see, as it could provide a relatively painless experience compared to all the builds currently failing (when mixing these) using the cabal solver... 08:49:21
@maralorn:maralorn.demaralorn Janus: We are generally very conservative about doing switches like that. 10:32:49
@maralorn:maralorn.demaralorn sterni: I am sorry, that I can’t be of more help right now. But it’s simply too much. I still intend to ramp up my engagement when I got everything else under control. 10:34:03
@maralorn:maralorn.demaralornI was wondering about the nightly switch you suggested. If we did one know could we push it through until branch-off?10:34:37
@maralorn:maralorn.demaralorn* I was wondering about the nightly switch you suggested. If we did one now could we push it through until branch-off?10:34:54

Show newer messages


Back to Room ListRoom Version: 6