From a63cd29bae2b82dca1039f6ee137076bc87afa07 Mon Sep 17 00:00:00 2001 From: Guy Chronister Date: Thu, 22 Jan 2026 12:09:01 -0600 Subject: [PATCH] ocamlPackages.ppx_deriving_yaml: migrate to finalAttrs --- .../development/ocaml-modules/ppx_deriving_yaml/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/ocaml-modules/ppx_deriving_yaml/default.nix b/pkgs/development/ocaml-modules/ppx_deriving_yaml/default.nix index f2f4cc9d44e0..4f1fedbb9165 100644 --- a/pkgs/development/ocaml-modules/ppx_deriving_yaml/default.nix +++ b/pkgs/development/ocaml-modules/ppx_deriving_yaml/default.nix @@ -24,7 +24,7 @@ let }; in -buildDunePackage rec { +buildDunePackage (finalAttrs: { pname = "ppx_deriving_yaml"; inherit (param) version; @@ -37,7 +37,7 @@ buildDunePackage rec { }; src = fetchurl { - url = "https://github.com/patricoferris/ppx_deriving_yaml/releases/download/v${version}/ppx_deriving_yaml-${version}.tbz"; + url = "https://github.com/patricoferris/ppx_deriving_yaml/releases/download/v${finalAttrs.version}/ppx_deriving_yaml-${finalAttrs.version}.tbz"; inherit (param) hash; }; @@ -60,4 +60,4 @@ buildDunePackage rec { license = lib.licenses.isc; maintainers = [ ]; }; -} +})