From a29c8d9f73fecaed36df0f9c40ff1a30ac33aac1 Mon Sep 17 00:00:00 2001 From: Guy Chronister Date: Thu, 22 Jan 2026 10:13:59 -0600 Subject: [PATCH] ocamlPackages.iri: migrate to finalAttrs --- pkgs/development/ocaml-modules/iri/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/ocaml-modules/iri/default.nix b/pkgs/development/ocaml-modules/iri/default.nix index 106e62e630b0..49dfc5d5b2b5 100644 --- a/pkgs/development/ocaml-modules/iri/default.nix +++ b/pkgs/development/ocaml-modules/iri/default.nix @@ -7,7 +7,7 @@ uutf, }: -buildDunePackage rec { +buildDunePackage (finalAttrs: { pname = "iri"; version = "1.1.0"; @@ -17,7 +17,7 @@ buildDunePackage rec { domain = "framagit.org"; owner = "zoggy"; repo = "ocaml-iri"; - rev = version; + rev = finalAttrs.version; hash = "sha256-fh5+0CWplDdGXCotZL2UzjOGil2LR4NppttaquO/ndE="; }; @@ -31,6 +31,6 @@ buildDunePackage rec { description = "IRI (RFC3987) native OCaml implementation"; license = lib.licenses.lgpl3; maintainers = [ lib.maintainers.vbgl ]; - inherit (src.meta) homepage; + inherit (finalAttrs.src.meta) homepage; }; -} +})