Unverified Commit 4c857567 authored by Jonathan Davies's avatar Jonathan Davies
Browse files

firecracker: Add versionCheckHook

parent 4a71b0ac
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -7,6 +7,7 @@
  libseccomp,
  rust-bindgen,
  rustPlatform,
  versionCheckHook,
}:

rustPlatform.buildRustPackage rec {
@@ -78,6 +79,11 @@ rustPlatform.buildRustPackage rec {
    "--skip=resource_limits::tests::test_set_resource_limits"
  ];

  nativeInstallCheckInputs = [
    versionCheckHook
  ];
  doInstallCheck = true;

  installPhase = ''
    runHook preInstall