veridian: add updateScript

This commit is contained in:
hakan-demirli
2026-01-25 17:15:24 +01:00
parent 3e9cc12609
commit 0b5d05ccf9
+12 -1
View File
@@ -15,10 +15,11 @@
verible,
verilator,
nix-update-script,
}:
rustPlatform.buildRustPackage {
pname = "veridian";
version = "0-unstable-2025-12-01";
version = "0-unstable-2025-11-30";
src = fetchFromGitHub {
owner = "vivekmalneedi";
@@ -71,6 +72,16 @@ rustPlatform.buildRustPackage {
SLANG_INSTALL_PATH = sv-lang;
};
passthru = {
updateScript = nix-update-script {
extraArgs = [
"--version=branch"
# Avoid using "nightly" tag: https://github.com/Mic92/nix-update/pull/430
"--version-regex=(0-unstable-.*)"
];
};
};
meta = {
description = "SystemVerilog Language Server";
homepage = "https://github.com/vivekmalneedi/veridian";