Skip to content

Commit

Permalink
tabby: versionCheckHook
Browse files Browse the repository at this point in the history
  • Loading branch information
khaneliman committed Oct 21, 2024
1 parent 4d56504 commit 552a98d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pkgs/by-name/ta/tabby/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
# one of [ null "cpu" "rocm" "cuda" "metal" ];
acceleration ? null,
cmake,
versionCheckHook,
}:

let
Expand Down Expand Up @@ -168,6 +169,12 @@ rustPlatform.buildRustPackage {
"cuda"
];

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

nativeBuildInputs =
[
cmake
Expand Down

0 comments on commit 552a98d

Please sign in to comment.