From cbf54c37a34b302da2b3d3caad2a983a6ffb04b0 Mon Sep 17 00:00:00 2001 From: Sizhe Zhao Date: Sun, 18 May 2025 20:39:04 +0800 Subject: [PATCH] watchexec: add passthru.updateScript --- pkgs/by-name/wa/watchexec/package.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/by-name/wa/watchexec/package.nix b/pkgs/by-name/wa/watchexec/package.nix index c6adc8d680dc..539390db5167 100644 --- a/pkgs/by-name/wa/watchexec/package.nix +++ b/pkgs/by-name/wa/watchexec/package.nix @@ -4,6 +4,7 @@ rustPlatform, fetchFromGitHub, installShellFiles, + nix-update-script, }: rustPlatform.buildRustPackage (finalAttrs: { @@ -41,6 +42,8 @@ rustPlatform.buildRustPackage (finalAttrs: { --zsh completions/zsh ''; + passthru.updateScript = nix-update-script { }; + meta = { description = "Executes commands in response to file modifications"; homepage = "https://watchexec.github.io/";