!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

719 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
7 May 2025
@maralorn:maralorn.demaralornSo maybe its not going to be as bad as I am fearing.11:37:22
@b:chreekat.netchreekathttps://github.com/commercialhaskell/stackage/issues/7743 is the Stackage coordination point11:39:18
@b:chreekat.netchreekatI count 48 packages dropped, and Jens said at least 18 of them are direct dependents of text11:41:54
@b:chreekat.netchreekatLuckily it was "just" nightly, so snapshots continue to be released. Just with fewer packages11:42:34
@teoc:matrix.orgTeo (he/him)Thanks! We have a draft PR to run head.hackage against stackage snapshosts somewhere. I want to tidy that up and merge that at some point. And then we could run that before a every release and have a better understanding of these things11:44:34
@teoc:matrix.orgTeo (he/him)Btw I'll be at Zurihac this year and I'd be keen to have a chat about how we can improve GHC/head.hackage processes to make things like this less painful in the future11:49:33
@sternenseemann:systemli.orgsterni (he/him) i would guess more than 1/10; IIRC it is something like install: could not create file …: no such file or directory. Happens on Hydra, so you probably need a reasonable high -j (is marked big-parallel) and a busy machine 11:52:58
@maralorn:maralorn.demaralornI’ll be there, too. Let’s do that!12:33:02
@b:chreekat.netchreekat I'm also in! 12:53:01
@hellwolf:matrix.orghellwolfnice, I will be there too :)13:54:00
@brendonakay:matrix.orgBrendon A Kay joined the room.15:00:46
@bodzioney:matrix.orgEthan joined the room.16:02:37
@maralorn:maralorn.demaralornDoes hydra kill jobs which need to much memory?21:15:38
@maralorn:maralorn.demaralornBecause the build I am currently trying is roughly at 100G RAM right now, so even if it succeeds, which seems unlikely, it doesn’t seem like a viable solution. 😄21:16:51
@alex:tunstall.xyzAlexThe kernel can if the overall system is low on memory (OoM killer).21:40:09
@alex:tunstall.xyzAlexI don't know if Hydra specifically is designed to limit memory usage. I don't recall such an option being very prominent in the configuration section of the Hydra manual.21:41:01
@qyliss:fairydust.spaceAlyssa Ross
In reply to @maralorn:maralorn.de
Because the build I am currently trying is roughly at 100G RAM right now, so even if it succeeds, which seems unlikely, it doesn’t seem like a viable solution. 😄
that's same ballpark as linking firefox so it might be fine if it's tagged as big-parallel
21:42:24
@alexfmpe:matrix.orgalexfmpeThat....not.....what21:46:05
@alex:tunstall.xyzAlex That sounds like more of a bfd ld thing than a Firefox thing.
For the morbidly curious: try building Firefox with mold?
21:49:15
@qyliss:fairydust.spaceAlyssa RossIt's built with LLD21:52:40
@qyliss:fairydust.spaceAlyssa RossI think it's mostly because of the debug symbols21:52:42
8 May 2025
@industrial:matrix.org@industrial:matrix.org left the room.20:31:15
9 May 2025
@bodzioney:matrix.orgEthanHey everyone, new-ish nix user here. I work with a decent amount of haskell code and I'm trying to get it setup but see a lot of contradictory recommendations online. I'm currently working in a repo with a bunch of stack projects in different directories. The way I previously would have done this is just entered each one and run stack build. Do I have to give each of them a derivation now? Or is there an easier way to do this?21:02:18
@maralorn:maralorn.demaralornThis depends a lot on what your goal is. Generally the rule with our setup is: 1 package (cabal or stack) -> 1 derivation. Although that doesn't have to be tedious because you can easily autogenerate them.21:13:03
@maralorn:maralorn.demaralornWith the exception of haskell.nix all "contradictory recommendations" mostly only differ in different more or less helpful abstraction layers to manage the derivations generate with cabal2nix. I don't think it matters much which to use but I understand that it's all a bit overwhelming.21:16:12
@maralorn:maralorn.demaralornGenerally I would recommend against pulling in significant nix dependencies other than nixpkgs. Flakes or not is really a matter of taste and quite orthogonal to the rest.21:24:32
@maralorn:maralorn.demaralornBut feel free to ask more concrete questions.21:24:55
@bodzioney:matrix.orgEthanI'm curious how you autogenerate them?21:27:27
@bodzioney:matrix.orgEthanAlso is stack really used with nix? It seems that nix replaces its functionality.21:28:24
@alex:tunstall.xyzAlex
In reply to @bodzioney:matrix.org
I'm curious how you autogenerate them?
Usually with cabal2nix. There is callCabal2nix in Nixpkgs for a very convenient way of using it.
21:34:45

Show newer messages


Back to Room ListRoom Version: 6