From ba6ef6572543671b356b15f2682d9936e4d167b1 Mon Sep 17 00:00:00 2001 From: Diogo Correia Date: Mon, 27 Jul 2026 22:35:22 +0100 Subject: [PATCH] deadnix: add passthru.updateScript --- pkgs/by-name/de/deadnix/package.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/by-name/de/deadnix/package.nix b/pkgs/by-name/de/deadnix/package.nix index b6572fd953e8..caf7a3d9f83a 100644 --- a/pkgs/by-name/de/deadnix/package.nix +++ b/pkgs/by-name/de/deadnix/package.nix @@ -2,6 +2,7 @@ lib, fetchFromGitHub, rustPlatform, + nix-update-script, }: rustPlatform.buildRustPackage (finalAttrs: { @@ -17,6 +18,10 @@ rustPlatform.buildRustPackage (finalAttrs: { cargoHash = "sha256-IgGuWIsDsiMqscO4B876iTCdrR+nI9bpTQOyxjCtjMk="; + passthru = { + updateScript = nix-update-script { }; + }; + meta = { description = "Find and remove unused code in .nix source files"; homepage = "https://github.com/astro/deadnix";