about summary refs log tree commit diff
path: root/pkgs/applications
diff options
context:
space:
mode:
authorFrancesco Gazzetta <fgaz@fgaz.me>2024-02-19 16:08:01 +0100
committerFrancesco Gazzetta <fgaz@fgaz.me>2024-03-05 09:50:11 +0100
commite7fba6b36981787304339130032f9bde73732e02 (patch)
treeadaa456933d737942d86eebcbe89beef26f1fc7b /pkgs/applications
parent9532f335d69c2e47bb8f006b8829862e122053de (diff)
openrgb-plugin-effects: use finalAttrs pattern
Diffstat (limited to 'pkgs/applications')
-rw-r--r--pkgs/applications/misc/openrgb-plugins/effects/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/applications/misc/openrgb-plugins/effects/default.nix b/pkgs/applications/misc/openrgb-plugins/effects/default.nix
index 01ff200715166..f84aa13b72199 100644
--- a/pkgs/applications/misc/openrgb-plugins/effects/default.nix
+++ b/pkgs/applications/misc/openrgb-plugins/effects/default.nix
@@ -10,14 +10,14 @@
 , wrapQtAppsHook
 }:
 
-stdenv.mkDerivation rec {
+stdenv.mkDerivation (finalAttrs: {
   pname = "openrgb-plugin-effects";
   version = "0.9";
 
   src = fetchFromGitLab {
     owner = "OpenRGBDevelopers";
     repo = "OpenRGBEffectsPlugin";
-    rev = "release_${version}";
+    rev = "release_${finalAttrs.version}";
     hash = "sha256-8BnHifcFf7ESJgJi/q3ca38zuIVa++BoGlkWxj7gpog=";
     fetchSubmodules = true;
   };
@@ -47,4 +47,4 @@ stdenv.mkDerivation rec {
     maintainers = with maintainers; [ fgaz ];
     platforms = platforms.linux;
   };
-}
+})