!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

699 Members
For discussions and questions about Haskell with Nix, cabal2nix and haskellPackages in nixpkgs | Current Docs: https://nixos.org/manual/nixpkgs/unstable/#haskell | Current PR: https://github.com/nixos/nixpkgs/pulls?q=is%3Apr+is%3Aopen+head%3Ahaskell-updates | Maintainer Docs: https://github.com/NixOS/nixpkgs/blob/haskell-updates/pkgs/development/haskell-modules/HACKING.md | More Nix: #community:nixos.org | More Haskell: #haskell-space:matrix.org | Merger Schedule: https://cloud.maralorn.de/apps/calendar/p/H6migHmKX7xHoTFa/dayGridMonth/now | Join #haskell.nix:libera.chat for question about the alternative haskell.nix infrastructure138 Servers

Load older messages


SenderMessageTime
15 Feb 2026
@yourscapegoat:matrix.orgindy joined the room.06:54:27
@amadaluzia:tchncs.deamadaluzia[tde] changed their profile picture.22:03:28
@amadaluzia:tchncs.deamadaluzia[tde] changed their profile picture.22:04:34
16 Feb 2026
@magic_rb:matrix.redalder.orgmagic_rb

romes: The first Stage3 cross-compiler (i.e. a cross-compiled compiler) built by our CI:
https://gitlab.haskell.org/ghc/ghc/-/jobs/2421476/artifacts/browse
I'm testing it now.

They managed to get a riscv ghc crossed from im assuming x86. Could be used for bootstrap on our side 🎉

(Cross post from #GHC:matrix.org)

11:29:59
@alex:tunstall.xyzAlex We already have a working setup for native RISC-V via x86 cross (which I think is in the official Nixpkgs cache now?), but an official RISC-V build could make it less fragile.
But I suspect that the new compiler is only viable for the latest GHC, which would take a while to become the default GHC?
12:05:05
@mon:tchncs.depneumatic changed their profile picture.15:17:52
17 Feb 2026
@jboy:utwente.io@jboy:utwente.io joined the room.12:45:25
@jboy:utwente.io@jboy:utwente.io left the room.12:53:18
18 Feb 2026
@niko:nrab.lol-> @n:rab.lol changed their display name from niko ⚡️ to -> @n:rab.lol.23:28:25
19 Feb 2026
@woobilicious:matrix.orgwoobilicious what's the simplest way to bump a package version? sbv package is broken and that version is marked as deprecated upstream. I guess overrideSrc is best here? 04:26:53
@peddie:matrix.orgpeddieout of curiosity, isn't sbv usually broken because its golden tests hardcode what they expect to be emitted for the name/path of the SMT solver, but in nixpkgs it emits the full path rather than just the binary name? did he finally fix this upstream?04:40:41
@woobilicious:matrix.orgwoobiliciousNever used it before, so can't comment on it, wouldn't we want to just disable tests instead?04:43:53
@woobilicious:matrix.orgwoobiliciouswait hold up we have a newer verision but its called sbv_12 hmm04:50:17
@woobilicious:matrix.orgwoobiliciousbut that is also marked as broken lol04:52:16
@woobilicious:matrix.orgwoobiliciousnote the only suppposed working version on hackage is v13.504:53:04
@woobilicious:matrix.orgwoobiliciouswell, looks like the reason why our version is 11.7 is that that is what stackage lts uses.05:22:52
@woobilicious:matrix.orgwoobilicious peddie: you might be right there, we don't mark it dontCheck by the looks. checks are also extremely slow. I've disabled now because I'm impatient lol 05:33:03
@peddie:matrix.orgpeddieI looked at it a couple times and it was always only that issue, and I don't think Levent has a lot of time to support "unusual" platforms like nixpkgs :)05:34:34
@peddie:matrix.orgpeddieI guess one option would be to patch the golden test files when we build!05:36:52
@woobilicious:matrix.orgwoobiliciousI guess we could fix it for him, or just disable tests.05:37:46
@peddie:matrix.orgpeddie well the tests compare exact string equality with the golden output files. IIRC the ones it ships with just contain the SMT solver name, like z3 or cvc5, but when we run tests in nixpkgs we get the full path /nix/store/blahblahblah/bin/z3, so they fail. but it doesn't make any sense to insert any full path upstream 05:39:05
@woobilicious:matrix.orgwoobiliciousI mean the test itself shouldn't care about fullpath v not, so there must be some way to fix this false negative without a "hacky" solution like inserting hard coded paths.05:44:45
@peddie:matrix.orgpeddieyes, this is really a spurious failure. we could just mask out the initial line that contains the solver name from both the output and the reference file, or something like that05:45:29
@woobilicious:matrix.orgwoobiliciousdo we have a link to the failing test? I assume it's on hydra somewhere05:46:01
@woobilicious:matrix.orgwoobiliciouslol, why is hydra's UI so confusing, do periods break hydra search? wtf05:51:57
@woobilicious:matrix.orgwoobiliciousAhh it hasn't been tested since v10.9 in 202305:59:01
@woobilicious:matrix.orgwoobiliciousOkay fixed: https://github.com/LeventErkok/sbv/pull/77206:56:25
@peddie:matrix.orgpeddiethe hero we don't deserve! nice one!07:09:40
@woobilicious:matrix.orgwoobiliciousyeah was easy find :D07:09:51
@woobilicious:matrix.orgwoobiliciousI also like feeling productive instead of wasting time on the actual code I was gonna write lol07:10:19

There are no newer messages yet.


Back to Room ListRoom Version: 6