From 483eba44cd70f43d0bb9d318243790941b09d4c4 Mon Sep 17 00:00:00 2001 From: Guy Chronister Date: Thu, 22 Jan 2026 12:09:20 -0600 Subject: [PATCH] ocamlPackages.riot: migrate to finalAttrs --- pkgs/development/ocaml-modules/riot/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/ocaml-modules/riot/default.nix b/pkgs/development/ocaml-modules/riot/default.nix index d85f0738e4ba..b09a25b2e14d 100644 --- a/pkgs/development/ocaml-modules/riot/default.nix +++ b/pkgs/development/ocaml-modules/riot/default.nix @@ -12,14 +12,14 @@ tls, }: -buildDunePackage rec { +buildDunePackage (finalAttrs: { pname = "riot"; 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="; }; @@ -45,9 +45,9 @@ buildDunePackage rec { meta = { description = "Actor-model multi-core scheduler for OCaml 5"; 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 = [ ]; broken = true; # Not compatible with mirage-crypto ≥ 1.0 }; -} +})