From 5ccdcf0fecc912cd697896d53aedd5763a7a6a91 Mon Sep 17 00:00:00 2001 From: Defelo Date: Fri, 20 Jun 2025 15:27:17 +0200 Subject: [PATCH] kdlfmt: add updateScript --- pkgs/by-name/kd/kdlfmt/package.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/by-name/kd/kdlfmt/package.nix b/pkgs/by-name/kd/kdlfmt/package.nix index 0e0347d974d3..6b6d2e101195 100644 --- a/pkgs/by-name/kd/kdlfmt/package.nix +++ b/pkgs/by-name/kd/kdlfmt/package.nix @@ -5,6 +5,7 @@ stdenv, installShellFiles, versionCheckHook, + nix-update-script, }: rustPlatform.buildRustPackage (finalAttrs: { @@ -34,6 +35,8 @@ rustPlatform.buildRustPackage (finalAttrs: { versionCheckProgramArg = "--version"; doInstallCheck = true; + passthru.updateScript = nix-update-script { }; + meta = { description = "Formatter for kdl documents"; homepage = "https://github.com/hougesen/kdlfmt";