!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

678 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 infrastructure134 Servers

Load older messages


SenderMessageTime
9 Oct 2025
@m1-s:matrix.orgm1-s

I had declared the flake input as github:yesodweb/yesod?dir=yesod-form and it seems that this notation has changed with the nix version update. https://github.com/NixOS/nix/pull/12801

So not related to haskell. Thanks for the quick reaction!

19:49:49
10 Oct 2025
@ivy:faggot.shivy the cabal2nix shell keeps failing because it keeps compiling ghc then filling my computer 02:28:39
@maralorn:maralorn.demaralorn sterni: Wolfgang Walther I had an insanely busy last two weeks and my boss just decided to give our huge infra structure update (ghcjs 8.6 -> ghc+wasm 9.12) into production this evening. So I am rather confident that I won’t succeed doing anything on our PR. 15:57:03
@maralorn:maralorn.demaralornBut I guess we are kinda flying blind because of a rebuild right now anyway?15:58:39
@sternenseemann:systemli.orgsterni I fixed everything except for HLS pretty much 🫠 18:25:52
@maralorn:maralorn.demaralornAnd how broken is that?^^18:26:20
@maralorn:maralorn.demaralornAs in is that hls 2.11 or 2.12?18:27:07
@maralorn:maralorn.demaralornHm, still 2.11. So I wasn’t really expecting any breakage.18:37:54
@maralorn:maralorn.demaralornBut we will see.18:37:58
@robert:funklause.dedotlambda joined the room.21:10:44
@robert:funklause.dedotlambda Where does haskellPackages.hledger_1_50 come from? Does stackage have two versions of hledger or do we always have the pinned or the most recent version? 21:12:09
@robert:funklause.dedotlambda Is it possible to make it use hledger-lib_1_50? 21:12:39
@maralorn:maralorn.demaralorn dotlambda: https://nixos.org/manual/nixpkgs/unstable/#haskell-available-versions 21:15:14
@robert:funklause.dedotlambdaIf I make a PR removing the pin on hledger, which branch should I target?21:18:25
@robert:funklause.dedotlambdaI guess I can't remove it because it's pinned on stackage21:24:06
@robert:funklause.dedotlambda
In reply to @robert:funklause.de
Is it possible to make it use hledger-lib_1_50?
Still, this would be nice in order to unbreak hledger_1_50
21:24:41
@maralorn:maralorn.demaralorn dotlambda: compare: https://github.com/NixOS/nixpkgs/issues/190542 21:24:49
@maralorn:maralorn.demaralornAre you currently trying to fix a build error?21:25:08
@maralorn:maralorn.demaralornI am slightly confused about the problem.21:25:17
@robert:funklause.dedotlambda
In reply to @maralorn:maralorn.de
Are you currently trying to fix a build error?
Yes. Try building haskellPackages.hledger_1_50. It fails because it needs hledger-lib_1_50.
21:26:22
@maralorn:maralorn.demaralornYeah, makes sense.21:26:37
@maralorn:maralorn.demaralornYeah, you would need to manually override hledger to use the correct hledger-lib version. Belongs into configuration-common.nix. Would be fine to open against master.21:27:40
@maralorn:maralorn.demaralornAlternatively you remove the stackage pinning from hledger. Which by the issue I linked has been requested multiple times.21:28:13
@robert:funklause.dedotlambda
In reply to @maralorn:maralorn.de
Alternatively you remove the stackage pinning from hledger. Which by the issue I linked has been requested multiple times.
That might break something that depends on hledger, not sure
21:28:53
@maralorn:maralorn.demaralornYeah, totally.21:29:19
@maralorn:maralorn.demaralornJust a suggestion. Do whatever you prefer.21:30:24
@robert:funklause.dedotlambdaHow would I remove the pinning?21:33:33
@robert:funklause.dedotlambda I guess I add it to update-stackage.sh 21:33:58
@maralorn:maralorn.demaralornYes, exactly.21:34:42
@maralorn:maralorn.demaralornIf you do that on master you probably want to remove the relevant pins from our stackage.yaml. But I didn’t mean to trick you into doing more work than you set out for. 😄21:36:16

Show newer messages


Back to Room ListRoom Version: 6