micro: use versionCheckHook

This commit is contained in:
CactiChameleon9
2026-01-28 15:10:34 +01:00
parent 69459b3b3e
commit bc2232d9fa
+4
View File
@@ -5,6 +5,7 @@
fetchFromGitHub,
installShellFiles,
stdenv,
versionCheckHook,
# Deprecated options
# Remove them as soon as possible
withXclip ? null,
@@ -69,6 +70,9 @@ let
wrapper = callPackage ./wrapper.nix { micro = self; };
};
nativeInstallCheckInputs = [ versionCheckHook ];
doInstallCheck = true;
meta = {
homepage = "https://micro-editor.github.io";
changelog = "https://github.com/micro-editor/micro/releases/";