veridian: add updateScript (#483678)

This commit is contained in:
Marcin Serwin
2026-03-06 18:53:02 +00:00
committed by GitHub
+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";