| 28 Sep 2025 |
bglgwyng | Maybe haskell.nix uses its own patched version? | 11:47:06 |
bglgwyng | No, it doesn't. | 13:20:35 |
sterni | maybe it is possible with cabal-install, but not Setup.hs? though the cabal(1) man page doesn't seem to indicate this… | 16:33:29 |
| 29 Sep 2025 |
| @tomodachi94:matrix.org left the room. | 03:15:05 |
bglgwyng | I still can't reproduce haskell.nix's behavior, which I didn't check if it work though. But I'm failing with both cabal-instsall and Setup.hs. | 03:28:08 |
| ivy joined the room. | 04:22:03 |
ivy | i wanna see if i can fix kmonad on macos | 04:23:39 |
ivy | im unsure how i can "unbreak" like i deleted the line from main.yaml | 04:23:58 |
ivy | but how do i regenerate package-list | 04:24:11 |
ivy | cause it builds for me on my mac | 04:49:30 |
ivy | so idk why considered "broken" | 04:49:35 |
ivy | if its the drivers i have a pr for that | 04:49:45 |
bglgwyng | I hardwired CABAL_CONFIG and CABAL_DIR as Nix store paths in nix-x-cabal. And it broke hls since it tries to build on start up emitting intermidiate outputs in CABAL_DIR.
Is it basically a bad idea to do so, even though I can figure out how to work around this specific issue? | 06:11:52 |
bglgwyng | * I hardwired CABAL_CONFIG and CABAL_DIR as Nix store paths in nix-x-cabal. And it broke HLS since it tries to build on start up emitting intermidiate outputs in CABAL_DIR.
Is it basically a bad idea to do so, even though I can figure out how to work around this specific issue? | 06:24:51 |
sterni | ivy: I've looked into it and it seems like it was broken at one point and the Nixpkgs maintainer had no access to a Darwin machine to investigate the failure. Probably has been resolved by Apple SDK changes or whatever. I've proposed the correct meta data update at https://github.com/NixOS/nixpkgs/pull/447134. | 10:35:13 |
sterni | It is currently not (easily) possible to regenerate hackage-packages.nix on Darwin since the tool that does it uses a fs based database that can't be on a case insensitive file system. | 10:36:09 |
ivy | done it all | 11:51:37 |
ivy | ahh easy | 11:51:42 |
ivy | works on mine perfectly | 11:51:46 |
ivy | let's get that metadata fixed then, and i can rebase on it | 11:52:20 |
ivy | also sterni i dont think ur ofborg will work | 11:54:26 |
| 30 Sep 2025 |
bglgwyng | Does nixpkgs.haskell do sometihng special on HLS, wrapping with some env vars or something?
I found that HLS can't find the right package db I configured. | 04:23:10 |
bglgwyng | https://discord.com/channels/280033776820813825/505370075402862594/1422409401859575969
this is relevant | 04:23:18 |
maralorn | No, it doesn’t. HLS asks e.g. cabal-install, cabal-install looks at ghc. ghc has the right package db. It’s relevant that you start hls from the right nix-shell for your projetc so that the correct ghc is available. | 07:11:10 |
MangoIV | any ETA for 9.14 and HLS 2.12? Something I can help with there? | 15:36:18 |
MangoIV | * any ETA for 9.14 and HLS 2.12? Anything I can help with there? | 15:36:25 |
maralorn | Are those things even released?? | 15:50:52 |
maralorn | The ETA is next hackage bump after release -> fixing hls -> merging haskell-updates into staging -> staging goes to staging-next goes to master. | 15:52:22 |
maralorn | Sadly requirements put upon us by the nixos release process are increasingly in tension with the high velocity rollout bleeding edge users require. | 15:53:07 |
maralorn | I guess that takes usually 4 to 8 weeks … | 15:53:23 |