!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
29 Apr 2025
@woobilicious:matrix.orgwoobiliciousshould be the same version, I think it's just a quirk of the package, I was using it to pattern match so I just changed my code, which was required for the next step anyway.07:08:52
@woobilicious:matrix.orgwoobiliciousConverting a bash script to Haskell just because I can lol.07:10:36
@malteneuss:matrix.org@malteneuss:matrix.org joined the room.08:48:25
@malteneuss:matrix.org@malteneuss:matrix.org left the room.10:33:14
30 Apr 2025
@devalot:matrix.org@devalot:matrix.org left the room.09:06:01
@JoelMcCracken:matrix.orgJoelMcCracken curious, on hackage it appears that typed-process had a Process type since the first published version 13:32:52
@malteneuss:matrix.org@malteneuss:matrix.org joined the room.16:56:29
1 May 2025
@nrs-status:matrix.orgthirdofmay18081814goyaIs there a way to package a cabal-install such that it comes with a user config?16:59:58
@nrs-status:matrix.orgthirdofmay18081814goyai.e. with what would be usually in $HOME/.cabal/config17:00:29
@nrs-status:matrix.orgthirdofmay18081814goyaprobably the way to do this is to have nix-direnv read a shell with a shellHook specifying a path to a config right17:09:52
@sternenseemann:systemli.orgsterni (he/him) runCommand "my-cabal" { nativeBuildInputs=[makeWrapper];} "mkdir -p $out/bin; makeWrapper ${cabal-install}/bin/cabal "$out/bin/cabal" --add-flags "--config-file ${my-config}" probably 20:06:28
@rosariopulella:matrix.orgrosariopulella changed their display name from Rosario Pulella to Rosuavio.20:08:02
@maralorn:maralorn.demaralornOh, boy … I am really glad that we have an autoformater now. It is just sad that it feels like it is optimizing for maximal line count. which just means that my eye can see less code at a time and needs more caching and time to read and understand a function. https://github.com/NixOS/nixpkgs/pull/403343/files#diff-06cdf278a2cf7f0e7793a4a8d19cbdd6e6a3a3722482708833ef9270b65d7d56R2990-R300622:07:47
@maralorn:maralorn.demaralornAlso I assume that 99% of contributors don’t know that the formatter preserves some newlines which actually stay away when you remove them.22:09:06
@alexfmpe:matrix.orgalexfmpeYeah I don't much care for the specific format conventions chosen22:19:23
@alexfmpe:matrix.orgalexfmpehackage-packages.nix is almost a million lines now22:19:59
@alexfmpe:matrix.orgalexfmpeNeed to page down a few times even after search-navigation to "foopackage"22:20:31
@maralorn:maralorn.demaralornI lobbied a lot for a more compact layout, but I got overruled (which is fair).22:33:37
@maralorn:maralorn.demaralornEspecially I understand that diffs are a large concern in nixpkgs.22:34:31
@alexfmpe:matrix.orgalexfmpeAh well, generated files get hidden diffs by default22:36:00
@alexfmpe:matrix.orgalexfmpeThough in this case you'd get smaller diffs? 22:36:17
@alexfmpe:matrix.orgalexfmpeWith the old cabal2nix output, having a few new deps would shift all the lines no?22:36:38
@alexfmpe:matrix.orgalexfmpe* With the old cabal2nix output, having a few new deps would shift all the lines after them no?22:36:48
@alexfmpe:matrix.orgalexfmpeSpeaking of hackage-packages.nix, why are there so many doHaddock = false in there?22:37:38
@alexfmpe:matrix.orgalexfmpeI thought my sweep for overrides script was bugged for haddock22:37:56
@alexfmpe:matrix.orgalexfmpeBecause barely any show up in configuration-common.nix22:38:20
@oak:universumi.fioak πŸ³οΈβ€πŸŒˆβ™₯️ changed their display name from oak - mikatammi.fi to oak.23:17:55
@oak:universumi.fioak πŸ³οΈβ€πŸŒˆβ™₯️ changed their display name from oak to oak πŸ«±β­•πŸ«².23:18:25
2 May 2025
@nrs-status:matrix.orgthirdofmay18081814goyanice, ty!00:07:42
@cdepillabout:matrix.orgcdepillabout I wonder why it was decided to autoformat the generated files. hackage-packages.nix was pretty readable to begin with. 06:51:42

Show newer messages


Back to Room ListRoom Version: 6