From 607371604eeaae450c4f721f162be94e0903145d Mon Sep 17 00:00:00 2001 From: Guy Chronister Date: Thu, 22 Jan 2026 10:13:55 -0600 Subject: [PATCH] ocamlPackages.imagelib: migrate to finalAttrs --- pkgs/development/ocaml-modules/imagelib/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/ocaml-modules/imagelib/default.nix b/pkgs/development/ocaml-modules/imagelib/default.nix index d63ea0cd4dc5..7d7f7dec3b51 100644 --- a/pkgs/development/ocaml-modules/imagelib/default.nix +++ b/pkgs/development/ocaml-modules/imagelib/default.nix @@ -7,7 +7,7 @@ alcotest, }: -buildDunePackage rec { +buildDunePackage (finalAttrs: { minimalOCamlVersion = "4.08"; version = "20221222"; pname = "imagelib"; @@ -15,7 +15,7 @@ buildDunePackage rec { duneVersion = "3"; src = fetchurl { - url = "https://github.com/rlepigre/ocaml-imagelib/releases/download/${version}/imagelib-${version}.tbz"; + url = "https://github.com/rlepigre/ocaml-imagelib/releases/download/${finalAttrs.version}/imagelib-${finalAttrs.version}.tbz"; hash = "sha256-BQ2TVxGlpc6temteK84TKXpx0MtHZSykL/TjKN9xGP0="; }; @@ -34,4 +34,4 @@ buildDunePackage rec { maintainers = [ lib.maintainers.vbgl ]; mainProgram = "imagetool"; }; -} +})