From a9fe8e7159b5ffbc71577e17a8cecd6ee9f30a33 Mon Sep 17 00:00:00 2001 From: Guy Chronister Date: Thu, 22 Jan 2026 12:09:13 -0600 Subject: [PATCH] ocamlPackages.qtest: migrate to finalAttrs --- pkgs/development/ocaml-modules/qtest/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/development/ocaml-modules/qtest/default.nix b/pkgs/development/ocaml-modules/qtest/default.nix index de1bbca4ef08..a9d71597d44a 100644 --- a/pkgs/development/ocaml-modules/qtest/default.nix +++ b/pkgs/development/ocaml-modules/qtest/default.nix @@ -5,14 +5,14 @@ qcheck, }: -buildDunePackage rec { +buildDunePackage (finalAttrs: { pname = "qtest"; version = "2.11.2"; src = fetchFromGitHub { owner = "vincent-hugot"; - repo = pname; - rev = "v${version}"; + repo = "qtest"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-VLY8+Nu6md0szW4RVxTFwlSQ9kyrgUqf7wQEA6GW8BE="; }; @@ -27,8 +27,8 @@ buildDunePackage rec { meta = { description = "Inline (Unit) Tests for OCaml"; mainProgram = "qtest"; - inherit (src.meta) homepage; + inherit (finalAttrs.src.meta) homepage; maintainers = with lib.maintainers; [ vbgl ]; license = lib.licenses.gpl3; }; -} +})