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";