Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

general dependency bump #64

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

benaryorg
Copy link

  • the nixpkgs version from the lockfile runs into issues for everyone with the Nix "no-url-literals" setting
  • similarly the README contains a snipped which breaks with that setting
  • looking at the history there has indeed been a lockfile update, however it did not touch the flake.nix which means the repo still uses the 21.05 release which is EoL by about three years
  • changing to nixos-unstable means that the flake can be updated using nix flake update --commit-lock-file --refresh without having to actually modify the flake.nix
    • flake users – i.e. the ones affected by this – can and should always use overrides to get a version matching their OS version anyway (this applies to non-NixOS users too)
  • building in the current state of the repository fails since dependencies cannot be fetched somehow, executing the bootstrap fixed this
    • I cannot use the then built mvn2nix to update the mvn2nix dependencies for whatever reason though, however other projects work just fine
    • this also required the outputHash to be bumped, which is great because now it can use the new hash format with the sha256- prefix, took me a while to find the hash since the mismatch output listed the new format for the old string too

Flake lock file updates:

• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/022caabb5f2265ad4006c1fa5b1ebe69fb0c3faf' (2022-08-07)
→ 'github:NixOS/nixpkgs/9357f4f23713673f310988025d9dc261c20e70c6' (2024-09-21)
• Updated input 'utils':
'github:numtide/flake-utils/b1d9ab70662946ef0850d488da1c9019f3a9752a' (2024-03-11)
→ 'github:numtide/flake-utils/c1dfcf08411b08f6b8615f7d8971a2bfa81d5e8a' (2024-09-17)

- the nixpkgs version from the lockfile runs into issues for everyone with the Nix "no-url-literals" setting
- similarly the README contains a snipped which breaks with that setting
- looking at the history there has indeed been a lockfile update, however it did not touch the flake.nix which means the repo still uses the 21.05 release which is EoL by about three years
- changing to nixos-unstable means that the flake can be updated using `nix flake update --commit-lock-file --refresh` without having to actually modify the flake.nix
	- flake users – i.e. the ones affected by this – can and should always use overrides to get a version matching their OS version anyway (this applies to non-NixOS users too)
- building in the current state of the repository fails since dependencies cannot be fetched somehow, executing the bootstrap fixed this
	- I cannot use the then built mvn2nix to update the mvn2nix dependencies for whatever reason though, however other projects work just fine
	- this also required the *outputHash* to be bumped, which is great because now it can use the new hash format with the `sha256-` prefix, took me a while to find the hash since the mismatch output listed the new format for the old string too

Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/022caabb5f2265ad4006c1fa5b1ebe69fb0c3faf' (2022-08-07)
  → 'github:NixOS/nixpkgs/9357f4f23713673f310988025d9dc261c20e70c6' (2024-09-21)
• Updated input 'utils':
    'github:numtide/flake-utils/b1d9ab70662946ef0850d488da1c9019f3a9752a' (2024-03-11)
  → 'github:numtide/flake-utils/c1dfcf08411b08f6b8615f7d8971a2bfa81d5e8a' (2024-09-17)

Signed-off-by: benaryorg <[email protected]>
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.

1 participant