!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

721 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
5 Apr 2025
@hellwolf:matrix.orghellwolfI am stuck here atm, building HLS for GHC91217:44:03
@hellwolf:matrix.orghellwolfsomething wrong with cabal2nix?17:48:23
@hellwolf:matrix.orghellwolf* could it be something wrong with cabal2nix for this package?17:48:29
@hellwolf:matrix.orghellwolf
  # A given major version of ghc-exactprint only supports one version of GHC.
  ghc-exactprint = doDistribute self.ghc-exactprint_1_9_0_0;
  ghc-exactprint_1_9_0_0 = addBuildDepends [
    self.Diff
    self.extra
    self.ghc-paths
    self.silently
    self.syb
    self.HUnit
  ] super.ghc-exactprint_1_9_0_0;

This is what's written in configuration-ghc-9.10.x

17:55:24
@hellwolf:matrix.orghellwolfalright, I copy this over but for 1_12_0_0 for ghc912, now it compiles.18:06:37
@hellwolf:matrix.orghellwolfbut now I am getting a GHC crash when building generic-lens. GREAT.18:06:50
@maralorn:maralorn.demaralorncabal2nix only creates derivation stubs if there is no valid build plan for our default ghc.18:20:10
@maralorn:maralorn.demaralornThat sounds hairy.18:20:26
@hellwolf:matrix.orghellwolfI got HLS built now, with a few of dontChecks and disabled plugins mostly related to ghc-parser (used by hlint, formolu, ormolu, etc.) Let me clean it up a bit and send a PR. While I am at it, maybe i should help with 9.8 too..18:34:29
@hellwolf:matrix.orghellwolf
$ ./result/bin/haskell-language-server-wrapper --version
haskell-language-server version: 2.10.0.0 (GHC: 9.12.2) (PATH: /nix/store/21vsy90gw6p5gc3rmzxgpvzg7kcrrghs-haskell-language-server-2.10.0.0/bin/haskell-language-server-wrapper)
18:35:29
@hellwolf:matrix.orghellwolfhere you go : https://github.com/NixOS/nixpkgs/pull/396423/files20:56:22
6 Apr 2025
@hellwolf:matrix.orghellwolf

checking https://github.com/cdepillabout/nix-haskell-updates-status

Which of the "Maintained Linux packages with build failure" I could hrlp?

06:27:30
@hellwolf:matrix.orghellwolf* checking https://github.com/cdepillabout/nix-haskell-updates-status Which of the "Maintained Linux packages with build failure" I could help with? 06:27:42
@maralorn:maralorn.demaralorn hellwolf: That actually looks pretty finished. 09:26:49
@maralorn:maralorn.demaralornI will have to fix the nix-output-monitor build.09:26:59
@maralorn:maralorn.demaralornThe upstreaStackHpackVersion needs action.09:28:28
@maralorn:maralorn.demaralornThe others are not really blockers, imo.09:28:43
@maralorn:maralorn.demaralornWe should ping the maintainers again.09:28:54
@maralorn:maralorn.demaralornMaybe there is still something important in the unfinished builds.09:31:21
@maralorn:maralorn.demaralorn alexfmpe: I get the feeling the cabal-add "fix" broke it on older ghcs. 😄 09:32:24
@maralorn:maralorn.demaralornhttps://hydra.nixos.org/build/294449074/nixlog/91/tail09:32:37
@maralorn:maralorn.demaralorn sterni: Are you aware of anything major which needs to happen before we wrap the current PR? (Aside from the regular due diligence.) 09:33:44
@sternenseemann:systemli.orgsterni (he/him)yes needs to be conditional13:05:36
@sternenseemann:systemli.orgsterni (he/him)I think lower GHC versions are pretty broken I think HLS needs to be redone for a couple of them essentially13:05:54
@sternenseemann:systemli.orgsterni (he/him)I mean just look what's broken I haven't really checked since the new bump introduced a million regressions13:06:26
@maralorn:maralorn.demaralornYeah, no problem. Will do that. I was just wondering whether you have anything else cooking which is blocking a merge.13:07:46
@sternenseemann:systemli.orgsterni (he/him)no I'm just cooking myself at the moment (cycling)13:37:58
@maralorn:maralorn.demaralorn
In reply to @sternenseemann:systemli.org
no I'm just cooking myself at the moment (cycling)
Excellent, you do that!
13:38:54
@alexfmpe:matrix.orgalexfmpeoops15:02:30
@alexfmpe:matrix.orgalexfmpethe first two (coinor-clp, fft) built for me locally yesterday, might be flaky tests I dunno15:03:50

Show newer messages


Back to Room ListRoom Version: 6