!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

685 Members
For discussions and questions about Haskell with Nix, cabal2nix and haskellPackages in nixpkgs | Current Docs: https://nixos.org/manual/nixpkgs/unstable/#haskell | Current PR: https://github.com/nixos/nixpkgs/pulls?q=is%3Apr+is%3Aopen+head%3Ahaskell-updates | Maintainer Docs: https://github.com/NixOS/nixpkgs/blob/haskell-updates/pkgs/development/haskell-modules/HACKING.md | More Nix: #community:nixos.org | More Haskell: #haskell-space:matrix.org | Merger Schedule: https://cloud.maralorn.de/apps/calendar/p/H6migHmKX7xHoTFa/dayGridMonth/now | Join #haskell.nix:libera.chat for question about the alternative haskell.nix infrastructure136 Servers

Load older messages


SenderMessageTime
10 May 2025
@maralorn:maralorn.demaralornMaybe you can share an error message?16:54:39
@jwwiegley:matrix.orgJohn Wiegley

As of yesterday, nix flake update and nix develop breaks with:

       error: builder for '/nix/store/2xzv38sqwhw9vl1d33gsr97in4cjnr9s-haskell-language-server-plan-to-nix-pkgs.drv' failed with exit code 1;
       last 25 log lines:
       > Warning: The package list for 'hackage.haskell.org' is 20218 days old.
       > Run 'cabal update' to get the latest list of available packages.
       > Resolving dependencies...
       > Error: [Cabal-7107]
       > Could not resolve dependencies:
       > [__0] trying: haskell-language-server-2.10.0.0 (user goal)
       > [__1] trying: aeson-2.2.3.0 (dependency of haskell-language-server)
       > [__2] trying: haskell-language-server:+ormolu
       > [__3] next goal: ormolu (dependency of haskell-language-server +ormolu)
       > [__3] rejecting: ormolu-0.8.0.0 (conflict: haskell-language-server +ormolu => ormolu^>=0.1.2 || ^>=0.2 || ^>=0.3 || ^>=0.5 || ^>=0.6 || ^>=0.7)
       > [__3] trying: ormolu-0.7.7.0
       > [__4] next goal: ghc-lib-parser (dependency of ormolu)
       > [__4] rejecting: ghc-lib-parser-9.12.2.20250421 (conflict: ormolu => ghc-lib-parser>=9.10 && <9.11)
       > [__4] skipping: ghc-lib-parser; 9.12.2.20250320, 9.12.1.20250314, 9.12.1.20250105, 9.12.1.20250103, 9.12.1.20241218 (has the same characteristics that caused the previous version to fail: excluded by constraint '>=9.10 && <9.11' from 'ormolu')
       > [__4] trying: ghc-lib-parser-9.10.2.20250503
       > [__5] trying: hie-bios-0.15.0 (dependency of haskell-language-server)
       > [__6] next goal: ghcide (dependency of haskell-language-server)
       > [__6] rejecting: ghcide-2.10.0.0 (conflict: hie-bios==0.15.0, ghcide => hie-bios^>=0.14.0)
       > [__6] skipping: ghcide; 2.9.0.1, 2.9.0.0, 2.8.0.0, 2.7.0.0, 2.6.0.0, 2.5.0.0, 2.4.0.0, 2.3.0.0, 2.2.0.0, 2.1.0.0, 2.0.0.1, 2.0.0.0, 1.10.0.0, 1.9.1.0, 1.9.0.0, 1.8.0.0, 1.7.0.0, 1.6.0.1, 1.6.0.0, 1.5.0.1, 1.5.0, 1.4.2.3, 1.4.2.2, 1.4.2.0, 1.4.1.0, 1.4.0.3, 1.4.0.2, 1.4.0.1, 1.3.0.0, 1.2.0.2, 1.2.0.1, 1.2.0.0, 1.1.0.0, 1.0.0.0, 0.7.5.0 (has the same characteristics that caused the previous version to fail: excludes 'hie-bios' version 0.15.0)
       > [__6] rejecting: ghcide-0.7.4.0 (conflict: haskell-language-server => ghcide==2.10.0.0)
       > [__6] skipping: ghcide; 0.7.3.0, 0.7.2.0, 0.7.1.0, 0.7.0.0, 0.6.0.2, 0.6.0.1, 0.6.0, 0.5.0, 0.4.0, 0.3.0, 0.2.0, 0.1.0, 0.0.6, 0.0.5, 0.0.4, 0.0.3, 0.0.2, 0.0.1, 1.4.2.1 (has the same characteristics that caused the previous version to fail: excluded by constraint '==2.10.0.0' from 'haskell-language-server')
       > [__6] fail (backjumping, conflict set: ghcide, haskell-language-server, hie-bios)
       > After searching the rest of the dependency tree exhaustively, these were the goals I've had most trouble fulfilling: base, ghc-lib-parser, hie-bios, aeson, ghcide, haskell-language-server, ormolu, haskell-language-server:ormolu, hiedb, hls-ormolu-plugin
       > Try running with --minimize-conflict-set to improve the error message.
