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

feature request: update multiple derivations in one package #310

Closed
av-gal opened this issue Dec 17, 2024 · 0 comments · Fixed by #311
Closed

feature request: update multiple derivations in one package #310

av-gal opened this issue Dec 17, 2024 · 0 comments · Fixed by #311

Comments

@av-gal
Copy link
Contributor

av-gal commented Dec 17, 2024

Nix-update currently doesn't have any way of knowing when a package has multiple derivations that need to be updated. I ran into this when packaging autobrr in nixos/nixpkgs#287593: autobrr consists of a frontend built with pnpm, which is incorporated into the application's binary when the backend is built as a Go module.

I don't feel like writing my own update script, and I don't think breaking the package up into two files makes sense here (since neither part can work independently of the other). To fix this issue in general, I believe that nix-update would need to support multiple derivations in one package, both of which have hashes that need to be updated.

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 a pull request may close this issue.

1 participant