buildRustPackage: use checkType argument

The `checkType` argument of buildRustPackage was not used anymore
since the refactoring of `buildRustPackage` into hooks. This was
an oversight that is fixed by this change.

The check type can also be passed directly to cargoCheckHook using the
`cargoCheckType` environment variable.
This commit is contained in:
Daniël de Kok
2021-02-26 11:57:27 +01:00
parent 10f6849376
commit c50a347cb5
3 changed files with 7 additions and 4 deletions
@@ -15,7 +15,7 @@ cargoCheckHook() {
threads=1
fi
argstr="--${cargoBuildType} --target @rustTargetPlatformSpec@ --frozen";
argstr="--${cargoCheckType} --target @rustTargetPlatformSpec@ --frozen";
(
set -x