identity: use versionCheckHook
This commit is contained in:
parent
fbcf962708
commit
6952de9ce1
@ -20,6 +20,7 @@
|
||||
pkg-config,
|
||||
rustPlatform,
|
||||
rustc,
|
||||
versionCheckHook,
|
||||
wrapGAppsHook4,
|
||||
}:
|
||||
|
||||
@ -77,6 +78,9 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform;
|
||||
cargoCheckType = if (finalAttrs.mesonBuildType != "debug") then "release" else "debug";
|
||||
|
||||
nativeInstallCheckInputs = [ versionCheckHook ];
|
||||
doInstallCheck = true;
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user