!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

713 Members
For discussions and questions about Haskell with Nix, cabal2nix and haskellPackages in nixpkgs | Current Docs: https://haskell4nix.readthedocs.io/141 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
15 Feb 2025
@mangoiv.:matrix.orgMangoIV
In reply to @magthe:tchncs.de

I have a feeling of cache.nixos.org not being very up-to-date with Haskell packages, is that the case?

The reason for the feeling is that I seem to end up building HLS from nixos-24.11 a lot.

Is that pkgs.haskell-language-server or pkgs.haskell.packages.${your-ghc-version}.haskell-language-server
10:58:39
@maralorn:maralorn.demaralorn
In reply to @magthe:tchncs.de

I have a feeling of cache.nixos.org not being very up-to-date with Haskell packages, is that the case?

The reason for the feeling is that I seem to end up building HLS from nixos-24.11 a lot.

As long as you are on a released commit this shouldn't be happening.
11:07:03
@sternenseemann:systemli.orgsterni (he/him) yeah, I'm very interested in what hsyl20 is working on / John has been working towards upstream as well. I've been holding out for a long time for something like that to materialize or all the hadrian regressions being fixed. The latter was probably never going to happen. Now the time has come where we can no longer backpin everything to 9.4 where hadrian doesn't agree with us, so I'll have to bite the bullet and figure a way to do this stuff with hadrian for now. Currently trying to find a way to do this without tricking hadrian into using the native logic, though I may just give up and do something similar to installStage1 13:03:55
@sternenseemann:systemli.orgsterni (he/him)The terminfo thing is a bit of an experiment on my part to see whether such hadrian patches are going to be reviewed / merged because I suspect that no one really wants to deal with it for one reason or another13:05:04
@magthe:tchncs.deMagnus It's pkgs.haskell.packages.ghc983.haskell-language-server. 20:33:37
@magthe:tchncs.deMagnusThat was my impression too, but my experience says otherwise.20:34:06
@magthe:tchncs.deMagnus* That was my understanding too, but my experience says otherwise.20:34:24
@mangoiv.:matrix.orgMangoIVI'm guessing that it just doesn't have hls build for any ghc's package set. the default ghc 9.8 for nixos 24.11 for eample is 9.8.2. 20:36:12
@mangoiv.:matrix.orgMangoIVand in fact, that one is fetched. 20:37:13
@magthe:tchncs.deMagnusSo only the default is built and cached?21:05:30
@maralorn:maralorn.demaralorn
In reply to @magthe:tchncs.de
So only the default is built and cached?
For every major ghc version only the default minor version is cached.
21:43:17

Show newer messages


Back to Room ListRoom Version: 6