nixpkgs/pkgs/development/compilers/rust
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
..
rls treewide: makeWrapper buildInputs to nativeBuildInputs 2021-02-19 20:09:16 +07:00
1_45.nix rust: add musl-libc targets to bootstrapping 2021-01-19 02:27:41 -05:00
1_51.nix rustc: reenable aarch64-darwin for 1.51.0 2021-04-09 13:53:51 +02:00
binary.nix treewide: makeWrapper buildInputs to nativeBuildInputs 2021-02-19 20:09:16 +07:00
bootstrap.nix
cargo.nix pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
clippy.nix pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
default.nix rustc: cleanup, use correct llvm version 2020-12-14 15:14:03 +00:00
make-rust-platform.nix rustPlatform.buildRustPackage: support direct use of Cargo.lock 2021-05-28 08:01:28 +02:00
print-hashes.sh rustc: reenable aarch64-darwin for 1.51.0 2021-04-09 13:53:51 +02:00
rust-lib-src.nix
rust-src.nix
rustc.nix treewide: fix double quoted strings in meta.description 2021-01-24 19:56:59 +07:00
rustfmt.nix pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
setup-hook.sh