Commit Graph

8 Commits

Author SHA1 Message Date
Daniel Eyßer ef4596b546 build-style/cargo.sh: don't use post_install() for leftover removal 2020-04-12 18:43:18 +02:00
travankor 3610a35271 cargo.sh: don't hardcode the path.
Clean up the cargo remnants in the post install phase.
2020-04-07 21:25:12 +02:00
Alexander Gehrke a28a777a95 build-style/cargo.sh: also delete /usr/.crates2.json 2020-02-25 12:23:45 +01:00
travankor 3842294972 build-style/cargo.sh: append configure_args to cargo install
Cargo will only activate the default features for a package.
Instead, pass the correct features to cargo install.
2020-02-22 19:09:05 +01:00
Johannes a2be11a086 build-style/cargo.sh: run cargo install with --locked
Without --locked, cargo ignores the Cargo.lock file during install
and rebuilds the crate with updated dependencies.
This wastes time and makes builds unreproducable.
2019-09-26 15:11:46 +02:00
maxice8 8ddc68306e build-style/cargo: don't manually configure with cargo, use the
environment.
2019-01-20 15:33:10 -02:00
Johannes 3aa797cb3a build-style cargo: move cargo config from wrksrc to home
since cargo 0.31.0 ${wrksrc}/.cargo/config is ignored for cargo install
fixes: https://github.com/void-linux/void-packages/issues/4328
2018-11-02 13:39:53 +01:00
Rasmus Thomsen 0318d0385a build-style/cargo.sh: add 2018-10-15 20:58:51 +02:00