| 31 May 2026 |
whispers [& it/fae] | 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 |
alexfmpe | probably https://github.com/NixOS/nixpkgs/blob/haskell-updates/pkgs/development/haskell-modules/configuration-common.nix | 13:33:21 |
alexfmpe | or configuration-nix.nix, if it's due to nix(pkgs) specific reasons, rather than general distro things | 13:34:19 |
sterni | if the library is removed, the dependency will also be removed on the next regeneration. | 14:03:46 |
sterni | libs can be marked broken in the generator's configuration | 14:04:37 |
aiya | Redacted or Malformed Event | 17:44:16 |
whispers [& it/fae] | seems to work, thank you both! | 19:37:51 |
| 1 Jun 2026 |
bglgwyng | Is is possible to use wasm compiler with pkgs.haskellPackages now? It doesn't seem so. | 13:33:25 |
alexfmpe | TL;DR: not yet
https://github.com/NixOS/nixpkgs/pull/225000 | 13:59:22 |
alexfmpe | Use ghc-wasm-meta for now | 13:59:34 |
| 3 Jun 2026 |
| Jade w changed their display name from Philip W to Jade w. | 15:01:19 |
| 4 Jun 2026 |
| Echo changed their profile picture. | 04:23:34 |
sterni | I think downgrading is no longer an option. https://github.com/NixOS/nixpkgs/pull/527962 | 12:53:48 |
Artem | sterni: 4.17 is good enough: it doesn't break the PVP... | 12:54:51 |
Artem | 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 |
alexfmpe | 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 |
alexfmpe | * 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 |
alexfmpe | huuuuh technically the dependency is on HLS's cabal file, but on the hls-hlint-plugin sublibrary | 14:53:54 |
alexfmpe | 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 |
sterni | because the conditionals are resolved with impl being ghc 9.12 | 17:44:09 |
alexfmpe | Aaah | 17:44:22 |
| 6 Jun 2026 |
hellwolf | trying to fixing my part in haskell-updates. however, facing this optics package issue Is it being dealt:
error: Cannot build '/nix/store/6fj48f1agb8y7wyvjxqv8lmc6jabaaxq-optics-0.4.2.1.drv'.
Reason: builder failed with exit code 1.
Output paths:
/nix/store/2gvmjpzcgqa8xhq47mz9xrd5w2hm86pw-optics-0.4.2.1
/nix/store/xkdgyjjf6wvb5lp51m940ffrg81lwywf-optics-0.4.2.1-doc
| 11:38:19 |
hellwolf | * trying to fixing my part in haskell-updates. however, facing this optics package issue Is it being dealt:
error: Cannot build '/nix/store/6fj48f1agb8y7wyvjxqv8lmc6jabaaxq-optics-0.4.2.1.drv'.
Reason: builder failed with exit code 1.
Output paths:
/nix/store/2gvmjpzcgqa8xhq47mz9xrd5w2hm86pw-optics-0.4.2.1
/nix/store/xkdgyjjf6wvb5lp51m940ffrg81lwywf-optics-0.4.2.1-doc
Last 25 log lines:
> +++ OK, passed 100 tests.
> set (lens f g) = g: OK
> +++ OK, passed 100 tests.
> Prism
> review (prism f g) = f: OK
> +++ OK, passed 100 tests.
> matching (prism f g) = g: OK
> +++ OK, passed 100 tests.
> AffineTraversal
> matching (atraversal f g) = g: OK
> +++ OK, passed 100 tests.
> set (atraversal f g) ~= flip g: OK
> +++ OK, failed as expected. Falsified (after 5 tests and 20 shrinks):
> {2->Left 1, _->Right 1}
> {_->2}
> 2
> 1
> 1 /= 2
> isRight (f s) ==> set (atraversal f g) = flip g: OK
> +++ OK, passed 100 tests; 84 discarded.
>
> 3 out of 127 tests failed (0.01s)
> Test suite optics-tests: FAIL
> Test suite logged to: dist/test/optics-0.4.2.1-optics-tests.log
> 0 of 1 test suites (0 of 1 test cases) passed.
For full logs, run:
nix log /nix/store/6fj48f1agb8y7wyvjxqv8lmc6jabaaxq-optics-0.4.2.1.drv
| 11:38:39 |
alexfmpe | That looks like a legitimate test failure? Maybe file an issue in the library? | 13:00:45 |
hellwolf |
- I checked out the latest https://github.com/well-typed/optics
- ran cabal test optics
- with ghc910, passes
- with ghc912, 1 failed.
| 14:01:08 |
alexfmpe | Huh same seed? Maybe it's some ghc bug or some sketchy optimizations thing | 14:03:11 |
alexfmpe | Definitely file issue | 14:03:24 |
hellwolf | same seed.
reported.
Fwiw, the haskell-updates build produces 2 more errors. | 14:09:45 |
| 7 Jun 2026 |
sterni | Let's hope this goes away with GHC 9.12.5-rc1 :) | 19:47:21 |
| WorldsGoneMad joined the room. | 20:34:18 |