!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

704 Members
For discussions and questions about Haskell with Nix, cabal2nix and haskellPackages in nixpkgs | Current Docs: https://haskell4nix.readthedocs.io/140 Servers

Load older messages


SenderMessageTime
2 Aug 2025
@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
@emilazy:matrix.orgemilyit's much better than the Perl nonsense11:25:59
@emilazy:matrix.orgemilyand pretty generic11:26:06
@magic_rb:matrix.redalder.orgmagic_rboverlays dont work in containers11:26:07
@magic_rb:matrix.redalder.orgmagic_rbso its not useful11:26:12
@emilazy:matrix.orgemilythey should in a mount namespace?11:26:22
@magic_rb:matrix.redalder.orgmagic_rb if you docker run it wont 11:26:35
@magic_rb:matrix.redalder.orgmagic_rbim pretty sure11:26:43
@magic_rb:matrix.redalder.orgmagic_rb(and anyway, i wanna write my own for fun and profit)11:27:01
@emilazy:matrix.orgemilyI think they should if you give the container a userns which you should probably do for isolation anyway l11:27:24
@emilazy:matrix.orgemilybut sure :)11:27:27
@magic_rb:matrix.redalder.orgmagic_rbmy goal with this is starting with replacing much of the shell script non sense in nixng with small haskell binaries11:28:11
@magic_rb:matrix.redalder.orgmagic_rbbeen planning to do that for a while11:28:17
@magic_rb:matrix.redalder.orgmagic_rbwith UPX on top, it goes from 3.6MB to 700KB11:29:53
@magic_rb:matrix.redalder.orgmagic_rbnice11:29:54
@magic_rb:matrix.redalder.orgmagic_rbwe shold have a UPX post build hook thing11:30:16
@magic_rb:matrix.redalder.orgmagic_rb this is actually nice, writeHaskell actually creates a equally small binary 11:48:02
@froggymoded:matrix.org@froggymoded:matrix.org left the room.18:13:15
3 Aug 2025
@sternenseemann:systemli.orgsterni (he/him) MangoIV: will you need htree for GHC < 9.10 going forward? 10:39:36
@mangoiv.:matrix.orgMangoIVNo. this is intended.. Thank you for pining but since this has come up the second time now, I think I'm registered for maintainer, let me just fix it if it breaks in the future. :) 10:41:18
@mangoiv.:matrix.orgMangoIV(don't want you to be blocked on things like this :3)10:41:32
@sternenseemann:systemli.orgsterni (he/him) MangoIV: well we're far from blocking on anything, I was just cleaning up some stuff 10:50:39
@sternenseemann:systemli.orgsterni (he/him)Would be great if someone could look into this since there is no known fix yet https://github.com/typeclasses/chell/issues/510:50:54
@adrielus:matrix.orgprescientmoon changed their display name from Adriel to prescientmoon.14:31:42
4 Aug 2025
@mrcjk:matrix.orgMarc JakobiHas anyone else noticed a significant increase in memory when compiling Haskell packages with ghc 9.8.4 compared to ghc 9.6.6? I haven't been able to pinpoint it yet and I can't reproduce it outside of nix builds.09:45:42
@ners:nixos.devners Does this happen on the same nixpkgs pin, e.g. nix build nixpkgs#haskell.packages.ghc984.rhine vs nix build nixpkgs#haskell.packages.ghc966.rhine? 10:09:07
@mrcjk:matrix.orgMarc Jakobi
In reply to @ners:nixos.dev
Does this happen on the same nixpkgs pin, e.g. nix build nixpkgs#haskell.packages.ghc984.rhine vs nix build nixpkgs#haskell.packages.ghc966.rhine?
It doesn't even happen for all packages. I'm trying to build the same package with ghc 9.6, but it's failing to build singletons-th (or singletons-th_3_5), which is one of the dependencies - which kind of adds to my suspicion that this may be a template-haskell regression.
14:28:51
@mrcjk:matrix.orgMarc JakobiYep, no matter how I try to override or jailbreak packages, I can't seem escape dependency hell if I use another ghc version.15:13:23

Show newer messages


Back to Room ListRoom Version: 6