!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

694 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 infrastructure139 Servers

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


SenderMessageTime
30 Jul 2025
@dmjio:matrix.org@dmjio:matrix.org joined the room.18:06:36
31 Jul 2025
@cartocor:matrix.orgcartocor joined the room.08:41:04
@sammy:cherrykitten.devSammy (It/Its) left the room.09:47:03
@sternenseemann:systemli.orgsterniFirst proper eval of Stackage LTS 24 / ghc 9.10.2 https://hydra.nixos.org/eval/1817278?compare=181717011:21:36
@kephaspierre:matrix.orgPierre Thierry I'm kephas on Github 13:51:39
1 Aug 2025
@lowtex:matrix.org_low_ changed their display name from low to _low_.21:06:04
2 Aug 2025
@magic_rb:matrix.redalder.orgmagic_rb is there a way to get a more minimal haskell bin out of nixpkgs? basic things end up being 3GB in closure size because they pull in GHC through primitive. I've yet to try static builds but that takes ages so isnt really scalable 10:37:25
@maralorn:maralorn.demaralorn @magic_rb:matrix.redalder.org: Have a look at justStaticExecutables in the nixpkgs manual. 11:17:00
@magic_rb:matrix.redalder.orgmagic_rbthanks11:18:12
@maralorn:maralorn.demaralornEven nicer but minimally more complicated ist enableSeparateBinOutput.11:19:16
@magic_rb:matrix.redalder.orgmagic_rboh my so much better11:21:32
@magic_rb:matrix.redalder.orgmagic_rb3GB to 64MB11:21:36
@magic_rb:matrix.redalder.orgmagic_rbthanks a lot11:21:37
@magic_rb:matrix.redalder.orgmagic_rb nice, enableSeparateBinOutput also just works 11:22:47
@magic_rb:matrix.redalder.orgmagic_rb this makes haskell acceptable for the usecase i wanted. (reimplementing environment.etc and i dont feel like doing it with a shell script, rather gonna write a haskell binary) 11:23:20
@emilazy:matrix.orgemily
In reply to @magic_rb:matrix.redalder.org
this makes haskell acceptable for the usecase i wanted. (reimplementing environment.etc and i dont feel like doing it with a shell script, rather gonna write a haskell binary)
you know about system.etc.overlay right?
11:25:11
@magic_rb:matrix.redalder.orgmagic_rbthis is not for nixos11:25:18
@magic_rb:matrix.redalder.orgmagic_rb rather nixng, i need environment.etc for nixos compatibility reasons 11:25:35
@emilazy:matrix.orgemilyyeah I just mean11:25:44
@emilazy:matrix.orgemilyyou should just crib that implementation11:25:51

Show newer messages


Back to Room ListRoom Version: 6