From fa1f225de999158b219411dc569c2a7eead82893 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gutyina=20Gerg=C5=91?= Date: Tue, 4 Nov 2025 23:59:06 +0100 Subject: [PATCH] lurk: use finalAttrs --- pkgs/by-name/lu/lurk/package.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/lu/lurk/package.nix b/pkgs/by-name/lu/lurk/package.nix index 6ac06d27e492..52263c45ab24 100644 --- a/pkgs/by-name/lu/lurk/package.nix +++ b/pkgs/by-name/lu/lurk/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "lurk"; version = "0.3.10"; src = fetchFromGitHub { owner = "jakwai01"; repo = "lurk"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-5riwosaT7QjRFnIFRAcyLul7i1g8OpHyUuuJNOROTF0="; }; @@ -23,7 +23,7 @@ rustPlatform.buildRustPackage rec { ''; meta = { - changelog = "https://github.com/jakwai01/lurk/releases/tag/v${version}"; + changelog = "https://github.com/jakwai01/lurk/releases/tag/v${finalAttrs.version}"; description = "Simple and pretty alternative to strace"; homepage = "https://github.com/jakwai01/lurk"; license = lib.licenses.agpl3Only; @@ -36,4 +36,4 @@ rustPlatform.buildRustPackage rec { "aarch64-linux" ]; }; -} +})