-
Notifications
You must be signed in to change notification settings - Fork 677
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
Unable to update to v0.22.2 #1627
Comments
This forces It'd be great to have new |
@asomers is this something you're able to do? AFAIK I don't yet have permission to publish to crates.io. |
Firstly, is Nix 0.23.0 not an option for you? Secondly, is it not an option to ignore that cargo-audit warning? The vulnerability is really not very serious. Except in a few exotic configurations only root can exploit it, and it only affects one rarely-used function. |
I am already using 0.23 as well, but multiple places deep in my dependency chains are depending on 0.22. Yes, I can ignore the cargo audit warning, but it doesn't really solve the underlying issue: I need to choose between using an old version of nix or an old version of bitflags. Suppose you have (transitive) depencies for nix 0.22 and bitflags 1.0. The best resolutions cargo can pick for this situation is either (nix=0.22.0, bitflags=1.3.0) or (nix=0.22.2, bitflags=1.2.0). Now suppose that you (like me) have a transitive dependency for bitflags 1.3.0 as well. In this case one of those option goes away and I'm left with only the option (nix=0.22.0, bitflags=1.3.0). This means that if any of my (transitive) dependencies were to introduce a requirement for nix 0.22.2, then cargo would be unable to resolve those requirements at all, and I would be unable to compile my project. |
Here you go: https://crates.io/crates/nix/0.22.3 |
Thanks! 👍 |
Could we get a |
I currently have a (transitive) dependency for
nix v0.22.0
that I am unable to update to v0.22.2.I am unable to update, because I also have a (transitive) dependency for
bitflags v1.3.0
, and cargo chooses to unify those dependencies by pickingnix v0.22.0
.This is a problem for me, because I would like add a
cargo audit
check to my CI, andnix v0.22.0
is affected by RUSTSEC-2021-0119.Would it be possible for your to backport #1607 to the
v0.22
branch, and do a new release?The text was updated successfully, but these errors were encountered: