From 2ff654292a93a30fdf7f1606c8c9e31ced9820ea Mon Sep 17 00:00:00 2001 From: Guy Chronister Date: Thu, 22 Jan 2026 10:13:42 -0600 Subject: [PATCH] ocamlPackages.git: migrate to finalAttrs --- pkgs/development/ocaml-modules/git/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/ocaml-modules/git/default.nix b/pkgs/development/ocaml-modules/git/default.nix index 16580b8208bf..d6119aedfb76 100644 --- a/pkgs/development/ocaml-modules/git/default.nix +++ b/pkgs/development/ocaml-modules/git/default.nix @@ -37,14 +37,14 @@ cmdliner, }: -buildDunePackage rec { +buildDunePackage (finalAttrs: { pname = "git"; version = "3.18.0"; minimalOCamlVersion = "4.08"; src = fetchurl { - url = "https://github.com/mirage/ocaml-git/releases/download/${version}/git-${version}.tbz"; + url = "https://github.com/mirage/ocaml-git/releases/download/${finalAttrs.version}/git-${finalAttrs.version}.tbz"; hash = "sha256-kleVYn5tquC0vRaqUGh53xHLIB5l/v446BN48Y1RfUs="; }; @@ -99,4 +99,4 @@ buildDunePackage rec { ]; homepage = "https://github.com/mirage/ocaml-git"; }; -} +})