buildRustPackage: factor out install phase to cargoInstallHook

This commit is contained in:
Daniël de Kok
2021-02-15 12:17:18 +01:00
parent 056f697397
commit 9757c7101a
6 changed files with 69 additions and 41 deletions
+2
View File
@@ -293,6 +293,8 @@ attributes can also be used:
variable `buildAndTestSubdir` can be used to build a crate in a
Cargo workspace. Additional maturin flags can be passed through
`maturinBuildFlags`.
* `cargoInstallHook`: install binaries and static/shared libraries
that were built using `cargoBuildHook`.
### Examples