From a7eeb65fe023d6d7847a6e65dad43cfcd1e46ad8 Mon Sep 17 00:00:00 2001 From: Guy Chronister Date: Thu, 22 Jan 2026 10:14:08 -0600 Subject: [PATCH] ocamlPackages.lablgtk3: migrate to finalAttrs --- pkgs/development/ocaml-modules/lablgtk3/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/ocaml-modules/lablgtk3/default.nix b/pkgs/development/ocaml-modules/lablgtk3/default.nix index 872da0e0d113..79aa69b65ae6 100644 --- a/pkgs/development/ocaml-modules/lablgtk3/default.nix +++ b/pkgs/development/ocaml-modules/lablgtk3/default.nix @@ -9,14 +9,14 @@ camlp-streams, }: -buildDunePackage rec { +buildDunePackage (finalAttrs: { version = "3.1.5"; pname = "lablgtk3"; minimalOCamlVersion = "4.06"; src = fetchurl { - url = "https://github.com/garrigue/lablgtk/releases/download/${version}/lablgtk3-${version}.tbz"; + url = "https://github.com/garrigue/lablgtk/releases/download/${finalAttrs.version}/lablgtk3-${finalAttrs.version}.tbz"; hash = "sha256-1IIc2+zzrjdPIDF9Y+Q/5YAww7qWV7UaLoPmUhl+jqw="; }; @@ -36,4 +36,4 @@ buildDunePackage rec { license = lib.licenses.lgpl21; maintainers = [ lib.maintainers.vbgl ]; }; -} +})