zvm: 0.8.22 -> 0.8.27

Variable `meta.VERSION` that outputs the version to binary is lagging
behind at `v0.8.25` instead of `v0.8.27` (this has since been corrected
on `master` in  https://github.com/tristanisham/zvm/commit/4bac2bd7e9dcd9b9d56e9dd2add59f9f9313f675)
postPatch added to satisfy `versionCheckHook`
This commit is contained in:
KangaZero
2026-08-01 23:11:46 +09:00
parent 52873270f6
commit 907cf34594
+7 -2
View File
@@ -8,17 +8,22 @@
buildGoModule (finalAttrs: {
pname = "zvm";
version = "0.8.22";
version = "0.8.27";
src = fetchFromGitHub {
owner = "tristanisham";
repo = "zvm";
tag = "v${finalAttrs.version}";
hash = "sha256-uKn4ysaNuvWpV4fhrpm7pdS61pQJTYr6WfIhBzTfNT8=";
hash = "sha256-NDkvTghdqabfzzXSyxYHZj67u+upY0WfLOAO5DWAZ3s=";
};
vendorHash = "sha256-kJrCUxzbpyxEUF9UQeAI28tWKA+T7zT1DBI1wf3pjjM=";
postPatch = ''
substituteInPlace cli/meta/version.go \
--replace-fail 'VERSION = "v0.8.25"' 'VERSION = "v${finalAttrs.version}"'
'';
doInstallCheck = true;
nativeInstallCheckInputs = [ versionCheckHook ];