16:55:05
@maralorn:maralorn.demaralornOh16:55:24
@alexfmpe:matrix.orgalexfmpe"haskell-language-server-plan-to-nix-pkgs.drv" huh 16:55:30
@maralorn:maralorn.demaralornThat's haskell.nix I think16:55:38
@jwwiegley:matrix.orgJohn Wiegleyyes, haskell.nix. Am I in the wrong channel again? :)16:55:50
@alexfmpe:matrix.orgalexfmpeerror complains about ormulu, maybe disable that for now?16:56:19
@maralorn:maralorn.demaralornYes, or at least I have no clue about it. 😂16:56:22
@jwwiegley:matrix.orgJohn WiegleyI'm actually not using ormolu in this flake16:56:30
@jwwiegley:matrix.orgJohn Wiegleymaybe there's a way to configure HLS not to pull it in...16:56:43
@alexfmpe:matrix.orgalexfmpetrying: haskell-language-server:+ormolu16:56:51
@alexfmpe:matrix.orgalexfmpe * trying: haskell-language-server:+ormolu 16:57:00
@alexfmpe:matrix.orgalexfmpemust be a way to toggle the flag16:57:16
@alexfmpe:matrix.orgalexfmpedunno if haskell.nix inherits the nixpkgs' utils for cabal overrides16:57:45
@jwwiegley:matrix.orgJohn WiegleyI have to run now, but happy to dig into this later in the evening16:58:25
@alexfmpe:matrix.orgalexfmpemaybe we should rename to "nixpkgs haskell" or so?16:58:33
@alexfmpe:matrix.orgalexfmpethat said, is there even a haskell.nix channel?16:59:06
@maralorn:maralorn.demaralorn
In reply to @alexfmpe:matrix.org
maybe we should rename to "nixpkgs haskell" or so?
Not sure that'd help. Especially for newcomers who don't grasp the whole nixpkgs/nix lang/nixos distinction yet. 😂
17:00:04
@alexfmpe:matrix.orgalexfmpewell the current name is as confusing as can be17:00:32
@maralorn:maralorn.demaralorn
In reply to @alexfmpe:matrix.org
that said, is there even a haskell.nix channel?
I think there is but not on matrix or something.
17:00:35
@alexfmpe:matrix.orgalexfmpe

"nix haskell", not to be confused with "haskell.nix"

17:00:55
@maralorn:maralorn.demaralorn changed the room name to "Haskell in nixpkgs / on nixos" from "Nix Haskell".17:01:41
@maralorn:maralorn.demaralornI guess it would probably more precise without the on nixos17:02:42
@maralorn:maralorn.demaralornOn the other hand most community channels include nixos in their name17:03:50
@maralorn:maralorn.demaralorn changed the room name to "Haskell in nixpkgs" from "Haskell in nixpkgs / on nixos".17:04:38
@maralorn:maralorn.demaralornLet's try it this way17:05:22
@maralorn:maralorn.demaralornI guess valuing preciseness over newcomer friendliness is a Haskell trademark...17:06:17
@maralorn:maralorn.demaralorn changed the room name to "Haskell in Nixpkgs/NixOS" from "Haskell in nixpkgs".17:19:36
@jwwiegley:matrix.orgJohn WiegleySo true, so true...17:27:06
@jwwiegley:matrix.orgJohn WiegleyNow I have to find where to report this, thanks for the help and pointers!17:27:35

Show newer messages


Back to Room ListRoom Version: 6