From 45883af4e880b16297d4dcef6eae8c88accced79 Mon Sep 17 00:00:00 2001 From: Guy Chronister Date: Thu, 22 Jan 2026 10:13:54 -0600 Subject: [PATCH] ocamlPackages.httpun: migrate to finalAttrs --- pkgs/development/ocaml-modules/httpun/types.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/ocaml-modules/httpun/types.nix b/pkgs/development/ocaml-modules/httpun/types.nix index 260903504967..3d3584e92da9 100644 --- a/pkgs/development/ocaml-modules/httpun/types.nix +++ b/pkgs/development/ocaml-modules/httpun/types.nix @@ -5,12 +5,12 @@ faraday, }: -buildDunePackage rec { +buildDunePackage (finalAttrs: { pname = "httpun-types"; version = "0.2.0"; src = fetchurl { - url = "https://github.com/anmonteiro/httpun/releases/download/${version}/httpun-${version}.tbz"; + url = "https://github.com/anmonteiro/httpun/releases/download/${finalAttrs.version}/httpun-${finalAttrs.version}.tbz"; hash = "sha256-os4n70yFro4cEAjR49Xok9ayEbk0WGod0pQvfbaHvSw="; }; @@ -22,4 +22,4 @@ buildDunePackage rec { license = lib.licenses.bsd3; maintainers = [ lib.maintainers.vbgl ]; }; -} +})