Commit 5392c7e2 authored by Pol Dellaiera's avatar Pol Dellaiera
Browse files

crun: add `versionCheckHook`

parent 4f6318cc
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -12,6 +12,7 @@
  yajl,
  nixosTests,
  criu,
  versionCheckHook,
}:

let
@@ -87,6 +88,10 @@ stdenv.mkDerivation (finalAttrs: {

  passthru.tests = { inherit (nixosTests) podman; };

  doInstallCheck = true;
  nativeInstallCheckInputs = [ versionCheckHook ];
  versionCheckProgramArg = "--version";

  meta = {
    changelog = "https://github.com/containers/crun/releases/tag/${finalAttrs.version}";
    description = "Fast and lightweight fully featured OCI runtime and C library for running containers";