Haskell in Nixpkgs/NixOS | 718 Members | |
| For discussions and questions about Haskell with Nix, cabal2nix and haskellPackages in nixpkgs | Current Docs: https://haskell4nix.readthedocs.io/ | 144 Servers |
| Sender | Message | Time |
|---|---|---|
| 2 Mar 2026 | ||
| For reproducibility, I should also mention this: | 21:28:03 | |
| * Works fine for me. | 21:29:28 | |
| 3 Mar 2026 | ||
I figured it out. I am using TemplateHaskell and for that to work with -prof I needed to add -fexternal-interpreter. GHC’s error message indicated that as a possible solution but I didn’t explore it. 🤦 | 01:34:03 | |
| 4 Mar 2026 | ||
| in this case updating should help recent versions of nixpkgs build cabal2nix against Cabal 3.14 | 21:21:58 | |
| 5 Mar 2026 | ||
| 17:13:04 | ||
| 6 Mar 2026 | ||
| 18:41:12 | ||
| 8 Mar 2026 | ||
| 07:37:36 | ||
I have a strange situation where building a Haskell package on aarch64-darwin results in more references than expected (as reported by nix-store -q --references), and most of them are not actually present in the output (at least grep -ra doesn't find them). Does this ring a bell for anyone? To reproduce, clone https://github.com/the1lab/1lab and run nix-build -A shakefile. | 15:48:14 | |
| I recall hearing of a much alike issue before. Have you looked at the output of nix why-depends --all --precise? | 15:52:37 | |
| Thanks, that helped me figure out that the references are through symbolic links, which grep doesn't follow by default. | 16:01:40 | |
| 9 Mar 2026 | ||
| I finally discovered what breaks HLS on 9.12.3 and its a bug that has been present in Cabal 3.14 all along, but was masked by a bug that has been fixed in Cabal 3.14.2.0 lol https://github.com/haskell/cabal/issues/11598 | 15:03:54 | |
| 15:22:44 | |
IMO a bad change, though, since it doesn't make sense that build-tool-depends are available at test suite run time. Cabal should have rather added a different mechanism (that has been needed since forever) for this. | 15:23:50 | |
| You typoed the name of the executable on the report to cabal-add :P (you wrote fourmolu) | 16:11:15 | |
| Oh yay more build-tool-depends annoyances | 18:13:04 | |
| https://github.com/well-typed/haskell-debugger/pull/203 | 18:13:07 | |
| Which quickly got reverted because cabal somehow failed to build cabal | 18:15:21 | |
| https://github.com/well-typed/haskell-debugger/issues/206 | 18:16:06 | |
| * Oh yay more build-tool-depends annoyances. I recently ran into | 18:16:34 | |
| 10 Mar 2026 | ||
| chreekat: well it's forever now… | 10:00:30 | |
| 11:07:59 | ||
| 11 Mar 2026 | ||
| 00:38:04 | ||
| I'm truly confused... https://github.com/NixOS/nixpkgs/commit/34f316a97a3e0e69bea9b44cd1142f7e73557437 broke haskell.packages.ghc914.haskell-debugger - reverting the commit fixes it the reason is that the older hie-bios's bounds do not build with 9.14 boot libs however, switching back to recent hie-bios in configuration-9.14.nix causes failures in the test suite when building hie-bios??? oddly enough, the older hie-bios does build with jailbreak | 14:52:55 | |
| * I'm truly confused... https://github.com/NixOS/nixpkgs/commit/34f316a97a3e0e69bea9b44cd1142f7e73557437 broke haskell.packages.ghc914.haskell-debugger - reverting the commit fixes it the reason is that the older hie-bios's bounds do not build with 9.14 boot libs however, switching back to recent hie-bios in configuration-9.14.nix causes failures in the test suite when building hie-bios??? the older hie-bios does build with jailbreak, doesn't seem like much changed for 9.14: https://github.com/haskell/hie-bios/commits/master/ | 14:53:23 | |
| alexfmpe: you probably lose an override that is otherwise applied to hie-bios | 19:06:52 | |
| the order of the overlays matters and it is not always ideal | 19:07:13 | |
| Aaaah yeah could be, I PR'd jailbreak for now since it works | 19:12:42 | |
| 12 Mar 2026 | ||
| alexfpe: https://hydra.nixos.org/build/323993958 | 20:35:21 | |
| * alexfmpe: https://hydra.nixos.org/build/323993958 | 20:35:26 | |
| alexfmpe: probably a regression from 9.12.2 -> 9.12.3, curious | 21:47:51 | |