!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

724 Members
For discussions and questions about Haskell with Nix, cabal2nix and haskellPackages in nixpkgs | Current Docs: https://haskell4nix.readthedocs.io/ | More Nix: #community:nixos.org | More Haskell: #haskell-space:matrix.org145 Servers

Load older messages


SenderMessageTime
2 Apr 2025
@me:linj.techlinj Any ideas to unbreak cabal-add? 13:58:11
@me:linj.techlinj * Any ideas to unbreak cabal-add? It is a dependency of HLS 2.10.0.0. 14:02:23
@me:linj.techlinj * Any ideas how to unbreak cabal-add? It is a dependency of HLS 2.10.0.0. 14:03:15
@alexfmpe:matrix.orgalexfmpeDidn't I fix this?15:38:10
@alexfmpe:matrix.orgalexfmpehttps://github.com/NixOS/nixpkgs/pull/39533915:39:10
@maralorn:maralorn.demaralornRedacted or Malformed Event15:48:17
@hellwolf:matrix.orghellwolfI made my project work with 9.12.1. Gonna pin my nix flake lockfile to the current branch :D17:07:49
@hellwolf:matrix.orghellwolf* I made my project work with 9.12.1. Gonna pin my nix flake lockfile to the current haskell-updates branch :D17:07:55
@hellwolf:matrix.orghellwolfThank you for all your work :)17:08:06
@tek:tryp.iotek changed their display name from torsten to tek.18:06:46
3 Apr 2025
@hellwolf:matrix.orghellwolf
In reply to @alexfmpe:matrix.org
https://github.com/NixOS/nixpkgs/pull/395339

so, with that branch lsp is working for ghc 912 now? I will give it a try. That stopped me from updating my project from switching to 9.12.

Btw, would 9.12.2 make it there too?

06:24:53
@hellwolf:matrix.orghellwolf* so, with that branch, HLS works for ghc 912 too? I will give it a try. That stopped me from updating my project from switching to 9.12. Btw, would 9.12.2 make it there too? 06:25:27
@qyliss:fairydust.spaceAlyssa Ross
In reply to @sternenseemann:systemli.org
Alyssa Ross: GHC supports being bootstrapped with the two major versions before it officially (so 9.8 can bootstrap 9.10 and 9.12). Self bootstrapping often works though it probably requires some tinkering. It's probably worth investigating whether 9.8 can bootstrap 9.8 since we're currently upgrading to that version.
Looks like it just works! I'll open a PR and we can figure out details :)
10:58:57
@alex:tunstall.xyzAlex

NB: Isn't self-booting supposed to work for every version?

I don't see how stage 2 could be compiled if stage 1 can't be compiled by an identical stage 0.

11:30:11
@alexfmpe:matrix.orgalexfmpe
In reply to @hellwolf:matrix.org
so, with that branch, HLS works for ghc 912 too? I will give it a try. That stopped me from updating my project from switching to 9.12.
Btw, would 9.12.2 make it there too?
That PR has been merged, so you want haskell-updates branch really. Can't say I've tried HLS 2.10 yet and there were also a couple reports of seg faults over at #haskell-language-server:matrix.org so there might even be a 2.11 soon
12:06:54
@alexfmpe:matrix.orgalexfmpe * That PR has been merged, so you want haskell-updates branch really. Can't say I've tried HLS 2.10 yet and there were also a couple reports of seg faults over at #haskell-language-server:matrix.org so there might even be a new release soon 12:47:38
@alexfmpe:matrix.orgalexfmpealso, haskell-updates has 9.8 as default ghc, but 9.12.2 is there and the default ghc91212:49:04
@alexfmpe:matrix.orgalexfmpeI'm not sure exactly how/when the caching jobs work, but I expect as long as 9.12 isn't the default, you'll have cached compiler but not cached packages12:50:11
@alex:tunstall.xyzAlex
In reply to @alexfmpe:matrix.org
I'm not sure exactly how/when the caching jobs work, but I expect as long as 9.12 isn't the default, you'll have cached compiler but not cached packages
Cache is populated from haskell-updates (and IIRC only from that branch).
12:51:25
@maralorn:maralorn.demaralornWell and from master of course. Although the list of jobs which get build on which branch is slightly different.13:03:15
@maralorn:maralorn.demaralornSome central packages, e.g. hls are being cached for every (major) compiler version.13:03:46
@alexfmpe:matrix.orgalexfmpenoice14:00:41
@alexfmpe:matrix.orgalexfmpeyeah this is what confuses me, which does which14:00:55
@alexfmpe:matrix.orgalexfmpeI haven't gotten even 9.8 from cache on my mac on haskell-updates14:01:13
@alexfmpe:matrix.orgalexfmpe* I haven't gotten even 9.8 from cache on my m1 mac on haskell-updates14:01:39
@alexfmpe:matrix.orgalexfmpe* I haven't gotten even ghc 9.8 from cache on my m1 mac on haskell-updates14:02:11
@maralorn:maralorn.demaralornWell builds also need to succeed of course.14:21:22
@maralorn:maralorn.demaralornwell compare pkgs/top-level/release.nix (ctrl+f haskell) with pkgs/top-level/release-haskell.nix14:26:42
@profpatsch:augsburg.oneProfpatsch Is there a shortcut for building an executable with pre-set GHC RTS params?14:26:49
@profpatsch:augsburg.oneProfpatschIn particular -Iw60 for small scripts to reduce the idle gc frequency14:27:04

Show newer messages


Back to Room ListRoom Version: 6