From edc40fc0170071512a7c9600a9792168d8ed2026 Mon Sep 17 00:00:00 2001 From: Guy Chronister Date: Wed, 21 Jan 2026 15:59:42 -0600 Subject: [PATCH] ocamlPackages.base64: migrate to finalAttrs --- pkgs/development/ocaml-modules/base64/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/ocaml-modules/base64/default.nix b/pkgs/development/ocaml-modules/base64/default.nix index 08b028c874ee..0638e50566e5 100644 --- a/pkgs/development/ocaml-modules/base64/default.nix +++ b/pkgs/development/ocaml-modules/base64/default.nix @@ -9,14 +9,14 @@ rresult, }: -buildDunePackage rec { +buildDunePackage (finalAttrs: { pname = "base64"; version = "3.5.2"; minimalOCamlVersion = "4.07"; src = fetchurl { - url = "https://github.com/mirage/ocaml-base64/releases/download/v${version}/base64-${version}.tbz"; + url = "https://github.com/mirage/ocaml-base64/releases/download/v${finalAttrs.version}/base64-${finalAttrs.version}.tbz"; hash = "sha256-s/XOMBqnLHAy75C+IzLXL/OWKSLADuKuxryt4Yei9Zs="; }; @@ -36,4 +36,4 @@ buildDunePackage rec { license = lib.licenses.isc; maintainers = with lib.maintainers; [ vbgl ]; }; -} +})