mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-23 12:34:15 +00:00
tabby: versionCheckHook
This commit is contained in:
parent
883b47ed86
commit
6896e06ebf
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user