From c5454daaaf3d900478beaaf086a978b24b21cb6e Mon Sep 17 00:00:00 2001 From: Tom van Dijk <18gatenmaker6@gmail.com> Date: Sun, 15 Jun 2025 14:57:19 +0200 Subject: [PATCH] live-server: set `passthru.updateScript` --- pkgs/by-name/li/live-server/package.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/by-name/li/live-server/package.nix b/pkgs/by-name/li/live-server/package.nix index 655331b52e5f..f02c1f314641 100644 --- a/pkgs/by-name/li/live-server/package.nix +++ b/pkgs/by-name/li/live-server/package.nix @@ -4,6 +4,7 @@ fetchFromGitHub, openssl, pkg-config, + nix-update-script, }: rustPlatform.buildRustPackage (finalAttrs: { @@ -24,6 +25,8 @@ rustPlatform.buildRustPackage (finalAttrs: { buildInputs = [ openssl ]; + passthru.updateScript = nix-update-script { }; + meta = { description = "Local network server with live reload feature for static pages"; downloadPage = "https://github.com/lomirus/live-server/releases";