mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-10-20 11:11:43 -04:00
b3969f3ad7
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. |
||
---|---|---|
.. | ||
agda.section.md | ||
android.section.md | ||
beam.section.md | ||
bower.section.md | ||
coq.section.md | ||
crystal.section.md | ||
dotnet.section.md | ||
emscripten.section.md | ||
gnome.section.md | ||
go.section.md | ||
haskell.section.md | ||
idris.section.md | ||
index.xml | ||
ios.section.md | ||
java.section.md | ||
lua.section.md | ||
maven.section.md | ||
node.section.md | ||
ocaml.section.md | ||
perl.section.md | ||
php.section.md | ||
python.section.md | ||
qt.section.md | ||
r.section.md | ||
ruby.section.md | ||
rust.section.md | ||
texlive.section.md | ||
titanium.section.md | ||
vim.section.md |