3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/build-support/rust
sternenseemann 357da6c296 buildRustPackage: make cargoDeps logic easier to follow
The old logic flow had the structure

  if ( … ) {
    if ( … ) {
      …
    } else {
      …
    }
  } else {
    …
  }

which is quite hard to follow in Nix. Instead we ensure that no if
expression is inside a then branch.

This change is zero rebuild, as no logic was changed.
2022-05-13 08:18:39 +10:00
..
build-rust-crate buildRustCrate: set meta.mainProgram to crateName 2022-05-05 14:25:27 +00:00
build-rust-package buildRustPackage: make cargoDeps logic easier to follow 2022-05-13 08:18:39 +10:00
fetch-cargo-tarball
hooks
lib
sysroot
test/import-cargo-lock
carnix.nix
crates-io.nix
default-crate-overrides.nix default-crate-overrides: only add Security to propagatedBuildInputs on darwin for security-framework-sys 2022-04-28 21:24:46 +03:00
fetchcargo-default-config.toml
fetchcrate.nix
import-cargo-lock.nix