From f6e1bb11db6d9d9bb66506a39e8ee76298f92fc2 Mon Sep 17 00:00:00 2001 From: Guy Chronister Date: Thu, 22 Jan 2026 12:09:06 -0600 Subject: [PATCH] ocamlPackages.pratter: migrate to finalAttrs --- pkgs/development/ocaml-modules/pratter/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/ocaml-modules/pratter/default.nix b/pkgs/development/ocaml-modules/pratter/default.nix index 18ce52f9eb4d..c42a3ea74399 100644 --- a/pkgs/development/ocaml-modules/pratter/default.nix +++ b/pkgs/development/ocaml-modules/pratter/default.nix @@ -7,7 +7,7 @@ qcheck-alcotest, }: -buildDunePackage rec { +buildDunePackage (finalAttrs: { version = "5.0.1"; pname = "pratter"; @@ -17,7 +17,7 @@ buildDunePackage rec { domain = "forge.tedomum.net"; owner = "koizel"; repo = "pratter"; - tag = version; + tag = finalAttrs.version; hash = "sha256-Ib7EplEvOuYcAS9cfzo5994SqCv2eiysLekYfH09IMw="; }; @@ -32,7 +32,7 @@ buildDunePackage rec { description = "Extended Pratt parser"; homepage = "https://github.com/gabrielhdt/pratter"; license = lib.licenses.bsd3; - changelog = "https://github.com/gabrielhdt/pratter/raw/${version}/CHANGELOG.md"; + changelog = "https://github.com/gabrielhdt/pratter/raw/${finalAttrs.version}/CHANGELOG.md"; maintainers = with lib.maintainers; [ bcdarwin ]; }; -} +})