diff --git a/pkgs/by-name/id/identity/package.nix b/pkgs/by-name/id/identity/package.nix index bcfa4d3178ca..1dc05c1c4ca1 100644 --- a/pkgs/by-name/id/identity/package.nix +++ b/pkgs/by-name/id/identity/package.nix @@ -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