From 43bf9e325cd1599d88740e4f52f476cf7afad366 Mon Sep 17 00:00:00 2001 From: John Titor <50095635+JohnRTitor@users.noreply.github.com> Date: Sat, 15 Mar 2025 16:12:08 +0530 Subject: [PATCH] ags_1: move to finalAttrs --- pkgs/by-name/ag/ags_1/package.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/ag/ags_1/package.nix b/pkgs/by-name/ag/ags_1/package.nix index 09efa681b42a..21d9ccf64894 100644 --- a/pkgs/by-name/ag/ags_1/package.nix +++ b/pkgs/by-name/ag/ags_1/package.nix @@ -20,14 +20,14 @@ nix-update-script, }: -buildNpmPackage rec { +buildNpmPackage (finalAttrs: { pname = "ags"; version = "1.8.2"; src = fetchFromGitHub { owner = "Aylur"; repo = "ags"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-ebnkUaee/pnfmw1KmOZj+MP1g5wA+8BT/TPKmn4Dkwc="; fetchSubmodules = true; }; @@ -68,7 +68,7 @@ buildNpmPackage rec { meta = { homepage = "https://github.com/Aylur/ags"; description = "EWW-inspired widget system as a GJS library"; - changelog = "https://github.com/Aylur/ags/releases/tag/v${version}"; + changelog = "https://github.com/Aylur/ags/releases/tag/v${finalAttrs.version}"; license = lib.licenses.gpl3Plus; maintainers = with lib.maintainers; [ foo-dogsquared @@ -77,4 +77,4 @@ buildNpmPackage rec { mainProgram = "ags"; platforms = lib.platforms.linux; }; -} +})