From 1e2480abbc69a1d5cc976427ff2d4d5c40c60451 Mon Sep 17 00:00:00 2001 From: Guy Chronister Date: Wed, 21 Jan 2026 15:59:43 -0600 Subject: [PATCH] ocamlPackages.bindlib: migrate to finalAttrs --- pkgs/development/ocaml-modules/bindlib/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/development/ocaml-modules/bindlib/default.nix b/pkgs/development/ocaml-modules/bindlib/default.nix index 5adbc9e31070..bf0efa0ae9a9 100644 --- a/pkgs/development/ocaml-modules/bindlib/default.nix +++ b/pkgs/development/ocaml-modules/bindlib/default.nix @@ -6,7 +6,7 @@ timed, }: -buildDunePackage rec { +buildDunePackage (finalAttrs: { pname = "bindlib"; version = "6.0.0"; @@ -14,8 +14,8 @@ buildDunePackage rec { src = fetchFromGitHub { owner = "rlepigre"; - repo = "ocaml-${pname}"; - rev = version; + repo = "ocaml-bindlib"; + rev = finalAttrs.version; hash = "sha256-058yMbz9ExvgNG/kY9tPk70XSeVRSSKVg4n4F4fmPu4="; }; @@ -29,7 +29,7 @@ buildDunePackage rec { homepage = "https://rlepigre.github.io/ocaml-bindlib"; description = "Efficient binder representation in Ocaml"; license = lib.licenses.gpl3; - changelog = "https://github.com/rlepigre/ocaml-bindlib/raw/${version}/CHANGELOG.md"; + changelog = "https://github.com/rlepigre/ocaml-bindlib/raw/${finalAttrs.version}/CHANGELOG.md"; maintainers = with lib.maintainers; [ bcdarwin ]; }; -} +})