!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

738 Members
For discussions and questions about Haskell with Nix, cabal2nix and haskellPackages in nixpkgs | Current Docs: https://haskell4nix.readthedocs.io/ | More Nix: #community:nixos.org | More Haskell: #haskell-space:matrix.org147 Servers

Load older messages


SenderMessageTime
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
20 May 2021
@grahamc:nixos.org@grahamc:nixos.org set the history visibility to "world_readable".22:10:58
@grahamc:nixos.org@grahamc:nixos.org changed the room name to "" from "".22:10:58
@grahamc:nixos.org@grahamc:nixos.org invited @maralorn:maralorn.demaralorn.22:11:05
@maralorn:maralorn.demaralorn joined the room.22:11:13
@andi:kack.itandi- joined the room.22:30:49
@grahamc:nixos.org@grahamc:nixos.orgchanged room power levels.22:36:42
Room Avatar Renderer.22:46:20
@maralorn:maralorn.demaralorn changed the join rule to "public" from "public".22:54:26
@maralorn:maralorn.demaralorn changed the room topic to "For discussions and questions about Haskell with Nix, cabal2nix and haskellPackages in nixpkgs | Current Docs: https://haskell4nix.readthedocs.io/" from "For discussions about Haskell with Nix, cabal2nix and haskellPackages in nixpkgs | Current Docs: https://haskell4nix.readthedocs.io/".22:56:19
@server_stats:nordgedanken.devServer Stats Discoverer (traveler bot) joined the room.23:05:49
@pennae:matrix.eno.spacepennae joined the room.23:06:26
@justinrestivo:matrix.orgjustinrestivo joined the room.23:07:39

Show newer messages


Back to Room ListRoom Version: 6