Haskell in Nixpkgs/NixOS | 754 Members | |
| For discussions and questions about Haskell with Nix, cabal2nix and haskellPackages in nixpkgs | Current Docs: https://haskell4nix.readthedocs.io/ | 151 Servers |
| Sender | Message | Time |
|---|---|---|
| 31 May 2026 | ||
hii! i have a procedural haskellPackages question. i have a few packages i'd eventually like to mark broken (haskellPackages.gi-soup2, haskellPackages.spike) because they depend on the libsoup_2_4 derivation, and i'd like to get rid of that (not yet, but planning to look into it soon). the dependency is defined in hackage-packages.nix, but aiui that's not something you're supposed to touch directly. where in nixpkgs would i (a) drop the dependency on the system library so that we don't get eval failures, and (b) mark it as broken? i'm looking through the manual and haskell-modules/HACKING.md but can't find anything that seems immediately relevant | 02:02:58 | |
| probably https://github.com/NixOS/nixpkgs/blob/haskell-updates/pkgs/development/haskell-modules/configuration-common.nix | 13:33:21 | |
| or configuration-nix.nix, if it's due to nix(pkgs) specific reasons, rather than general distro things | 13:34:19 | |
| if the library is removed, the dependency will also be removed on the next regeneration. | 14:03:46 | |
| libs can be marked broken in the generator's configuration | 14:04:37 | |
| Redacted or Malformed Event | 17:44:16 | |
| seems to work, thank you both! | 19:37:51 | |
| 1 Jun 2026 | ||
Is is possible to use wasm compiler with pkgs.haskellPackages now? It doesn't seem so. | 13:33:25 | |
| TL;DR: not yet https://github.com/NixOS/nixpkgs/pull/225000 | 13:59:22 | |
| Use ghc-wasm-meta for now | 13:59:34 | |
| 3 Jun 2026 | ||
| 15:01:19 | ||
| 4 Jun 2026 | ||
| 04:23:34 | ||
| I think downgrading is no longer an option. https://github.com/NixOS/nixpkgs/pull/527962 | 12:53:48 | |
| sterni: 4.17 is good enough: it doesn't break the PVP... | 12:54:51 | |
| also, sterni , regarding https://github.com/NixOS/nixpkgs/pull/521260#issuecomment-4622508007 let me know what you think. I think https://github.com/NixOS/nixpkgs/pull/520243 looks much better than the last time you looked at it. Even it's LLM-assisted, I think it's a good step forward. | 14:02:50 | |
| on our stackage nightly bump, HLS is broken on 9.10 due to apply-refact what I don't understand is how we made it work on master as that dep was always there on cabal but was missing from hackage-packages.nix | 14:52:34 | |
| * on our stackage nightly bump, HLS is broken on 9.10 due to its dep, apply-refact, being broken on 9.10 period what I don't understand is how we made it work on master as that dep was always there on cabal but was missing from hackage-packages.nix | 14:52:47 | |
huuuuh technically the dependency is on HLS's cabal file, but on the hls-hlint-plugin sublibrary | 14:53:54 | |
| we've been adding apply-refact manually https://github.com/NixOS/nixpkgs/blob/0a130039b0ecb0f9690581660080baca073fdd5a/pkgs/development/haskell-modules/configuration-common.nix#L237 which makes sense given the dep wasn't on hackage-packages.nix (presumably due to it being behind a cabal conditional) but then why does the dep show up now | 14:59:46 | |
| because the conditionals are resolved with impl being ghc 9.12 | 17:44:09 | |
| Aaah | 17:44:22 | |
| 6 Jun 2026 | ||
| trying to fixing my part in haskell-updates. however, facing this optics package issue Is it being dealt:
| 11:38:19 | |
| * trying to fixing my part in haskell-updates. however, facing this optics package issue Is it being dealt:
| 11:38:39 | |
| That looks like a legitimate test failure? Maybe file an issue in the library? | 13:00:45 | |
| 14:01:08 | |
| Huh same seed? Maybe it's some ghc bug or some sketchy optimizations thing | 14:03:11 | |
| Definitely file issue | 14:03:24 | |
| same seed. reported. Fwiw, the haskell-updates build produces 2 more errors. | 14:09:45 | |
| 7 Jun 2026 | ||
| Let's hope this goes away with GHC 9.12.5-rc1 :) | 19:47:21 | |
| 20:34:18 | ||