Haskell in Nixpkgs/NixOS | 711 Members | |
| For discussions and questions about Haskell with Nix, cabal2nix and haskellPackages in nixpkgs | Current Docs: https://haskell4nix.readthedocs.io/ | 140 Servers |
| Sender | Message | Time |
|---|---|---|
| 8 Oct 2025 | ||
| GHC 9.10.3 mini retroperspective: https://discourse.nixos.org/t/call-for-contributions-we-are-updating-to-ghc-9-10-3/67756/6?u=sternenseemann | 21:32:50 | |
| On reflection, 1 month + 20 days is at least a big improvement to compared to the 9.8 update, though it felt like it was taking forever this time, too. Excusable at least, given how busy some of us were and that we got unlucky with the text bug in 2.1.2. | 21:35:17 | |
| 9 Oct 2025 | ||
| is there a way to define arbitrary variables in a .cabal file that are maintained in the outputted 2nix | 07:16:05 | |
| Well I know there are extension fields supported in .cabal files , but I don't know if cabal2nix knows or cares about them. (Extension fields are only documented in one place to my knowledge: https://cabal.readthedocs.io/en/stable/file-format-changelog.html#cabal-version-1-1-4) | 10:51:38 | |
In reply to @ivy:faggot.shno. (what for?) | 12:33:02 | |
| okay ill add some and then add to cabal 2nix | 12:35:33 | |
| i want to track the verson of the karabiner driver in kmonad upstream | 12:36:07 | |
| ill patch cabal2nix and do a pr for that for extension fields (i am very experienced with haskell) | 12:36:43 | |
| should these x- fields be put into passthru or to the derivation itself | 12:41:22 | |
| i’m feeling passthru therefore i should write a passthru field to derivation adt | 12:42:05 | |
| idk what do yall think | 12:42:18 | |
| but also could be cool to pass through to extra attributes | 12:45:48 | |
| well does kmonad even set these x-fields? would Hackage preserve them? | 13:05:49 | |
| in principle seems like a feasible idea, passthru seems about right though x-revision should continue to be treated specially probably | 13:06:51 | |
| wonder what other x- fields exist in the wild | 13:07:13 | |
| not yet it does, i will make it tho | 13:10:16 | |
| after i do that cabal2nix change ill do a run on hackage2nix and see what packages change | 13:10:48 | |
| 14:49:06 | ||
| 14:50:05 | ||
| 14:54:27 | ||
| After upgrading nix version from 2.28.4 -> 2.28.5 I am getting this error:
Any known solution? | 19:30:50 | |
| Are you sure this is because of a nix update? Seems kinda unlikely. | 19:32:31 | |
| Can you share the command you ran? | 19:32:49 | |
| Maybe a tree listing of /nix/store/kbv83vqvvc3gczpfz84jycrcp00yx81y-source can be informative. | 19:34:26 | |
| I had declared the flake input as So not related to haskell. Thanks for the quick reaction! | 19:49:49 | |
| 10 Oct 2025 | ||
| the cabal2nix shell keeps failing because it keeps compiling ghc then filling my computer | 02:28:39 | |
| sterni: Wolfgang Walther I had an insanely busy last two weeks and my boss just decided to give our huge infra structure update (ghcjs 8.6 -> ghc+wasm 9.12) into production this evening. So I am rather confident that I won’t succeed doing anything on our PR. | 15:57:03 | |
| But I guess we are kinda flying blind because of a rebuild right now anyway? | 15:58:39 | |
| I fixed everything except for HLS pretty much 🫠 | 18:25:52 | |
| And how broken is that?^^ | 18:26:20 | |