nixpkgs-suyu/pkgs/development/compilers/rust
Daniël de Kok 2f46d77e28 rustPlatform.importCargoLock: init
This function can be used to create an output path that is a cargo
vendor directory. In contrast to e.g. fetchCargoTarball all the
dependent crates are fetched using fixed-output derivations. The
hashes for the fixed-output derivations are gathered from the
Cargo.lock file.

Usage is very simple, e.g.:

importCargoLock {
  lockFile = ./Cargo.lock;
}

would use the lockfile from the current directory.

The implementation of this function is based on Eelco Dolstra's
import-cargo:

https://github.com/edolstra/import-cargo/blob/master/flake.nix

Compared to upstream:

- We use fetchgit in place of builtins.fetchGit.
- Sync to current cargo vendoring.
2021-05-28 08:01:25 +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.importCargoLock: init 2021-05-28 08:01:25 +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