!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
1 May 2025
@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
@sternenseemann:systemli.orgsterni (he/him)cabal2nix emits this if there's no library component07:37:36
@hellwolf:matrix.orghellwolfI guess I missed something. I thought upon the merging of the latest haskell-updates branch, the default ghc should become 9.8? I have not seen that happen. (I don't depend on that, but I am just curious)10:28:26
@hellwolf:matrix.orghellwolfoh, my bad. It was not merged to master yet.10:29:11
@b:chreekat.netchreekat changed their profile picture.10:36:28
@maralorn:maralorn.demaralorn I recommend querying nixpkgs-bot with s 371032 😉 10:39:36
@maralorn:maralorn.demaralornRedacted or Malformed Event10:40:01
@alexfmpe:matrix.orgalexfmpethat's odd, I explicitly check for that12:31:02
@alexfmpe:matrix.orgalexfmpe v.isHaskellLibrary && !(lib.hasInfix "Setup haddock" v.haddockPhase); 12:31:04
@sternenseemann:systemli.orgsterni (he/him)well the haddock phase is always there is it not?12:31:58
@alexfmpe:matrix.orgalexfmpethe phase yes but not the infix12:34:20
@alexfmpe:matrix.orgalexfmpe
nix-repl> haskellPackages.attoparsec.isHaskellLibrary
true

nix-repl> haskellPackages.attoparsec.haddockPhase     
"runHook preHaddock\n\nrunHook postHaddock\n"
12:34:25
@alexfmpe:matrix.orgalexfmpe attoparsec has doHaddock = false on hackage-packages.nix 12:34:38
@alexfmpe:matrix.orgalexfmpethough this did reveal a somewhat confusing convention on my script with regards to defaults 12:36:58
@sternenseemann:systemli.orgsterni (he/him) probably due to doHaddockPhase | not (null internalLibNames) = False 12:52:29
@sternenseemann:systemli.orgsterni (he/him)Would be nice to figure out the ins and outs of the named libs stuff once and for all, maybe we can improve some stuff now12:53:12
@alexfmpe:matrix.orgalexfmpeah attoparsec does have internal lib yes12:53:27

Show newer messages


Back to Room ListRoom Version: 6