From 5710219cbc63e897e1a23abb158d3529df44767d Mon Sep 17 00:00:00 2001 From: Guy Chronister Date: Thu, 22 Jan 2026 10:13:56 -0600 Subject: [PATCH] ocamlPackages.inotify: migrate to finalAttrs --- pkgs/development/ocaml-modules/inotify/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/ocaml-modules/inotify/default.nix b/pkgs/development/ocaml-modules/inotify/default.nix index 900f60e7c774..d8d01a0614f1 100644 --- a/pkgs/development/ocaml-modules/inotify/default.nix +++ b/pkgs/development/ocaml-modules/inotify/default.nix @@ -7,14 +7,14 @@ fileutils, # only for tests }: -buildDunePackage rec { +buildDunePackage (finalAttrs: { version = "2.6"; pname = "inotify"; src = fetchFromGitHub { owner = "whitequark"; repo = "ocaml-inotify"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-Vg9uVIx6/OMS1WoJIHwZbSt5ZyFy+Xgw5167FJWGslg="; }; @@ -31,7 +31,7 @@ buildDunePackage rec { description = "Bindings for Linux’s filesystem monitoring interface, inotify"; license = lib.licenses.lgpl21; maintainers = [ lib.maintainers.vbgl ]; - inherit (src.meta) homepage; + inherit (finalAttrs.src.meta) homepage; platforms = lib.platforms.linux; }; -} +})