From 67db0f2e73d68ede977710fa97c9c1a2e99e9939 Mon Sep 17 00:00:00 2001 From: Guy Chronister Date: Thu, 22 Jan 2026 12:09:20 -0600 Subject: [PATCH] ocamlPackages.rio: migrate to finalAttrs --- pkgs/development/ocaml-modules/rio/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/ocaml-modules/rio/default.nix b/pkgs/development/ocaml-modules/rio/default.nix index e705007d570e..fa0dc3388311 100644 --- a/pkgs/development/ocaml-modules/rio/default.nix +++ b/pkgs/development/ocaml-modules/rio/default.nix @@ -5,14 +5,14 @@ cstruct, }: -buildDunePackage rec { +buildDunePackage (finalAttrs: { pname = "rio"; version = "0.0.8"; minimalOCamlVersion = "5.1"; src = fetchurl { - url = "https://github.com/leostera/riot/releases/download/${version}/riot-${version}.tbz"; + url = "https://github.com/leostera/riot/releases/download/${finalAttrs.version}/riot-${finalAttrs.version}.tbz"; hash = "sha256-SsiDz53b9bMIT9Q3IwDdB3WKy98WSd9fiieU41qZpeE="; }; @@ -23,8 +23,8 @@ buildDunePackage rec { meta = { description = "Ergonomic, composable, efficient read/write streams"; homepage = "https://github.com/leostera/riot"; - changelog = "https://github.com/leostera/riot/blob/${version}/CHANGES.md"; + changelog = "https://github.com/leostera/riot/blob/${finalAttrs.version}/CHANGES.md"; license = lib.licenses.mit; maintainers = [ ]; }; -} +})