tabby: versionCheckHook

This commit is contained in:
Austin Horstman 2024-10-21 14:53:52 -05:00
parent 883b47ed86
commit 6896e06ebf
No known key found for this signature in database

View File

@ -23,6 +23,7 @@
# one of [ null "cpu" "rocm" "cuda" "metal" ];
acceleration ? null,
versionCheckHook,
}:
let
@ -167,6 +168,12 @@ rustPlatform.buildRustPackage {
"cuda"
];
nativeInstallCheckInputs = [
versionCheckHook
];
versionCheckProgramArg = [ "--version" ];
doInstallCheck = true;
nativeBuildInputs =
[
git