From a1e2a3b104157e6b5a2fca82c20202d31356119f Mon Sep 17 00:00:00 2001 From: Guy Chronister Date: Thu, 22 Jan 2026 10:13:44 -0600 Subject: [PATCH] ocamlPackages.gluon: migrate to finalAttrs --- pkgs/development/ocaml-modules/gluon/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/ocaml-modules/gluon/default.nix b/pkgs/development/ocaml-modules/gluon/default.nix index 9bc4408c28ab..49daf0af5034 100644 --- a/pkgs/development/ocaml-modules/gluon/default.nix +++ b/pkgs/development/ocaml-modules/gluon/default.nix @@ -10,14 +10,14 @@ uri, }: -buildDunePackage rec { +buildDunePackage (finalAttrs: { pname = "gluon"; version = "0.0.9"; minimalOCamlVersion = "5.1"; src = fetchurl { - url = "https://github.com/riot-ml/gluon/releases/download/${version}/gluon-${version}.tbz"; + url = "https://github.com/riot-ml/gluon/releases/download/${finalAttrs.version}/gluon-${finalAttrs.version}.tbz"; hash = "sha256-YWJCPokY1A7TGqCGoxJl14oKDVeMNybEEB7KiK92WSo="; }; @@ -40,8 +40,8 @@ buildDunePackage rec { meta = { description = "Minimal, portable, and fast API on top of the operating-system's evented I/O API"; homepage = "https://github.com/riot-ml/gluon"; - changelog = "https://github.com/riot-ml/gluon/blob/${version}/CHANGES.md"; + changelog = "https://github.com/riot-ml/gluon/blob/${finalAttrs.version}/CHANGES.md"; license = lib.licenses.mit; maintainers = [ ]; }; -} +})