From 1699f1d24cb237b48e12045a7e32368c786c270c Mon Sep 17 00:00:00 2001 From: jaredmontoya <49511278+jaredmontoya@users.noreply.github.com> Date: Tue, 23 Jul 2024 23:35:48 +0200 Subject: [PATCH] ear2ctl: add nix-update-script --- pkgs/by-name/ea/ear2ctl/package.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/ea/ear2ctl/package.nix b/pkgs/by-name/ea/ear2ctl/package.nix index 4d4e038f85f0..24f7b4649690 100644 --- a/pkgs/by-name/ea/ear2ctl/package.nix +++ b/pkgs/by-name/ea/ear2ctl/package.nix @@ -1,4 +1,11 @@ -{ lib, rustPlatform, fetchFromGitLab, pkg-config, dbus }: +{ + lib, + rustPlatform, + fetchFromGitLab, + pkg-config, + dbus, + nix-update-script, +}: rustPlatform.buildRustPackage rec { pname = "ear2ctl"; @@ -17,6 +24,8 @@ rustPlatform.buildRustPackage rec { buildInputs = [ dbus ]; + passthru.updateScript = nix-update-script { }; + meta = { description = "Linux controller for the Nothing Ear (2)"; homepage = "https://gitlab.com/bharadwaj-raju/ear2ctl";