From 83fc6bfe99e46f178a02fcfe6d159cf3772852db Mon Sep 17 00:00:00 2001 From: Dmitry Bogatov Date: Sat, 10 Oct 2026 12:32:54 +0000 Subject: [PATCH] ocamlPackages.note: migrate to finalAttrs Assisted-by: claude-opus-4-8 --- pkgs/development/ocaml-modules/note/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/ocaml-modules/note/default.nix b/pkgs/development/ocaml-modules/note/default.nix index 176d6581e82d..deb123302077 100644 --- a/pkgs/development/ocaml-modules/note/default.nix +++ b/pkgs/development/ocaml-modules/note/default.nix @@ -9,11 +9,11 @@ brr, }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "ocaml${ocaml.version}-note"; version = "0.0.3"; src = fetchurl { - url = "https://erratique.ch/software/note/releases/note-${version}.tbz"; + url = "https://erratique.ch/software/note/releases/note-${finalAttrs.version}.tbz"; hash = "sha256-ZZOvCnyz7UWzFtGFI1uC0ZApzyylgZYM/HYIXGVXY2k="; }; buildInputs = [ @@ -34,4 +34,4 @@ stdenv.mkDerivation rec { inherit (ocaml.meta) platforms; broken = !(lib.versionAtLeast ocaml.version "4.08"); }; -} +})