Skip to content

allow bytestring 0.12 #1113

Open
Open

Description

@ulysses4ever

we're bumping into the restrictive upper bound in hnix when trying to move nixpkgs to GHC 9.10 https://hydra.nixos.org/build/306255030/nixlog/1 (nixpkgs PR: NixOS/nixpkgs#429810)

Activity

  1. wolfgangwalther commented on Sep 3, 2025

    @wolfgangwalther

    we're bumping into the restrictive upper bound in hnix when trying to move nixpkgs to GHC 9.10 https://hydra.nixos.org/build/306255030/nixlog/1

    This log is for hashing, not for hnix. Reported here: wangbj/hashing#4

    When I fix that and build hnix with GHC 9.10 in the haskell-updates branch, I get this error:

    src/Nix/Effects.hs:40:1: error: [8;;https://errors.haskell.org/messages/GHC-87110GHC-871108;;]
        Could not load module ‘System.Nix.Nar’.
        It is a member of the hidden package ‘hnix-store-nar-0.1.1.0’.
        Perhaps you need to add ‘hnix-store-nar’ to the build-depends in your .cabal file.
        Use -v to see a list of the files searched for.
       |
    40 | import qualified System.Nix.Nar                as Store.Nar
       | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    
  2. wolfgangwalther commented on Sep 3, 2025

    @wolfgangwalther

    Of course, the above error only appears, because we did doJailbreak on the package already. If we don't, we get these bounds errors:

    Encountered missing or private dependencies:
        aeson >=1.4.2 && <1.6 || >=2.0 && <2.2,
        bytestring >=0.10.8 && <0.12,
        containers >=0.5.11.0 && <0.7,
        extra >=1.7 && <1.8,
        filepath >=1.4.2 && <1.5,
        free >=5.1 && <5.2,
        hashable >=1.2.5 && <1.5,
        hnix-store-core >=0.6.0 && <0.8,
        hnix-store-remote >=0.6.0 && <0.7,
        megaparsec >=7.0 && <9.6,
        template-haskell >=2.13 && <2.22
    

    So there is more work to do here, for sure!

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions