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

git-branchless: add version check

parent bdcd45a0
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -8,6 +8,7 @@
  rustPlatform,
  sqlite,
  stdenv,
  versionCheckHook,
}:

rustPlatform.buildRustPackage (finalAttrs: {
@@ -67,6 +68,10 @@ rustPlatform.buildRustPackage (finalAttrs: {
    "--skip=test_switch_auto_switch_interactive"
  ];

  nativeInstallCheckInputs = [ versionCheckHook ];
  versionCheckProgramArg = "--version";
  doInstallCheck = true;

  meta = {
    description = "Suite of tools to help you visualize, navigate, manipulate, and repair your commit history";
    homepage = "https://github.com/arxanas/git-branchless";