From 5f45dcfdb9ba1116eced0f1b259274c7c757090e Mon Sep 17 00:00:00 2001 From: Guy Chronister Date: Thu, 22 Jan 2026 10:13:41 -0600 Subject: [PATCH] ocamlPackages.get-activity-lib: migrate to finalAttrs --- pkgs/development/ocaml-modules/get-activity/lib.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/ocaml-modules/get-activity/lib.nix b/pkgs/development/ocaml-modules/get-activity/lib.nix index 352b75d27f4f..2cd2eea8a744 100644 --- a/pkgs/development/ocaml-modules/get-activity/lib.nix +++ b/pkgs/development/ocaml-modules/get-activity/lib.nix @@ -13,14 +13,14 @@ alcotest, }: -buildDunePackage rec { +buildDunePackage (finalAttrs: { pname = "get-activity-lib"; version = "2.0.1"; src = fetchFromGitHub { owner = "tarides"; repo = "get-activity"; - rev = version; + rev = finalAttrs.version; hash = "sha256-QU/LPIxcem5nFvSxcNApOuBu6UHqLHIXVSOJ2UT0eKA="; }; @@ -48,7 +48,7 @@ buildDunePackage rec { homepage = "https://github.com/tarides/get-activity"; description = "Collect activity and format as markdown for a journal (lib)"; license = lib.licenses.mit; - changelog = "https://github.com/tarides/get-activity/releases/tag/${version}"; + changelog = "https://github.com/tarides/get-activity/releases/tag/${finalAttrs.version}"; maintainers = with lib.maintainers; [ zazedd ]; }; -} +})