hello: use also versionCheckHook

This commit is contained in:
Doron Behar 2024-06-18 09:41:18 +03:00
parent d69284079e
commit 42a85f4735

View File

@ -4,6 +4,7 @@
, fetchurl
, nixos
, testers
, versionCheckHook
, hello
}:
@ -19,6 +20,9 @@ stdenv.mkDerivation (finalAttrs: {
doCheck = true;
doInstallCheck = true;
nativeInstallCheckInputs = [
versionCheckHook
];
# Give hello some install checks for testing purpose.
postInstallCheck = ''