1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs synced 2024-10-19 03:47:13 -04:00
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
fetchcargo-default-config.toml
fetchcrate.nix
import-cargo-lock.nix