about summary refs log tree commit diff
path: root/pkgs/applications/window-managers/dwl
diff options
context:
space:
mode:
authorAnderson Torres <torres.anderson.85@protonmail.com>2023-04-16 17:47:20 -0300
committerAnderson Torres <torres.anderson.85@protonmail.com>2023-04-20 22:22:23 -0300
commit768dce7a0d881c2e7fa1617fc3dc360bb630cfee (patch)
treed455ae78586ade7f935abe3db71e89e13016fd4c /pkgs/applications/window-managers/dwl
parent9f4d408fcabb5f1d4bd9f9ca9b92d6f93e590115 (diff)
dwl: change self to finalAttrs
Diffstat (limited to 'pkgs/applications/window-managers/dwl')
-rw-r--r--pkgs/applications/window-managers/dwl/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/applications/window-managers/dwl/default.nix b/pkgs/applications/window-managers/dwl/default.nix
index 6e2e45e8b9a67..7bab957da046d 100644
--- a/pkgs/applications/window-managers/dwl/default.nix
+++ b/pkgs/applications/window-managers/dwl/default.nix
@@ -22,14 +22,14 @@
 let
   wlroots = wlroots_0_16;
 in
-stdenv.mkDerivation (self: {
+stdenv.mkDerivation (finalAttrs: {
   pname = "dwl";
   version = "0.4";
 
   src = fetchFromGitHub {
     owner = "djpohly";
     repo = "dwl";
-    rev = "v${self.version}";
+    rev = "v${finalAttrs.version}";
     hash = "sha256-OW7K7yMYSzqZWpQ9Vmpy8EgdWvyv3q1uh8A40f6AQF4=";
   };
 
@@ -87,7 +87,7 @@ stdenv.mkDerivation (self: {
       - Limited to 2000 SLOC to promote hackability
       - Tied to as few external dependencies as possible
     '';
-    changelog = "https://github.com/djpohly/dwl/releases/tag/v${self.version}";
+    changelog = "https://github.com/djpohly/dwl/releases/tag/v${finalAttrs.version}";
     license = lib.licenses.gpl3Only;
     maintainers = [ lib.maintainers.AndersonTorres ];
     inherit (wayland.meta) platforms;