!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

686 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 infrastructure136 Servers

Load older messages


SenderMessageTime
17 Dec 2025
@sternenseemann:systemli.orgsterni
In reply to @ncfavier:matrix.org
Is there a way to override the version of Cabal used to build Setup.hs? lhs2tex needs Cabal 3.10, but using the obvious override doesn't work (I suspect because Cabal 3.12 is bundled with GHC and it picks the latest available version). I also found https://github.com/NixOS/nixpkgs/pull/443130 but that doesn't seem to help here.
you can add the version you want to setupHaskellDepends but if i recall it picks the most recent version by default
20:42:08
@sternenseemann:systemli.orgsterniso you may need to coax it with some extra flags20:43:01
@andromeda:tchncs.deandromeda"the eleven copies of GHC in your nix store don't exist, they can't hurt you" the eleven copies of GHC in my nix store: 🫥23:05:24
@maralorn:maralorn.demaralorn😄23:06:42
18 Dec 2025
@magic_rb:matrix.redalder.orgmagic_rb

given this dependency list, do you think i can get my binary smaller than 3.6MB?

base ^>=4.20.2.0,
aeson,
unordered-containers,
directory,
unix,
text,
bytestring,
filepath,
extra,
path,
microlens,
microlens-th,
microlens-mtl,
mtl,
transformers,
optparse-applicative,
bytestring-aeson-orphans,
template-haskell,
tree-diff,
exceptions,
hashable,
pretty,
Glob,
monad-logger,
15:44:37
@magic_rb:matrix.redalder.orgmagic_rb ive enabled enableSeparateBinOutput already 15:44:47
@alex:tunstall.xyzAlex
In reply to @magic_rb:matrix.redalder.org

given this dependency list, do you think i can get my binary smaller than 3.6MB?

base ^>=4.20.2.0,
aeson,
unordered-containers,
directory,
unix,
text,
bytestring,
filepath,
extra,
path,
microlens,
microlens-th,
microlens-mtl,
mtl,
transformers,
optparse-applicative,
bytestring-aeson-orphans,
template-haskell,
tree-diff,
exceptions,
hashable,
pretty,
Glob,
monad-logger,
No, most of that is already the GHC RTS.
16:15:33
@alex:tunstall.xyzAlex* No, most of that binary is already the GHC RTS.16:15:41
@magic_rb:matrix.redalder.orgmagic_rb👍16:25:03
19 Dec 2025
@noiobeforebedtime:winesj.comJack​ joined the room.07:34:06
@sternenseemann:systemli.orgsterniofc 9.14.1 releases when i leave the house without my laptop15:23:59
21 Dec 2025
@ashinnv:matrix.orgMr Mayhem changed their display name from Magnolia Mayhem to Mr Mayhem.20:57:53

There are no newer messages yet.


Back to Room ListRoom Version: 6