Unverified Commit a17a0516 authored by Jonathan Davies's avatar Jonathan Davies
Browse files

delta: Add versionCheckHook

parent 67915b3b
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -8,6 +8,7 @@
  stdenv,
  git,
  zlib,
  versionCheckHook,
}:

rustPlatform.buildRustPackage rec {
@@ -57,6 +58,11 @@ rustPlatform.buildRustPackage rec {
    "--skip=test_diff_real_files"
  ];

  nativeInstallCheckInputs = [
    versionCheckHook
  ];
  doInstallCheck = true;

  meta = {
    homepage = "https://github.com/dandavison/delta";
    description = "Syntax-highlighting pager for git";