Skip to content

flake: fix packaging — use v2.3 release from this repo, not stale bestdownload v1.5 - #30

Merged
RoflikBEST merged 3 commits into
BestProjectTeam:mainfrom
cookieidea:fix-flake-v2.3
Sep 14, 2026
Merged

RoflikBEST merged 3 commits into
BestProjectTeam:mainfrom
cookieidea:fix-flake-v2.3

Conversation

@cookieidea

@cookieidea cookieidea commented Sep 13, 2026

Copy link
Copy Markdown
Contributor

Update the BestClient version on Nix

@RoflikBEST

Copy link
Copy Markdown
Contributor

Do a sourceRoot via ${version} so as not to hardcode 2.3, and check that the nix build passes.

@cookieidea

Copy link
Copy Markdown
Contributor Author

How should I handle the hash verification?

@cookieidea

cookieidea commented Sep 13, 2026

Copy link
Copy Markdown
Contributor Author

The next release will still require manually updating the hash.

@RoflikBEST

Copy link
Copy Markdown
Contributor

For the hash, just calculate it from the new v2.3 tarball with nix store prefetch-file (or nix-prefetch-url) and put the resulting hash into fetchurl. It will need to be updated manually for each new release.

Derive src URL and sourceRoot from `version` via a recursive
attrset, so bumping only touches `version` (the src hash still has
to be pinned manually, as Nix fixed-output derivations require).
@cookieidea

Copy link
Copy Markdown
Contributor Author

I guess this is the only way.

@cookieidea

Copy link
Copy Markdown
Contributor Author

The version number still needs to be updated manually, but the download URL doesn't need to be changed.

@RoflikBEST
RoflikBEST merged commit 909b4aa into BestProjectTeam:main Sep 14, 2026
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.

2 participants