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 build-support/rust: Organize 2021-11-07 14:16:49 -05:00
hooks rustPlatform.bindgenHook: init 2022-02-22 19:37:07 +01:00
lib build-support/rust: Organize 2021-11-07 14:16:49 -05:00
sysroot build-support/rust/sysroot/src: Use dont* instead of phase list 2021-11-08 21:38:58 +00:00
test/import-cargo-lock rust/import-cargo-lock: hopefully make nested crate test work on macos 2021-10-25 01:11:45 +02:00
carnix.nix Carnix: 0.9 -> 0.10 2019-03-26 18:54:28 +00:00
crates-io.nix treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
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 fetchCrate: accept pname besides crateName 2020-08-28 08:34:22 +02:00
import-cargo-lock.nix rust: fix importCargoLock for repositories without toplevel Cargo.toml 2022-03-17 00:15:56 -04:00