codeium: add versionCheckHook

This commit is contained in:
Gaetan Lepage 2024-11-30 17:20:26 +01:00
parent 76ba7a02ba
commit b7f742a510

View File

@ -4,6 +4,7 @@
fetchurl,
gzip,
autoPatchelfHook,
versionCheckHook,
}:
let
@ -55,6 +56,13 @@ stdenv.mkDerivation (finalAttrs: {
runHook postInstall
'';
nativeInstallCheckInputs = [
versionCheckHook
];
versionCheckProgram = "${placeholder "out"}/bin/codeium_language_server";
versionCheckProgramArg = [ "--version" ];
doInstallCheck = true;
passthru.updateScript = ./update.sh;
meta = rec {