!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

701 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 infrastructure137 Servers

Load older messages


SenderMessageTime
27 Feb 2026
@deepak-dev:matrix.orgDeepak Maharana joined the room.01:23:13
@amadaluzia:tchncs.deamadaluzia[tde] changed their profile picture.03:52:45
@amadaluzia:unredacted.orgamadaluzia changed their profile picture.03:55:20
@robert:funklause.dedotlambdaI want to drop the broken (even if it weren't marked insecure) package psftools but haskellPackages.HDRUtils depends on it. How do I go about removing that package too?05:29:19
@robert:funklause.dedotlambda Since HDRUtils is already in the dont-distribute-packages list, should I simply remove the librarySystemDepends line from hackage-packages.nix manually? 05:34:24
@robert:funklause.dedotlambdahttps://github.com/NixOS/nixpkgs/pull/49460105:41:01
@maralorn:maralorn.demaralornEditing hackage-packages.nix is never the correct solution.09:45:39
@maralorn:maralorn.demaralornQuestion would be: If HDRUtils is already under dont-distribute do you even need to do anything?09:46:36
@maralorn:maralorn.demaralornI might be wrong but when you remove psftools and we rerun hackage2nix I think it would automatically set psftools = null in the package input.09:47:53
@dandart:matrix.orgEmber Void changed their display name from Void Ember to Ember Void.11:29:02
@artem.types:matrix.orgArtem

has anyone ever seen this error when trying to do a basic cabal install:

Version mismatch between ghc and ghc-pkg: /run/current-system/sw/bin/ghc is version 9.8.4 /nix/store/vqkj90qn7489hcixgy5ah2mv59g72a14-ghc-9.10.3/bin/ghc-pkg-9.10.3 is version 9.10.3

I don't have anything fancy in the NixOS config, I think: just ghc and cabal-install ins systemPackages...

16:21:06
@artem.types:matrix.orgArtem *

has anyone ever seen this error when trying to do a basic cabal install:

Version mismatch between ghc and ghc-pkg: /run/current-system/sw/bin/ghc is version 9.8.4
  /nix/store/vqkj90qn7489hcixgy5ah2mv59g72a14-ghc-9.10.3/bin/ghc-pkg-9.10.3 is version 9.10.3

I don't have anything fancy in the NixOS config, I think: just ghc and cabal-install ins systemPackages...

16:21:21
@artem.types:matrix.orgArtem *

has anyone ever seen this error when trying to do a basic cabal install:

Version mismatch between ghc and ghc-pkg:
  /run/current-system/sw/bin/ghc is version 9.8.4
  /nix/store/vqkj90qn7489hcixgy5ah2mv59g72a14-ghc-9.10.3/bin/ghc-pkg-9.10.3 is version 9.10.3

I don't have anything fancy in the NixOS config, I think: just ghc and cabal-install ins systemPackages...

16:21:33
@artem.types:matrix.orgArtemI'm on 25.11 so it should be just 9.10.316:22:04
@artem.types:matrix.orgArtemwow, it looks like it's a regression in cabal HEAD (which I daily-drive by default). cabal 3.16.1.0 does the right thing17:36:11
28 Feb 2026
@woobilicious:matrix.orgwoobilicious what's an easy way to gather all doc outputs of a bunch of packages? withPackages doesn't seem to have a doc attribute 02:51:17
@maralorn:maralorn.demaralornwithHoogle06:37:48
@woobilicious:matrix.orgwoobilicious maralorn: I mean I want the paths to all the html files, not hoogle in my PATH 06:43:52
@woobilicious:matrix.orgwoobiliciousI ended up just writing some code to manually walk the list of packages.06:44:16
@woobilicious:matrix.orgwoobilicious Also why do we have packages like attoparsec_0_13_2_5 and ansi-wl-pprint_0_6_9 that don't build? and don't seem to be marked as broken. 06:45:49
@woobilicious:matrix.orgwoobiliciousI'm starting to regret trying to gather every doc output we have lol06:51:19
@woobilicious:matrix.orgwoobilicioustryEval isn't catching build failures06:53:02
@maralorn:maralorn.demaralornBut the hoogle DB has the paths to all html files. 😂07:06:17
@woobilicious:matrix.orgwoobiliciousLol, the db isn't exactly human readable.07:10:34
@maralorn:maralorn.demaralornYeah, fair.07:15:07
@maralorn:maralorn.demaralornYet, I think if you need to write code for that taking inspiration from withHoogle might help.07:15:53
@maralorn:maralorn.demaralornBut anyway apparently you already solved it.07:16:12
@woobilicious:matrix.orgwoobiliciouskinda, builtin packages (like bytestring) are missing07:16:53
@woobilicious:matrix.orgwoobiliciousahh they're in ghc package, but slightly different layout07:18:21
@woobilicious:matrix.orgwoobiliciousAhh okay I've found where "withHoogle" is implemented07:23:07

There are no newer messages yet.


Back to Room ListRoom Version: 6