nixpkgs/pkgs/build-support/rust/build-rust-crate
Andreas Rammhold 6ad22f5b4d
buildRustCrate: use less bash for the build script
We can get rid of a bunch of workarounds that were in the build script
before by just passing on the `crateBin` attribute.

Before we converted the list of attributes to a string only to convert
it back in bash during the build phase. We can do the entire looping
through builds in Nix and thus need no conversion and parsing of
attributes over and over again.

The big part that still remains bash is the heuristic that cargo
introduced and that we can't do at eval time.
2019-12-12 01:03:11 +01:00
..
test Merge pull request #68296 from danieldk/crateRenames 2019-09-10 10:57:54 +02:00
build-crate.nix buildRustCrate: use less bash for the build script 2019-12-12 01:03:11 +01:00
configure-crate.nix buildRustCrate: rename makeDeps function to mkRustcDepArgs 2019-12-11 23:23:55 +01:00
default.nix buildRustCrate: use less bash for the build script 2019-12-12 01:03:11 +01:00
helpers.nix buildRustCrate: builtins -> lib where possible 2019-12-11 22:01:36 +01:00
install-crate.nix buildRustCrate: add lib output 2019-11-26 15:05:01 +01:00
log.nix buildRustCrate: move the color loggign & remove some runtime checks 2019-12-11 22:35:44 +01:00