Skip to content

Commit

Permalink
oscavmgr: add version test (#365419)
Browse files Browse the repository at this point in the history
  • Loading branch information
Scrumplex authored Dec 29, 2024
2 parents bc40545 + 5f3fe88 commit 8138ce7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkgs/by-name/os/oscavmgr/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
openxr-loader,
pkg-config,
rustPlatform,
versionCheckHook,
}:

rustPlatform.buildRustPackage rec {
Expand All @@ -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" \
Expand Down

0 comments on commit 8138ce7

Please sign in to comment.