mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-25 22:33:43 +00:00
codeium: add versionCheckHook
This commit is contained in:
parent
76ba7a02ba
commit
b7f742a510
@ -4,6 +4,7 @@
|
|||||||
fetchurl,
|
fetchurl,
|
||||||
gzip,
|
gzip,
|
||||||
autoPatchelfHook,
|
autoPatchelfHook,
|
||||||
|
versionCheckHook,
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
|
|
||||||
@ -55,6 +56,13 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
runHook postInstall
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
nativeInstallCheckInputs = [
|
||||||
|
versionCheckHook
|
||||||
|
];
|
||||||
|
versionCheckProgram = "${placeholder "out"}/bin/codeium_language_server";
|
||||||
|
versionCheckProgramArg = [ "--version" ];
|
||||||
|
doInstallCheck = true;
|
||||||
|
|
||||||
passthru.updateScript = ./update.sh;
|
passthru.updateScript = ./update.sh;
|
||||||
|
|
||||||
meta = rec {
|
meta = rec {
|
||||||
|
Loading…
Reference in New Issue
Block a user