deadnix: add passthru.updateScript

This commit is contained in:
Diogo Correia
2026-07-27 22:35:22 +01:00
parent 4164588cae
commit ba6ef65725
+5
View File
@@ -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";