| 1 May 2025 |
alexfmpe | Ah well, generated files get hidden diffs by default | 22:36:00 |
alexfmpe | Though in this case you'd get smaller diffs? | 22:36:17 |
alexfmpe | With the old cabal2nix output, having a few new deps would shift all the lines no? | 22:36:38 |
alexfmpe | * With the old cabal2nix output, having a few new deps would shift all the lines after them no? | 22:36:48 |
alexfmpe | Speaking of hackage-packages.nix, why are there so many doHaddock = false in there? | 22:37:38 |
alexfmpe | I thought my sweep for overrides script was bugged for haddock | 22:37:56 |
alexfmpe | Because barely any show up in configuration-common.nix | 22:38:20 |
| oak 🏳️🌈♥️ changed their display name from oak - mikatammi.fi to oak. | 23:17:55 |
| oak 🏳️🌈♥️ changed their display name from oak to oak 🫱⭕🫲. | 23:18:25 |
| 2 May 2025 |
thirdofmay18081814goya | nice, ty! | 00:07:42 |
cdepillabout | I wonder why it was decided to autoformat the generated files. hackage-packages.nix was pretty readable to begin with. | 06:51:42 |
sterni | cabal2nix emits this if there's no library component | 07:37:36 |
hellwolf | I 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 | oh, my bad. It was not merged to master yet. | 10:29:11 |
| chreekat changed their profile picture. | 10:36:28 |
maralorn | I recommend querying nixpkgs-bot with s 371032 😉 | 10:39:36 |
maralorn | Redacted or Malformed Event | 10:40:01 |
alexfmpe | that's odd, I explicitly check for that | 12:31:02 |
alexfmpe | v.isHaskellLibrary && !(lib.hasInfix "Setup haddock" v.haddockPhase); | 12:31:04 |
sterni | well the haddock phase is always there is it not? | 12:31:58 |
alexfmpe | the phase yes but not the infix | 12:34:20 |
alexfmpe | nix-repl> haskellPackages.attoparsec.isHaskellLibrary
true
nix-repl> haskellPackages.attoparsec.haddockPhase
"runHook preHaddock\n\nrunHook postHaddock\n"
| 12:34:25 |
alexfmpe | attoparsec has doHaddock = false on hackage-packages.nix | 12:34:38 |
alexfmpe | though this did reveal a somewhat confusing convention on my script with regards to defaults | 12:36:58 |
sterni | probably due to doHaddockPhase | not (null internalLibNames) = False | 12:52:29 |
sterni | 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 now | 12:53:12 |
alexfmpe | ah attoparsec does have internal lib yes | 12:53:27 |
alexfmpe | I can take a peek at the internal lib stuff, was looking into cabal2nix again to wrap up my conditionals branch anyway | 12:56:15 |
sterni | I think most of it is figuring out how to do it with Setup.hs in the generic builder, i.e. do we have to install internal libs, do we have to install named public libs and how do we do that with Setup.hs | 13:12:40 |
sterni | installPhase is really weird, but there are likely reasons for the crazy conditionals in there | 13:12:56 |