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" ]; }; -} +})