From f21b4740df2d2e64f64a9b1ac62a23ca66332ac1 Mon Sep 17 00:00:00 2001 From: Guy Chronister Date: Thu, 22 Jan 2026 12:09:00 -0600 Subject: [PATCH] ocamlPackages.ppx_deriving_cmdliner: migrate to finalAttrs --- .../ocaml-modules/ppx_deriving_cmdliner/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/ocaml-modules/ppx_deriving_cmdliner/default.nix b/pkgs/development/ocaml-modules/ppx_deriving_cmdliner/default.nix index 77b9cba4f679..46d0e729a6bd 100644 --- a/pkgs/development/ocaml-modules/ppx_deriving_cmdliner/default.nix +++ b/pkgs/development/ocaml-modules/ppx_deriving_cmdliner/default.nix @@ -11,7 +11,7 @@ gitUpdater, }: -buildDunePackage rec { +buildDunePackage (finalAttrs: { pname = "ppx_deriving_cmdliner"; version = "0.6.1"; @@ -19,8 +19,8 @@ buildDunePackage rec { src = fetchFromGitHub { owner = "hammerlab"; - repo = pname; - rev = "v${version}"; + repo = "ppx_deriving_cmdliner"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-/22KLQnxu3e2ZSca6ZLxTJDfv/rsmgCUkJnZC0RwRi8"; }; @@ -54,4 +54,4 @@ buildDunePackage rec { maintainers = [ lib.maintainers.romildo ]; broken = lib.versionAtLeast ppxlib.version "0.36"; }; -} +})