!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.org146 Servers

Load older messages


SenderMessageTime
19 Feb 2026
@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
@shmwot:matrix.orgcatsarecute joined the room.19:05:45
@alexfmpe:matrix.orgalexfmpehttps://github.com/cdepillabout/nix-haskell-updates-status is nearly a month outdated, is that expected?22:27:45
@niko:nrab.lol-> @n:rab.lol left the room.22:43:10
@maralorn:maralorn.demaralornNope, that is a known problem caused by an eval error.22:51:54
@woobilicious:matrix.orgwoobiliciousThe failing tests on sbv go deeper, than just the fix I made, we should probably just disable tests22:58:36
@woobilicious:matrix.orgwoobiliciousIs there a logic to the configuration-common.nix file order?23:09:56
@woobilicious:matrix.orgwoobilicious I'll add the changes and open a PR against the haskell-updates branch. 23:17:32
@alexfmpe:matrix.orgalexfmperoughly grouping related things lots of conflict-avoidance by not adding stuff at the end I guess23:21:23
@alexfmpe:matrix.orgalexfmpeI do wonder if it shouldn't just be alphabetized and when we apply the same fix to several things, float it to a let at the start23:22:20
@woobilicious:matrix.orgwoobiliciousOh I think I found the "general" section23:23:20
@alexfmpe:matrix.orgalexfmpewe have one?23:23:28

Show newer messages


Back to Room ListRoom Version: 6