From 2b10ce0531dc542193151e8a6eda08c5a06354b7 Mon Sep 17 00:00:00 2001 From: Francesco Gazzetta Date: Mon, 19 Feb 2024 16:09:35 +0100 Subject: [PATCH] openrgb-plugin-hardwaresync: use finalAttrs pattern --- .../misc/openrgb-plugins/hardwaresync/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/misc/openrgb-plugins/hardwaresync/default.nix b/pkgs/applications/misc/openrgb-plugins/hardwaresync/default.nix index 5d0c4e966128..9080f53481fb 100644 --- a/pkgs/applications/misc/openrgb-plugins/hardwaresync/default.nix +++ b/pkgs/applications/misc/openrgb-plugins/hardwaresync/default.nix @@ -11,14 +11,14 @@ , wrapQtAppsHook }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "openrgb-plugin-hardwaresync"; version = "0.9"; src = fetchFromGitLab { owner = "OpenRGBDevelopers"; repo = "OpenRGBHardwareSyncPlugin"; - rev = "release_${version}"; + rev = "release_${finalAttrs.version}"; hash = "sha256-3sQFiqmXhuavce/6v3XBpp6PAduY7t440nXfbfCX9a0="; }; @@ -50,4 +50,4 @@ stdenv.mkDerivation rec { maintainers = with maintainers; [ fgaz ]; platforms = platforms.linux; }; -} +})