conmon: add versionCheckHook
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
libseccomp,
|
||||
systemdMinimal,
|
||||
nixosTests,
|
||||
versionCheckHook,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
@@ -49,6 +50,10 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
passthru.tests = { inherit (nixosTests) cri-o podman; };
|
||||
|
||||
doInstallCheck = true;
|
||||
nativeInstallCheckInputs = [ versionCheckHook ];
|
||||
versionCheckProgramArg = "--version";
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/containers/conmon/releases/tag/${finalAttrs.src.tag}";
|
||||
homepage = "https://github.com/containers/conmon";
|
||||
|
||||
Reference in New Issue
Block a user