From f7a92c49ef3503205986f96dbd298c3573d2b13b Mon Sep 17 00:00:00 2001 From: Guy Chronister Date: Wed, 21 Jan 2026 19:28:49 -0600 Subject: [PATCH] ocamlPackages.cfstream: migrate to finalAttrs --- pkgs/development/ocaml-modules/cfstream/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/development/ocaml-modules/cfstream/default.nix b/pkgs/development/ocaml-modules/cfstream/default.nix index 9deb440b2bac..7e46d885ca7a 100644 --- a/pkgs/development/ocaml-modules/cfstream/default.nix +++ b/pkgs/development/ocaml-modules/cfstream/default.nix @@ -8,7 +8,7 @@ ounit, }: -buildDunePackage rec { +buildDunePackage (finalAttrs: { pname = "cfstream"; version = "1.3.2"; @@ -16,8 +16,8 @@ buildDunePackage rec { src = fetchFromGitHub { owner = "biocaml"; - repo = pname; - rev = version; + repo = "cfstream"; + rev = finalAttrs.version; hash = "sha256-iSg0QsTcU0MT/Cletl+hW6bKyH0jkp7Jixqu8H59UmQ="; }; @@ -36,9 +36,9 @@ buildDunePackage rec { doCheck = true; meta = { - inherit (src.meta) homepage; + inherit (finalAttrs.src.meta) homepage; description = "Simple Core-inspired wrapper for standard library Stream module"; maintainers = [ lib.maintainers.bcdarwin ]; license = lib.licenses.lgpl21; }; -} +})