dwl: change self to finalAttrs

This commit is contained in:
Anderson Torres 2023-04-16 17:47:20 -03:00
parent 9f4d408fca
commit 768dce7a0d

View File

@ -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;