Unverified Commit 8138ce7b authored by Sefa Eyeoglu's avatar Sefa Eyeoglu Committed by GitHub
Browse files

oscavmgr: add version test (#365419)

parents bc405454 5f3fe888
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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" \