diff --git a/pkgs/by-name/sp/speakersafetyd/package.nix b/pkgs/by-name/sp/speakersafetyd/package.nix index 15fc619dc4a8..5a2a940ad4ad 100644 --- a/pkgs/by-name/sp/speakersafetyd/package.nix +++ b/pkgs/by-name/sp/speakersafetyd/package.nix @@ -6,6 +6,7 @@ pkg-config, alsa-lib, udevCheckHook, + nix-update-script, }: rustPlatform.buildRustPackage (finalAttrs: { @@ -46,6 +47,10 @@ rustPlatform.buildRustPackage (finalAttrs: { dontCargoInstall = true; doInstallCheck = true; + passthru = { + updateScript = nix-update-script { }; + }; + meta = { description = "Userspace daemon that implements the Smart Amp protection model"; mainProgram = "speakersafetyd";