!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

Load older messages


SenderMessageTime
12 Feb 2025
@alexfmpe:matrix.orgalexfmpefourmulu_0_18_0_0 attribute is around as is 0_17_0002:23:58
@alexfmpe:matrix.orgalexfmpe* fourmulu_0_18_0_0 attribute is present in hackage-packages.nix as is the 0_17_0_0 one02:24:29
@ashinnv:matrix.orgMr Mayhem changed their display name from Mississippi_metalhead_mailman_maybe_magnolia_mayhem to ಊೌೋᭂᜲௌ᩿ۣۜᴭ¹ᶿ꥟.03:03:54
@alex:tunstall.xyzAlex
In reply to @eldritchcookie:matrix.org
i've spent the better part of today to get fourmolu to compile on ghc 9.12 but one of the fixes need fourmolu version 0.18.0.0 but the latest one available from nixpkgs is 0.16.2.0 what is the solution?

Nixpkgs always has both the version recommended by Stackage (from whichever LTS resolver is tracked by Nixpkgs) and the latest version on Hackage (as of when it was last pulled from).

The fourmolu_0_18_0_0 package is the latter, while the Nixpkgs default is to use the former because that's more likely to build on the default GHC.

04:06:44
@ashinnv:matrix.orgMr Mayhem changed their display name from ಊೌೋᭂᜲௌ᩿ۣۜᴭ¹ᶿ꥟ to 𒀱.04:10:37
@sternenseemann:systemli.orgsterni (he/him) angerman: https://gitlab.haskell.org/ghc/ghc/-/merge_requests/13932 somewhat interesting for haskell.nix 15:03:28
@ashinnv:matrix.orgMr Mayhem changed their display name from 𒀱 to 𒀱Lord Mayhem of the Magnolias.19:45:12
14 Feb 2025
@sternenseemann:systemli.orgsterni (he/him) alexfmpe: https://hydra.nixos.org/build/289434054 01:13:37
12 Feb 2025
@angerman:matrix.organgerman sterni: nice! We are moving away from Hadrian at IOG. 21:26:05
14 Feb 2025
@alexfmpe:matrix.orgalexfmpehuh looks like there was a common jailbreak in master that got removed at some point during current PR added it back to 9.12 overrides https://github.com/NixOS/nixpkgs/pull/38191601:39:04
15 Feb 2025
@alexfmpe:matrix.orgalexfmpe https://github.com/NixOS/nixpkgs/pull/382159 gets haskell.packages.ghc810.miso building again
however, I just checked and haskell.packages.ghcjs810.miso was already broken in master soooo...moot point?
00:21:13
@alexfmpe:matrix.orgalexfmpeseems to be due several packages present in LTS moved to js backend support without keeping ghcjs compatibility00:24:13
@alexfmpe:matrix.orgalexfmpeswitching cpu from "js" to "javascript" and what not00:25:38
@alexfmpe:matrix.orgalexfmpeI wouldn't bet on someone being motivated to work on adding backward compat to these packages rather than working on moving to 9.12 js backend00:28:32
@alexfmpe:matrix.orgalexfmpeso maybe ghcjs is no longer a reason to keep 8.10 around00:28:48
@alexfmpe:matrix.orgalexfmpethat is, in the hypothetical case of someone using ghcjs with recent-ish nixpkgs00:31:12
@maralorn:maralorn.demaralornAh, thank you for figuring that out.01:46:59
@maralorn:maralorn.demaralornYeah, especially since we are also resource constraint let’s focus on making the new thing work well instead of investing more work into the old thing.01:47:45
@dmjio:matrix.org@dmjio:matrix.orgyay05:07:42
@benjb83:matrix.orgBenjB83 joined the room.10:20:40
@magthe:tchncs.deMagnus

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.

10:34:20
@benjb83:matrix.orgBenjB83 changed their display name from Benjamín Buske to BenjB83.10:43:12
@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

Show newer messages


Back to Room ListRoom Version: 6