!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

685 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 infrastructure135 Servers

Load older messages


SenderMessageTime
12 Dec 2025
@emilazy:matrix.orgemilyI'm just assuming you didn't use to get this17:00:47
@alexfmpe:matrix.orgalexfmpenot sure, first time I try to build this particular project17:01:09
@alexfmpe:matrix.orgalexfmpehmm hang on17:01:15
@alexfmpe:matrix.orgalexfmpe I think changing this to crypto.3 fixed it 17:01:53
@alexfmpe:matrix.orgalexfmpecan't confirm right now because I did a clean afterwards and now github is dying on me or something17:02:11
@emilazy:matrix.orgemily I feel like it should work with just crypto and we're holding it wrong or something. but maybe not. 17:04:00
@emilazy:matrix.orgemilyhave you tried 25.05, 24.11?17:04:08
@alexfmpe:matrix.orgalexfmpeI'll see if I can get away with this stupid workaround just to complete the task I was aiming for, then circle back to investigate this properly17:10:17
@emilazy:matrix.orgemilyfair enough17:11:27
13 Dec 2025
@mjolnir:nixos.orgNixOS Moderation Bot unbanned @mightyiam:matrix.org@mightyiam:matrix.org.05:59:25
@bodzioney:matrix.orgEthan changed their display name from Ethan Bodzioney to Ethan.22:13:39
14 Dec 2025
@mangoiv.:matrix.orgMangoIVwhich combination of things do I have to use currently to not get the segfault? 13:45:44
@maralorn:maralorn.demaralorn MangoIV: You need to avoid hls 9.10 with hlint plugin. So either you switch ghc version or disable hlint either via nix or in your editor config. 14:02:18
@mangoiv.:matrix.orgMangoIVthanks for the help! <3 14:08:57
@maralorn:maralorn.demaralornRelated: https://github.com/NixOS/nixpkgs/pull/47075815:19:22
@tillerino:matrix.orgTillerino joined the room.18:25:55
16 Dec 2025
@not-jack:matrix.org@not-jack:matrix.org left the room.22:01:57
@josh:quadrivium.ukdutchie joined the room.22:35:00
@josh:quadrivium.ukdutchie

Hi, I'm having an issue where haskell.packages.ghc912.unicode-data doesn't build in nixpkgs-unstable or haskell-updates. It looks like it's using the wrong Unicode version at some point:

Test suite test: RUNNING...

Unicode.Char
  Unicode blocks
    Characters not in any block are unassigned [✔]
    Examples [✔]
    Characters are in the definition of their corresponding block [✔]
    Characters in a block definition have the corresponding block [✔]
  Unicode general categories
[WARNING] Cannot test '\2199': incompatible Unicode version (unassigned char). Expected 15.1.0, but got: 16.0.0
[WARNING] Cannot test '\6990': incompatible Unicode version (unassigned char). Expected 15.1.0, but got: 16.0.0
[WARNING] Cannot test '\6991': incompatible Unicode version (unassigned char). Expected 15.1.0, but got: 16.0.0
[WARNING] Cannot test '\7039': incompatible Unicode version (unassigned char). Expected 15.1.0, but got: 16.0.0
[WARNING] Cannot test '\7305': incompatible Unicode version (unassigned char). Expected 15.1.0, but got: 16.0.0
[WARNING] Cannot test '\7306': incompatible Unicode version (unassigned char). Expected 15.1.0, but got: 16.0.0
# snip a bazillion similar warnings
[WARNING] Cannot test '\124409': incompatible Unicode version (unassigned char). Expected 15.1.0, but got: 16.0.0
[WARNING] Cannot test '\124410': incompatible Unicode version (unassigned char). Expected 15.1.0, but got: 16.0.0
      Compare to base [✔]
    isNumber implies a numeric value [✔]

Failures:

  test/Unicode/CharSpec.hs:206:21: 
  1) Unicode.Char.Case toUpper
       predicate failed on: '\411'

  To rerun use: --match "/Unicode.Char/Case/toUpper/" --seed 909632297

  test/Unicode/CharSpec.hs:227:21: 
  2) Unicode.Char.Case toTitle
       predicate failed on: '\411'

  To rerun use: --match "/Unicode.Char/Case/toTitle/" --seed 909632297

Randomized with seed 909632297

Finished in 0.6187 seconds
41 examples, 2 failures
Test suite test: FAIL
Test suite logged to: dist/test/unicode-data-0.6.0-test.log
0 of 1 test suites (0 of 1 test cases) passed.

I can't see any upstream bugs but not really sure what's going on

22:37:31
17 Dec 2025
@sternenseemann:systemli.orgsternilooks link a mismatch between database and whatever it is checking against08:29:32
@sternenseemann:systemli.orgsterniquestion where is the db coming from08:29:53
@sternenseemann:systemli.orgsterniah it checks against base so you either need to downgrade GHC so it doesn’t know about those chars as well or upgrade unicode-data, current version is 0.8.0 which supports Unicode 17.0.008:34:57
@sternenseemann:systemli.orgsternior disable the test suite of course08:35:32
@josh:quadrivium.ukdutchieit's still 0.6.0 in all the stackage lts versions, should it be upgraded to 0.8.0 in nixpkgs for GHC 9.12 in nixpkgs despite that?08:39:15
@josh:quadrivium.ukdutchienot sure how rigorously the policy is to stick to the Stackage set08:39:35
@sternenseemann:systemli.orgsterniwe don’t enforce stackage constraints for non default package sets since it isn’t possible really anyways08:41:43
@sternenseemann:systemli.orgsterni it’s questionable whether it should be constrained so rigorously anyways in stackage 08:42:13
@sternenseemann:systemli.orgsterniunicode data db updates shouldn’t really break a well designed program?!08:42:37
@ncfavier:matrix.orgncfavierIs there a way to override the version of Cabal used to build Setup.hs? lhs2tex needs Cabal 3.10, but using the obvious override doesn't work (I suspect because Cabal 3.12 is bundled with GHC and it picks the latest available version). I also found https://github.com/NixOS/nixpkgs/pull/443130 but that doesn't seem to help here.13:32:29
@alex:tunstall.xyzAlex I recall it being possible but difficult to override boot packages.
Was it maralorn who knew how to do it?
14:21:55

Show newer messages


Back to Room ListRoom Version: 6