mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-11 15:34:05 +00:00
codeium: add versionCheckHook
This commit is contained in:
parent
76ba7a02ba
commit
b7f742a510
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user