!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

733 Members
For discussions and questions about Haskell with Nix, cabal2nix and haskellPackages in nixpkgs | Current Docs: https://haskell4nix.readthedocs.io/145 Servers

Load older messages


SenderMessageTime
30 Mar 2026
@mangoiv.:matrix.orgMangoIVthis indeed looks cool. I wonder how bad the conflicts will be 13:47:35
@mangoiv.:matrix.orgMangoIVbut maybe there's some usable things in there. 13:47:40
@mangoiv.:matrix.orgMangoIVthat's fine. As long as we can discover this a posteriori, I think it's okay if we don't build all packages. 13:48:53
@mangoiv.:matrix.orgMangoIVwhat changed? No maintenance hours? 13:49:23
@teoc:matrix.orgTeo (he/him) I think the main issue is just that it never got merged, so idk if it has coderotted or not. I want to rebase and merge it at some point and then we can iterate from there. But I struggle to find time to do anything other than keep head.hackage building with HEAD 13:50:45
@alexfmpe:matrix.orgalexfmpethe vast majority of packages that don't build against newer versions is due to library bounds no? 13:52:26
@alexfmpe:matrix.orgalexfmpeat least in recent GHCs13:52:38
@alexfmpe:matrix.orgalexfmpedeep subsumption was annoying, 9.6 was a bloodbath from mtl re-exports, but lately it's been pretty chill13:53:05
@alexfmpe:matrix.orgalexfmpeit's mostly things coupled with ghc internals that fail purely from a ghc bump anything touching generics, template-haskell, etc 13:55:27
@mangoiv.:matrix.orgMangoIVthat's fair. I will ask if someone who can allocate resources can take co-ownership of this problem. 14:00:07
@teoc:matrix.orgTeo (he/him) i should have a bit more free time after ZuriHac hopefully as well 14:02:29
@mangoiv.:matrix.orgMangoIV I'm not confident about the quality of the ram package, yet. 14:08:00
@maralorn:maralorn.demaralornTrue, the enthusiasm for vibe coding by the same author sadly decreases trust in code quality.14:13:08
@maralorn:maralorn.demaralornI mean my thinking would be: That would still help with catching at least all build errors which we would notice immediately on adding the new minor version. Of course it won’t give ghc the full test coverage of nixpkgs and I agree I don’t think it would be fair to do that with nixos-community resources.14:15:03
@janus.troelsen:matrix.orgJanusIt was a mess with the vibe-coded removal and re-addition of stuff, but it's good that an attempt is being made to take over the package. Jappie has good intentions and seems to open to constructive feedback.16:29:09
@janus.troelsen:matrix.orgJanus* It was a mess with the vibe-coded removal and re-addition of stuff, but it's good that an attempt is being made to take over the package. Jappie has good intentions and seems open to constructive feedback.16:29:29
@mangoiv.:matrix.orgMangoIV

Jappie has good intentions and seems open to constructive feedback.

He definitely does, but that doesn't make me less caucious of vibe coding

16:30:38
@andreaspk:matrix.organdreaspk joined the room.18:38:03
5 Apr 2026
@alexfmpe:matrix.orgalexfmpe

there's a couple packages calling cabal executables in their test suites that I tried to fix with addTestToolDepend self.cabal-install that then fail with

Error: [Cabal-8123]
Use of GHC's environment variable GHC_PACKAGE_PATH is incompatible with Cabal. Use the flag --package-db to specify a package database (it can be used multiple times).
00:30:02
@alexfmpe:matrix.orgalexfmpe I dunno where that GHC_PACKAGE_PATH is coming from. is this something worth addressing on nixpkgs? if not, could I somehow fix upstream? 00:31:05
6 Apr 2026
@alex:tunstall.xyzAlex

,("Use interpreter","NO")
,("cross compiling","NO")
,("Build platform","riscv64-unknown-linux")
,("Host platform","riscv64-unknown-linux")
,("Target platform","riscv64-unknown-linux")
,("Have interpreter","NO")

Why is my native RISC-V GHC 9.8.4 build missing the TH interpreter and GHCi support?
I've never seen this happen for a native build before, and I can't find anything that explains this in Nixpkgs or Hadrian's source code.

I have an old native 9.6.6 build lying around and it has ("Have interpreter","YES") as expected.
Both were built using Nixpkgs' default settings with a cross-compiled GHC 9.4.8.

08:47:00
@alex:tunstall.xyzAlex Oh, nevermind, I found the issue.
I removed this patch while upgrading Nixpkgs because the default GHC (9.10) has the commit, but then later found that to get there I needed to first build 9.6 or 9.8, which don't have the commit.
08:50:58
@alexfmpe:matrix.orgalexfmpeNix on macos room (unlinkable right now) is asking what is the purpose of ghc-standalone-archive11:25:47
@sternenseemann:systemli.orgsterni (he/him)

alexfmpe: see

  • https://github.com/haskell/cabal/issues/2358
  • https://github.com/NixOS/nixpkgs/pull/312859
  • https://github.com/haskell/cabal/issues/10090

for some context

11:27:52
@sternenseemann:systemli.orgsterni (he/him)ask Shea Levy, I guess. I assume it is intended for building a static archive of Haskell libs you can link into iOS applications. I have never seen anybody talking about it or using it, so I'm fine with removing it personally.11:31:03
@alexfmpe:matrix.orgalexfmpe
In reply to @sternenseemann:systemli.org

alexfmpe: see

  • https://github.com/haskell/cabal/issues/2358
  • https://github.com/NixOS/nixpkgs/pull/312859
  • https://github.com/haskell/cabal/issues/10090

for some context

Ah got it. Mind if I cook up a couple utils for these unfortunately common test suite tweaks? HOME/tmpDir, ghc_package_path
11:32:34
@sternenseemann:systemli.orgsterni (he/him)yes, sure may be worth refactoring11:32:56
@alexfmpe:matrix.orgalexfmpeThe pre check exports, that is11:33:02
@sternenseemann:systemli.orgsterni (he/him)the thing is that there can't really be a generic solution for everything because there are a lot of mutually incompatible approaches to solving this at the moment.11:34:22
@alexfmpe:matrix.orgalexfmpeSure, but we can have a ready made sane default 11:34:50

Show newer messages


Back to Room ListRoom Version: 6