-
-
Notifications
You must be signed in to change notification settings - Fork 58
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
Support binary name regex or filter #1701
Comments
I noticed that each nu-plugin is a separate crate, https://github.com/nushell/nushell/blob/main/crates/nu_plugin_polars/Cargo.toml The most simple way to support this, is for esch of them to have a cargp-binstall may download the same file multiple times though, that's something I'd like to optimize on. |
Let's not talk about the situation where each bin is an independent crate. I want to first consider what happens if there are multiple bins in the same crate?
[[bin]]
name = "main1"
path = "src/main1.rs"
[[bin]]
name = "main2"
path = "src/main2.rs" |
In that case, binstall would try to install all of them. If any binary is gated behind a feature, then binstall would ignore if it can't find it in the artifact. In your case, the plugin seems to be in a separate crate in the workspace, instead of another binary in the same crate. |
But actually, these binaries are in an archive file |
Yes, in one archive file, but I checked the repository yesterday and it does have separate crates for plugins |
When I install nushell, I wish to install the nu plugins of the archive package at the same time. This may require regex/filter such as
nu_plugin*
, or may need to use other solutions that I don't know?The text was updated successfully, but these errors were encountered: