!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

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


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

Show newer messages


Back to Room ListRoom Version: 6