diff --git a/pkgs/by-name/os/oscavmgr/package.nix b/pkgs/by-name/os/oscavmgr/package.nix index 21a71ecbb42b2..b71bf53b85493 100644 --- a/pkgs/by-name/os/oscavmgr/package.nix +++ b/pkgs/by-name/os/oscavmgr/package.nix @@ -7,6 +7,7 @@ openxr-loader, pkg-config, rustPlatform, + versionCheckHook, }: rustPlatform.buildRustPackage rec { @@ -32,6 +33,9 @@ rustPlatform.buildRustPackage rec { openxr-loader ]; + nativeInstallCheckInputs = [ versionCheckHook ]; + doInstallCheck = true; + postPatch = '' alvr_session=$(echo $cargoDepsCopy/alvr_session-*/) substituteInPlace "$alvr_session/build.rs" \