diff options
author | Francesco Gazzetta <fgaz@fgaz.me> | 2024-02-19 16:09:35 +0100 |
---|---|---|
committer | Francesco Gazzetta <fgaz@fgaz.me> | 2024-03-05 09:50:11 +0100 |
commit | 2b10ce0531dc542193151e8a6eda08c5a06354b7 (patch) | |
tree | f0305d02caf28530d02557a423517c46db937170 /pkgs/applications/misc/openrgb-plugins | |
parent | e7fba6b36981787304339130032f9bde73732e02 (diff) |
openrgb-plugin-hardwaresync: use finalAttrs pattern
Diffstat (limited to 'pkgs/applications/misc/openrgb-plugins')
-rw-r--r-- | pkgs/applications/misc/openrgb-plugins/hardwaresync/default.nix | 6 |
1 files 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 5d0c4e966128f..9080f53481fbc 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; }; -} +}) |