watchexec: fix update script

This commit is contained in:
Sizhe Zhao
2026-03-28 14:53:24 +08:00
parent 9bce37898d
commit 18b14a34e1
+6 -1
View File
@@ -46,7 +46,12 @@ rustPlatform.buildRustPackage (finalAttrs: {
--zsh completions/zsh
'';
passthru.updateScript = nix-update-script { };
passthru.updateScript = nix-update-script {
extraArgs = [
"--version-regex"
"^v(.+)"
];
};
meta = {
description = "Executes commands in response to file modifications";