commitlint: add version check

This commit is contained in:
Tom Hunze
2025-11-17 16:17:16 +01:00
parent f08807aecb
commit c69df897ed

View File

@@ -6,6 +6,7 @@
yarnConfigHook,
nodejs,
makeBinaryWrapper,
versionCheckHook,
nix-update-script,
}:
@@ -84,6 +85,11 @@ stdenv.mkDerivation (finalAttrs: {
runHook postInstall
'';
nativeInstallCheckInputs = [
versionCheckHook
];
doInstallCheck = true;
passthru.updateScript = nix-update-script { };
meta = {