Unverified Commit c69df897 authored by Tom Hunze's avatar Tom Hunze
Browse files

commitlint: add version check

parent f08807ae
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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 = {