You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rustPlatform.buildRustPackage supports a cargoPatches option, that can be used to insert a Cargo.lock into upstream tarballs that don't contain it. It would be nice if the same was possible with naersk.
Alternatively, and more generically, this could be solved with a applyPatches { src; patches = []; } derivation -- but I'm not aware of such existing. I guess I'm writing that myself, next...
The text was updated successfully, but these errors were encountered:
@paulyoung This method seems to be for patching the source being built itself. To patch dependencies, you'd need to e.g. change the Cargo.toml lines to point to something else, or something like that -- I don't know if naersk has any mechanism for replacing dependencies.
rustPlatform.buildRustPackage
supports acargoPatches
option, that can be used to insert aCargo.lock
into upstream tarballs that don't contain it. It would be nice if the same was possible with naersk.Alternatively, and more generically, this could be solved with a
applyPatches { src; patches = []; }
derivation -- but I'm not aware of such existing. I guess I'm writing that myself, next...The text was updated successfully, but these errors were encountered: