9 Jul 2025 |
Patrick Steele | My flake is https://pastebin.com/hUxz89uA right now. I've tried various incantations from https://github.com/NixOS/nixpkgs/blob/master/doc/languages-frameworks/haskell.section.md to try to coerce profiling to work. | 02:20:01 |
Patrick Steele | I'm wondering whether my use of pkgs.haskellPackages , as opposed to e.g. pkgs.haskell.packages.ghc984 , is somehow an issue | 02:21:34 |
eldritchcookie | for those that use the nixpkgs haskell infrastructure on ghc 9.12.2 do you have rename capability with hls? i am trying to narrow down where the issue is and while it seems that version 2.11.0.0 has full support i was unable to find if the version 2.10.0.0 has the hls-rename-plugin | 11:35:17 |
chreekat | i've thought about this | 12:33:53 |
maralorn | I am pretty sure unison uses haskell.nix yes, that is a ton of IFD. However of course building the exact derivation twice should work. | 14:04:09 |
maralorn | On which plattform is this? | 14:04:32 |
maralorn | Generally the nixpkgs infrastructure is already profiling enabled no intervention required. | 14:05:09 |
maralorn | Maybe however you don’t want to use -prof and instead --enable-library-profiling. Not sure. | 14:05:54 |
maralorn | Yeah, 2.10 had a lot of plugins disabled on 9.12 and had that documented wrongly in the support matrix in their user guide. | 14:07:00 |
sellout | Yeah, building the derivation twice on the same machine works. The trouble (I think) is figuring out what to push to the cache so that when a fresh machine (e.g., CI runner) does nix build .#all , it can relatively quickly download the cached all closure. But (again, I think) it ends up building the world just to evaluate all.drv , when it should be able to pull all.drv from the cache as well … which, uh, I guess makes it clear that I should just need to push all.drv as well … which I’m pretty sure I have been. So now some more digging to see how I messed that up. | 16:48:52 |
sellout | I know the Cachix incantation removes the .drv s before pushing, but I had added those back in. | 16:49:42 |
sellout | Thanks for the response – it at least gives me more to explore. | 16:51:15 |
11 Jul 2025 |
| Jose Storopoli joined the room. | 17:50:21 |
12 Jul 2025 |
Patrick Steele | Late response, but NixOS on WSL2. | 02:17:45 |
13 Jul 2025 |
Pierre Thierry | I want HLS for GHC 9.6.6 to match what a Stack project is using, so I tried a shell.nix file with:
pkgs.mkShell {packages = [pkgs.haskell.packages.ghc966.ghcWithPackages (p: [p.haskell-language-server])];}
But the test suite of zlib fails on check compress large chunk: Test suite tests: FAIL
| 18:11:02 |
Pierre Thierry | I'm not sure how to debug/fix that… | 18:11:10 |
Pierre Thierry | (is there a better way to get the HLS for GHC 9.6.6?) | 18:30:36 |
maralorn | @kephaspierre:matrix.org We need more context for that error message. Is it while building the nix shell failing the zlib derivation? There are different ways but at this point I don't see how they would fix the problem. | 22:18:59 |
alexfmpe | yay, gi-foo packages got fixed with LTS bump | 22:50:54 |
alexfmpe | I was utterly on the dark about that | 22:51:20 |
14 Jul 2025 |
Pierre Thierry | In reply to @maralorn:maralorn.de @kephaspierre:matrix.org We need more context for that error message. Is it while building the nix shell failing the zlib derivation? There are different ways but at this point I don't see how they would fix the problem. Yes, the nix-shell is built just fine with ghc963 but fails with ghc966 . | 00:09:44 |
sterni | alexfmpe: https://github.com/haskell-gi/haskell-gi/issues/472#issuecomment-3041892857 | 08:22:23 |
sterni | 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 https://www.stackage.org/lts-24 | 20:59:47 |
alexfmpe | seems my packages work there
which is good because I'm about to disappear into a black hole for 3 weeks | 23:36:31 |
15 Jul 2025 |
sterni | I have a good feeling about this LTS version (clueless) | 09:20:07 |
sterni | maralorn: have you played around with nix-eval-jobs before? | 09:21:30 |
sterni | Did we intentionally remove this job? https://hydra.nixos.org/eval/1816888#tabs-removed can't remember anything | 09:30:49 |
maralorn | Yeah, the fact that it arrived so fast is probably a good sign. | 09:31:40 |
maralorn | Not really, I think. Why? | 09:32:10 |
sterni | we need to use it now because hydra-eval-jobs got killed | 09:32:36 |