oscavmgr: add version test (#365419)

This commit is contained in:
Sefa Eyeoglu
2024-12-29 09:30:39 +01:00
committed by GitHub
+4
View File
@@ -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" \