oscavmgr: add version test
This commit is contained in:
@@ -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" \
|
||||
|
||||
Reference in New Issue
Block a user