From 697ce045783f8c74e3a748514de4fcf78c8b0a1b Mon Sep 17 00:00:00 2001 From: Guy Chronister Date: Thu, 22 Jan 2026 12:08:47 -0600 Subject: [PATCH] ocamlPackages.parse-argv: migrate to finalAttrs --- pkgs/development/ocaml-modules/parse-argv/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/ocaml-modules/parse-argv/default.nix b/pkgs/development/ocaml-modules/parse-argv/default.nix index b59feac4fb40..2af0427210a4 100644 --- a/pkgs/development/ocaml-modules/parse-argv/default.nix +++ b/pkgs/development/ocaml-modules/parse-argv/default.nix @@ -7,14 +7,14 @@ ounit, }: -buildDunePackage rec { +buildDunePackage (finalAttrs: { pname = "parse-argv"; version = "0.2.0"; minimalOCamlVersion = "4.03"; src = fetchurl { - url = "https://github.com/mirage/parse-argv/releases/download/v${version}/parse-argv-v${version}.tbz"; + url = "https://github.com/mirage/parse-argv/releases/download/v${finalAttrs.version}/parse-argv-v${finalAttrs.version}.tbz"; sha256 = "06dl04fcmwpkydzni2fzwrhk0bqypd55mgxfax9v82x65xrgj5gw"; }; @@ -29,4 +29,4 @@ buildDunePackage rec { license = lib.licenses.isc; maintainers = [ lib.maintainers.vbgl ]; }; -} +})