!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

698 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 infrastructure138 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
1 Jan 2026
@deb776:tedomum.net@deb776:tedomum.net 02:52:05
@deb776:tedomum.net@deb776:tedomum.net left the room.02:53:10
4 Jan 2026
@aleksana:mozilla.orgFind me at aleksana:qaq.li changed their display name from aleksana 🏳️‍⚧️ (force me to bed after 18:00 UTC) to aleksana 🏳️‍⚧️ (deprecated).17:12:55
@aleksana:mozilla.orgFind me at aleksana:qaq.li changed their display name from aleksana 🏳️‍⚧️ (deprecated) to Find me at aleksana:qaq.li.17:14:40
5 Jan 2026
@connorbaker:matrix.orgconnor (burnt/out) (UTC-8) joined the room.17:56:26
6 Jan 2026
@maralorn:maralorn.demaralornSo … What is the 2026 way of running doctests as part of my nix-build?12:36:15
@kephaspierre:matrix.orgPierre Thierry

I'm trying to work on monoidal-functors, but although nix build succeeds, doing cabal build either from nix develop or my shell with direnv and use flake fails with

unknown package: these (dependency of monoidal-functors)

14:44:48
@toonn:matrix.orgtoonn Might Cabal be picking up a different GHC? 14:46:14
@kephaspierre:matrix.orgPierre Thierry It doesn't look like it, cabal --verbose build says Running: /nix/store/a8h81f4wc2nc8qgrfsxvgfd8has0xh3r-ghc-9.6.3/bin/ghc --print-global-package-db and the flake says ghc963 14:48:51
@maralorn:maralorn.demaralornApparently cabal-doctest works. Couldn’t get doctest-discover to run.17:19:16
@maralorn:maralorn.demaralornBut I still very much have no idea what I am doing …17:19:33
7 Jan 2026
@sigmanificient:matrix.orgSigmanificient joined the room.00:25:15
@sigmanificient:matrix.orgSigmanificient

Hello there, while having a conversation with my coincidentally named counterpart (i remember that), I discovered that haskell packages set has a at least a few packages that we should really not ship, as they has been removed after a report on the [https://github.com/haskell-infra/hackage-trustees/issues/132](hackage-trustees ' Spam/fraudulent issue)

While both examples sigmaSquadron gave me are marked as broken, this is due to dependency mismatch, not that the source is gone, because we have it cached.

00:30:52
@sigmasquadron:matrix.orgFernando RodriguesYeah, it's probably not ideal that the channels just randomly have sources for known fraudulent software.00:35:11
@ners:nixos.devners Does anyone have experience with pkgsCross.ghcjs? I'm trying to build a package that indirectly depends on zlib, and getting the following error: no C compiler provided for this platform
I can trace the error to here: https://github.com/NixOS/nixpkgs/blob/492f8a5b3855f5d5f3fa4d096acb073ec7c86e17/pkgs/stdenv/cross/default.nix#L118
I think I should be able to use emscripten as a C compiler, any idea how I could wire that up to get zlib to build?
08:43:37
@acidbong:envs.netAcid Bong joined the room.15:34:54

Show newer messages


Back to Room ListRoom Version: 6