From 5ac4ac91bc4115dba07b62824b05c095a9619661 Mon Sep 17 00:00:00 2001 From: Guy Chronister Date: Thu, 22 Jan 2026 12:08:22 -0600 Subject: [PATCH] ocamlPackages.mustache: migrate to finalAttrs --- pkgs/development/ocaml-modules/mustache/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/ocaml-modules/mustache/default.nix b/pkgs/development/ocaml-modules/mustache/default.nix index d2f6da48542c..981b5007f2cb 100644 --- a/pkgs/development/ocaml-modules/mustache/default.nix +++ b/pkgs/development/ocaml-modules/mustache/default.nix @@ -8,13 +8,13 @@ ounit2, }: -buildDunePackage rec { +buildDunePackage (finalAttrs: { pname = "mustache"; version = "3.3.0"; src = fetchFromGitHub { owner = "rgrinberg"; repo = "ocaml-mustache"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-7rdp7nrjc25/Nuj/cf78qxS3Qy4ufaNcKjSnYh4Ri8U="; }; @@ -31,6 +31,6 @@ buildDunePackage rec { description = "Mustache logic-less templates in OCaml"; license = lib.licenses.mit; maintainers = [ lib.maintainers.vbgl ]; - inherit (src.meta) homepage; + inherit (finalAttrs.src.meta) homepage; }; -} +})