1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00
nixpkgs/pkgs/development
Daniël de Kok b3969f3ad7 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.
2021-05-28 08:01:28 +02:00
..
androidndk-pkgs
arduino
beam-modules
bower-modules/generic
chez-modules
compilers rustPlatform.buildRustPackage: support direct use of Cargo.lock 2021-05-28 08:01:28 +02:00
coq-modules coqPackages.VST: 2.6 → 2.7.1 2021-05-07 08:35:13 +02:00
dhall-modules
dotnet-modules
em-modules/generic
gnuradio-modules
go-modules
go-packages
guile-modules
haskell-modules
idris-modules
interpreters treewide: Do a number of no-op cleanups for cross and darwin 2021-05-06 11:17:26 -04:00
java-modules
libraries Merge pull request #121857 from dotlambda/presage-init 2021-05-07 09:23:44 +02:00
lisp-modules
lua-modules
misc
mobile
node-packages
ocaml-modules
octave-modules
perl-modules
pharo
php-packages Merge pull request #121797 from aanderse/php.packages.deployer 2021-05-05 13:49:38 -05:00
pure-modules
python-modules Merge pull request #120318 from dotlambda/dask-glm-fix 2021-05-07 09:55:06 +02:00
r-modules
ruby-modules
tools Merge pull request #121860 from marsam/update-tflint 2021-05-06 19:40:56 -05:00
web nodejs-16_x: 16.0.0 -> 16.1.0 2021-05-05 04:20:00 +00:00