Skip to content

Conversation

sorki
Copy link
Member

@sorki sorki commented Nov 1, 2024

  • bump upper bounds based on cabal outdated
  • cryptonite -> crypton
  • adapted to recent hnix-store
  • we might want to resolve NamedAlgo thingie first and do another release of store packages prior merging this. Some new dependency requirements might be fixable on store side as well

While many derivations eval correctly there are some new failure that need investigating. Will post more details.

@Ericson2314
Copy link
Member

crypton -> cryptonite

https://hackage.haskell.org/package/cryptonite

Deprecated in favor of crypton, cryptohash-md5, cryptohash-sha1, cryptohash-sha256, cryptohash-sha512

Are you sure?

@sorki
Copy link
Member Author

sorki commented Nov 1, 2024

crypton -> cryptonite

https://hackage.haskell.org/package/cryptonite

Deprecated in favor of crypton, cryptohash-md5, cryptohash-sha1, cryptohash-sha256, cryptohash-sha512

Are you sure?

Oops, vice versa :) Just wrote it opposite in PR summary. hnix-store is already using crypton

@sternenseemann
Copy link

What is the state of this? It is a concern for NixOS/nixpkgs#429810 and I would prefer not to downgrade all the hnix-store packages again.

sternenseemann added a commit to sternenseemann/nixpkgs that referenced this pull request Sep 13, 2025
These are the only versions of these packages that are compatible with
hnix 0.17.0, pending haskell-nix/hnix#1112.
Since hnix has more reverse dependencies, it is easier to make its
requirements the default. Since Stackage LTS no longer tracks hnix-store-*,
the overridding situation is less hairy than it used to.

All hnix-store-* packages except hnix-store-core and hnix-store-remote
have been introduced after hnix-store-core >= 0.8 and need to be overridden
to use that.

This partially reverts commit  330ee35.
@sternenseemann
Copy link

Okay, unresolved regressions. I guess let's go back to the way things were: NixOS/nixpkgs#442633

sternenseemann added a commit to sternenseemann/nixpkgs that referenced this pull request Sep 13, 2025
These are the only versions of these packages that are compatible with
hnix 0.17.0, pending haskell-nix/hnix#1112.
Since hnix has more reverse dependencies, it is easier to make its
requirements the default. Since Stackage LTS no longer tracks hnix-store-*,
the overridding situation is less hairy than it used to.

All hnix-store-* packages except hnix-store-core and hnix-store-remote
have been introduced after hnix-store-core >= 0.8 and need to be overridden
to use that.

This partially reverts commit  330ee35.
sternenseemann added a commit to NixOS/nixpkgs that referenced this pull request Sep 13, 2025
These are the only versions of these packages that are compatible with
hnix 0.17.0, pending haskell-nix/hnix#1112.
Since hnix has more reverse dependencies, it is easier to make its
requirements the default. Since Stackage LTS no longer tracks hnix-store-*,
the overridding situation is less hairy than it used to.

All hnix-store-* packages except hnix-store-core and hnix-store-remote
have been introduced after hnix-store-core >= 0.8 and need to be overridden
to use that.

This partially reverts commit  330ee35.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NamedAlgo typeclass seems redundant
3 participants