oscavmgr: add version test

This commit is contained in:
Gavin John
2024-12-28 22:40:40 -05:00
parent 57ce4c2feb
commit 5f3fe88894
+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" \