summary refs log tree commit diff
path: root/pkgs/applications/window-managers/trayer/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/window-managers/trayer/default.nix')
-rw-r--r--pkgs/applications/window-managers/trayer/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/applications/window-managers/trayer/default.nix b/pkgs/applications/window-managers/trayer/default.nix
index c210b39fe18..6be3a33ac0b 100644
--- a/pkgs/applications/window-managers/trayer/default.nix
+++ b/pkgs/applications/window-managers/trayer/default.nix
@@ -1,7 +1,8 @@
 { lib, stdenv, fetchFromGitHub, pkg-config, gdk-pixbuf, gtk2 }:
 
 stdenv.mkDerivation rec {
-  name = "trayer-1.1.8";
+  pname = "trayer";
+  version = "1.1.8";
 
   nativeBuildInputs = [ pkg-config ];
   buildInputs = [ gdk-pixbuf gtk2 ];
@@ -9,7 +10,7 @@ stdenv.mkDerivation rec {
   src = fetchFromGitHub {
     owner = "sargon";
     repo = "trayer-srg";
-    rev = name;
+    rev = "${pname}-${version}";
     sha256 = "1mvhwaqa9bng9wh3jg3b7y8gl7nprbydmhg963xg0r076jyzv0cg";
   };