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

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


SenderMessageTime
27 Sep 2025
@alexfmpe:matrix.orgalexfmpeI ended up disabling direnv as it's been too unreliable for me22:56:12
@alexfmpe:matrix.orgalexfmpeAlso kept getting into stale states forcing me to rm .direnv after a lot of "how is this possible"22:57:08
28 Sep 2025
@lavalier:matrix.orglibman joined the room.05:35:06
@sternenseemann:systemli.orgsterni bglgwyng: as far as I know, there is no way to specify the build targets at configure time 10:28:22
@sternenseemann:systemli.orgsterniThe package database is prepared by us and includes all dependencies Cabal reports to us when generating the expression. Not sure if you could influence this to trim down to specific targets, in any case cabal2nix does not support this at the moment.10:29:38
@sternenseemann:systemli.orgsterniinteresting that doesn't seem to be documented?10:31:01
@sternenseemann:systemli.orgsterni it would be nice if we could set testTargets and buildTargets at configure time already 10:31:28
@bglgwyng:matrix.orgbglgwyngIndeed I tried the same thing but it didn't work11:46:44
@bglgwyng:matrix.orgbglgwyngMaybe haskell.nix uses its own patched version?11:47:06
@bglgwyng:matrix.orgbglgwyngNo, it doesn't.13:20:35
@sternenseemann:systemli.orgsternimaybe it is possible with cabal-install, but not Setup.hs? though the cabal(1) man page doesn't seem to indicate this…16:33:29

Show newer messages


Back to Room ListRoom Version: 6