!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

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

Load older messages


SenderMessageTime
9 Aug 2025
@sternenseemann:systemli.orgsterniat 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.orgsterniHaskell bindings get frequently overlooked in my experience00:44:17
@sternenseemann:systemli.orgsternithough we haven't had Haskell LLVM bindings where an up to date version is readily available00:44:43
@sternenseemann:systemli.orgsternillvm-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.orgsterninow 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.orgsterniI'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
@qyliss:fairydust.spaceAlyssa RossIt doesn't look like there's an equivalent for nativeCheckInputs, so add one?16:50:52
@maralorn:maralorn.demaralornI love how this extra abstraction layer in the haskell builder trips up proficient nixpkgs users … otoh I am always confused how those fields are called in the default builder. 😄16:50:52
@maralorn:maralorn.demaralorn There is testSystemdDepends. 16:52:21
@qyliss:fairydust.spaceAlyssa RossIs that nativeCheckInputs though?16:52:52
@maralorn:maralorn.demaralorn
  testPkgconfigDepends ? [ ],
  testDepends ? [ ],
  testHaskellDepends ? [ ],
  testSystemDepends ? [ ],
  testFrameworkDepends ? [ ],
16:53:01
@artem.types:matrix.orgArtem

There is testSystemdDepends.
with testSystemDepends it seems like it, thanks

16:53:52
@artem.types:matrix.orgArtem *

There is testSystemdDepends.

with testSystemDepends it seems like it, thanks

16:53:59

Show newer messages


Back to Room ListRoom Version: 6