!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

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

Load older messages


SenderMessageTime
9 Aug 2025
@emilazy:matrix.orgemilyis it intentional that https://github.com/NixOS/nixpkgs/blob/ca321b05ae7f096c195eb14809e55ef9921f19eb/pkgs/development/haskell-modules/configuration-nix.nix#L506-L514 will make CI fail on LLVM bumps?22:11:40
@sternenseemann:systemli.orgsterni (he/him)yes-ish22:12:14
@sternenseemann:systemli.orgsterni (he/him)it's mostly meant to fail our CI, but it's hard to implement that22:12:42
@emilazy:matrix.orgemilyright22:14:00
@sternenseemann:systemli.orgsterni (he/him)in my experience bindings etc. are pretty tricky because no one tests these when updating the base package, so I wanted to make it visible for us here at least22:14:35
@sternenseemann:systemli.orgsterni (he/him)but we should probably revert it22:14:49
@sternenseemann:systemli.orgsterni (he/him) the problem is also that you can't just update the number on the bump yet because the package wants to link against libLLVM21-git 22:15:33
@sternenseemann:systemli.orgsterni (he/him)at least last I checked22:15:40
@emilazy:matrix.orgemilywell, we do build quite a lot of stuff when bumping LLVM22:32:12
@emilazy:matrix.orgemilyat least22:32:14
@emilazy:matrix.orgemilyso it may be a special case in terms of bindings22:32:17
10 Aug 2025
@sternenseemann:systemli.orgsterni (he/him)Haskell bindings get frequently overlooked in my experience00:44:17
@sternenseemann:systemli.orgsterni (he/him)though we haven't had Haskell LLVM bindings where an up to date version is readily available00:44:43
@sternenseemann:systemli.orgsterni (he/him)llvm-hs never uploaded anything after 9.0.1 to Hackage and I never bothered to work out how usable the llvm-12 branch was00:45:40
@sternenseemann:systemli.orgsterni (he/him)now that's all kind of irrelevant00:45:46
@emilazy:matrix.orgemilyI mean more "when we bump LLVM people are building full Darwin systems"02:00:07
11 Aug 2025
@lambdatheultimatealias:matrix.orglambdatheultimatealiasI can see a few of us have fixes in Hackage for Ghc 9.12. Should we be waiting for the next run of the Hackage update script on the haskell-updates branch or running it ourselves and submitting the relevant patch as a PR? Also is there a way of knowing in general whether another pull from Hackage is planned to avoid unnecessary PRs?10:49:49
@sternenseemann:systemli.orgsterni (he/him)I'll probably do another one, maybe we'll get Stackage LTS 24.4 even14:57:19
13 Aug 2025
@mrjtjmn:matrix.orgMrjt. joined the room.05:53:57
@aveltras:matrix.orgaveltras joined the room.09:38:45
@artem.types:matrix.orgArtemis there a reasonable tutorial for how to start helping with failures in https://github.com/NixOS/nixpkgs/pull/429810? haskell-modules/HACKING.md says "Steps to fix Haskell packages that are failing to build is out of scope for this document"15:27:38
@maralorn:maralorn.demaralornhttps://discourse.nixos.org/t/call-for-contributions-we-are-updating-to-ghc-9-10-2/6775615:32:11
@artem.types:matrix.orgArtemI'm trying to unbrake some packages from liquidhaskell ecosystem. One package's test suite assumes Z3 is available in the PATH. What's a better way to fix it: dontCheck or add z3 as a dependency somewhere (where?).16:27:58
@emilazy:matrix.orgemily probably nativeCheckInputs 16:28:52
@artem.types:matrix.orgArtem @emily this looks plausible except I don't see it ever be used inside haskell-modules. I see a bunch of those in other *-modules, but they have a different setup, so I'm not sure where to put these nativeCheckInputs for a haskell package 16:37:37
@qyliss:fairydust.spaceAlyssa RossWhere would you put extra buildInputs or nativeBuildInputs?16:41:27
@qyliss:fairydust.spaceAlyssa RossThose must be used somewhere16:41:36
@artem.types:matrix.orgArtemI'm not really seeing those in haskell-modules either16:48:14
@qyliss:fairydust.spaceAlyssa RossI do, in configuration-nix.nix16:48:55
@qyliss:fairydust.spaceAlyssa Rossoh, addBuildDepend sounds relevant16:49:10

Show newer messages


Back to Room ListRoom Version: 6