!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

724 Members
For discussions and questions about Haskell with Nix, cabal2nix and haskellPackages in nixpkgs | Current Docs: https://haskell4nix.readthedocs.io/ | More Nix: #community:nixos.org | More Haskell: #haskell-space:matrix.org145 Servers

Load older messages


SenderMessageTime
17 Dec 2025
@maralorn:maralorn.demaralorn* Your bump might be in here, but github fails to load it for me: https://github.com/NixOS/nixpkgs/pull/46625819:32:14
@lenny:flipdot.orgLenny.yes it actually it! ty I'll watch that19:37:24
@maralorn:maralorn.demaralorn May I pitch you my bot nixpkgs-bot. Send it "subscribe 466258" and you will be informed when it is merged and when it reaches master and nixos-unstable. 😄 19:41:21
@sternenseemann:systemli.orgsterni (he/him)
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.orgsterni (he/him)so 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.orgsterni (he/him)ofc 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
22 Dec 2025
@cinerealkiara:matrix.org@cinerealkiara:matrix.org left the room.13:12:27
@amadaluzia:tchncs.deamadaluzia[tde] changed their display name from ➡️@amadaluzia:unredacted.org to amadALTuzia (tchncs.de).16:11:31
@amadaluzia:tchncs.deamadaluzia[tde] changed their display name from amadALTuzia (tchncs.de) to amadaluzia[tde].17:30:15
@magic_rb:matrix.redalder.orgmagic_rb how can i pass -Werror only in a Nix build? dont see a ghcFlags 21:54:45
@magic_rb:matrix.redalder.orgmagic_rb and buildFlags doesn't work 21:54:58
@maralorn:maralorn.demaralorn magic_rb: example here: https://github.com/maralorn/nix-output-monitor/blob/9a32f32f807a4f7bc97d95606465243f293650fe/flake.nix#L50 22:08:31
@magic_rb:matrix.redalder.orgmagic_rbThanks, i didnt think of passing it through cabal :D22:18:15
@maralorn:maralorn.demaralornI have no clue if this is the smartes solution.22:19:27
@magic_rb:matrix.redalder.orgmagic_rbHey if it works it works22:24:37
@magic_rb:matrix.redalder.orgmagic_rb It definitely wont be the dumbest/worst piece of the nix in the repo i want to put it in. I wrote that repos initial version years ago and boy was i an idiot 22:25:22
20 May 2021
@grahamc:nixos.org@grahamc:nixos.org set the history visibility to "world_readable".22:10:58
@grahamc:nixos.org@grahamc:nixos.org changed the room name to "" from "".22:10:58
@grahamc:nixos.org@grahamc:nixos.org invited @maralorn:maralorn.demaralorn.22:11:05
@maralorn:maralorn.demaralorn joined the room.22:11:13
@andi:kack.itandi- joined the room.22:30:49

Show newer messages


Back to Room ListRoom Version: 6