nix-update icon indicating copy to clipboard operation
nix-update copied to clipboard

Support multiple sources via srcs

Open hrenard opened this issue 3 months ago • 1 comments

Hi !

I got a package with multiple sources synced via a same tag that Nix can build it in a single simple derivation. To use nix-update, I believe the use of subpackages is required which adds a little overhead. Is there another way to do it ? Or does supporting srcs makes sense for this project ?

hrenard avatar Sep 25 '25 15:09 hrenard

It is probably not easy to add generic support for srcs but it can be easily done with an update script and some clever use of sed and maybe some comment. A sub package should not be required.

SuperSandro2000 avatar Sep 25 '25 15:09 SuperSandro2000