Skip to content

stack: Built against deprecated rio-0.1.23.0 (which has a serious bug), and fails #467614

Closed

Description

@mpilgrem

Nixpkgs version

  • Stable (25.11)

Describe the bug

See:

The 'official' build of Stack 3.7.1 is built against rio-0.1.22.0 but the nixpkgs project appears to have built a version of 'Stack 3.7.1' against now-deprecated rio-0.1.23.0. rio-0.1.24.0 fixes a serious bug in rio-0.1.23.0.

Steps to reproduce

See the Stack issue above.

Expected behaviour

That the nixpkgs projects 'Stack 3.7.1' behaves like the 'official' Stack 3.7.1.

Screenshots

No response

Relevant log output

Additional context

No response

System metadata

I am not a nix-shell user.

Notify maintainers

@cdepillabout


Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)

I assert that this issue is relevant for Nixpkgs

Is this issue important to you?

Add a 👍 reaction to issues you find important.

Activity

  1. added
    0.kind: bug
    on Dec 3, 2025
  2. galenhuntington commented on Dec 4, 2025

    @galenhuntington
    Contributor

    This would be fixed by #466258 (which upgrades rio to a non-broken version), which is still a draft. Perhaps there is a way to get this backported into 25.11, or even just the rio upgrade. As of now, Stack is completely unusable (at least for me) in stable nixpkgs.

  3. added
    6.topic: haskell
    on Dec 4, 2025
  4. NorfairKing commented on Dec 4, 2025

    @NorfairKing
    Contributor

    @mpilgrem thanks for opening this.
    I agree, this makes stack useless in nixos-25.11.
    Let's please backport this.

  5. JonnieCache commented on Dec 6, 2025

    @JonnieCache

    It's broken on unstable as well, not just 25.11. I set my flake to 25.05 and stack 3.5.1 works, but haskell-language-server doesnt build.

  6. added a commit that references this issue on Dec 7, 2025
  7. sternenseemann commented on Dec 13, 2025

    @sternenseemann
    Member

    This has been fixed by #460624 (7600c464345c8) which will be part of the next staging-next iteration. Corresponding change for 25.11: #470484

  8. sternenseemann commented on Dec 14, 2025

    @sternenseemann
    Member

    25.11 is done. We could pick basically the same change onto master to accelerate the fix into channels, though it would need to be reverted manually later.

  9. iopq commented on Dec 16, 2025

    @iopq
    Contributor

    jtt9340/aoc2025@e5fdca2

    this is the work-around

  10. srghma commented on Dec 21, 2025

    @srghma

    indeed the <<loop>> disappeared, but master doesnt contain this fix yet IIUC

  11. linked a pull request that will close this issuestaging-next 2025-12-17 #471587on Dec 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: bug6.topic: haskell

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions