-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
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
createRustPackage fails for packages which use the patch feature in Cargo.toml #72859
Comments
rust-lang/cargo#5805 (comment) suggests that this is intentional behavior in cargo |
This comment was marked as spam.
This comment was marked as spam.
This is still important to me |
This comment was marked as spam.
This comment was marked as spam.
The minimal repro above still does not work. |
This comment was marked as spam.
This comment was marked as spam.
Bump. |
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/fixing-the-polars-package-cargo-patch-frozen/22901/1 |
This issue has been mentioned on NixOS Discourse. There might be relevant details there: |
Describe the bug
When there is a
[patch]
section in Cargo.toml, callingcargo build --frozen
will attempt to redownload the patch and then fail because of the--frozen
.This is arguably a cargo bug, because it appears that the patch is already vendored correctly.
To Reproduce
Minimal repro at https://github.com/jamii/rust-nix-patch.
Metadata
The text was updated successfully, but these errors were encountered: