-
Notifications
You must be signed in to change notification settings - Fork 1
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
generate an app
per Rust workspace binary
#212
Comments
Thanks for the report and sorry for a late response!
The error message should certainly be improved though |
nix run
when executable package binary cannot be determined
Seems like there should be some |
Right, so cases where there are multiple binaries in a workspace are a bit tricky, right now, for example, we have this funky logic for OCI where, if there is a binary with the same name as the crate we're building or there's only one binary being built, then we assume that's the command we want to execute. Lines 735 to 740 in c2134e5
I think what really should happen here is that there should be a Nix app generated per binary in the workspace (with appropriate executable being run on We already know exactly which binaries Lines 106 to 150 in c2134e5
So, in result,
basically, the same logic that already exists for OCI Does that make sense? |
nix run
when executable package binary cannot be determinedapp
per Rust workspace binary
totally makes sense and would be exactly what I need :-) |
The text was updated successfully, but these errors were encountered: