!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

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


SenderMessageTime
5 Apr 2025
@hellwolf:matrix.orghellwolfI see.17:42:10
@hellwolf:matrix.orghellwolfhttps://paste.tomsmeding.com/UvihEopY <-- also, the derivations of ghc-exactprints look weird, it's both library and executable, and sometimes libraryHaskellDepends is missing, and resulting build failures.17:42:59
@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

Show newer messages


Back to Room ListRoom Version: 6