nix-ld has been really helpful. I wish there were some automated tools where you could feed at the binary, or a directory of binaries, and it would just return all of the nix package names you should add include with nix-ld.
Also if there were some additional flags to filter out redundant packages because of overlapping recursive dependencies or suggest a decent scope of meta package to start with for desktop environments, that’d be handy.
I wish there were some automated tools where you could feed at the binary, or a directory of binaries, and it would just return all of the nix package names you should add include with nix-ld.
https://github.com/Lassulus/nix-autobahn and specifically its nix-autobahn-find-libs comes pretty close at least? Were you aware of that already and is there something missing?
Indeed, I was unaware of this project. Project commit history looks inactive, but I’m guessing its feature-complete? Looks like someone has rewriten it with an added TUI:
I’d say it’s fairly feature complete, but not super polished - as so many 1 person projects. I still find it very useful, author is also still active in the community and pretty responsive :)
nix-ld has been really helpful. I wish there were some automated tools where you could feed at the binary, or a directory of binaries, and it would just return all of the nix package names you should add include with nix-ld.
Also if there were some additional flags to filter out redundant packages because of overlapping recursive dependencies or suggest a decent scope of meta package to start with for desktop environments, that’d be handy.
https://github.com/Lassulus/nix-autobahn and specifically its
nix-autobahn-find-libs
comes pretty close at least? Were you aware of that already and is there something missing?Indeed, I was unaware of this project. Project commit history looks inactive, but I’m guessing its feature-complete? Looks like someone has rewriten it with an added TUI:
I’d say it’s fairly feature complete, but not super polished - as so many 1 person projects. I still find it very useful, author is also still active in the community and pretty responsive :)