From 7146a15a272c4a11eca3e0bdfbcb47e5df314ada Mon Sep 17 00:00:00 2001 From: eljamm Date: Thu, 27 Mar 2025 11:56:28 +0100 Subject: [PATCH] gnunet-gtk: use finalAttrs --- pkgs/applications/networking/p2p/gnunet/gtk.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/p2p/gnunet/gtk.nix b/pkgs/applications/networking/p2p/gnunet/gtk.nix index c8598ddd89f2..69cb8c180954 100644 --- a/pkgs/applications/networking/p2p/gnunet/gtk.nix +++ b/pkgs/applications/networking/p2p/gnunet/gtk.nix @@ -13,12 +13,12 @@ wrapGAppsHook3, }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "gnunet-gtk"; version = "0.24.0"; src = fetchurl { - url = "mirror://gnu/gnunet/gnunet-gtk-${version}.tar.gz"; + url = "mirror://gnu/gnunet/gnunet-gtk-${finalAttrs.version}.tar.gz"; hash = "sha256-rsQzMvOoQEuushd0jBGQt9j6zXj2G1SMax8d4QoDV6s="; }; @@ -50,4 +50,4 @@ stdenv.mkDerivation rec { description = "GNUnet GTK User Interface"; homepage = "https://git.gnunet.org/gnunet-gtk.git"; }; -} +})