git-branchless: add version check
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user