diff options
| author | Daniël de Kok <me@danieldk.eu> | 2021-05-08 07:44:31 +0200 |
|---|---|---|
| committer | Daniël de Kok <me@danieldk.eu> | 2021-05-28 08:01:28 +0200 |
| commit | b3969f3ad793ee98af14cf0c649f626520943a53 (patch) | |
| tree | a2d96f9e34dd6ad96d4d77b1207e8ae038532edb /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | 2f46d77e2806dd22f4ec4ac6ea3f9981df81dd94 (diff) | |
rustPlatform.buildRustPackage: support direct use of Cargo.lock
This change introduces the cargoLock argument to buildRustPackage,
which can be used in place of cargo{Sha256,Hash} or cargoVendorDir. It
uses the importCargoLock function to build the vendor
directory. Differences compared to cargo{Sha256,Hash}:
- Requires a Cargo.lock file.
- Does not require a Cargo hash.
- Retrieves all dependencies as fixed-output derivations.
This makes buildRustPackage much easier to use as part of a Rust
project, since it does not require updating cargo{Sha256,Hash} for
every change to the lock file.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
