From 7e83fd4711f216fdcf0377fd48fedff9ed33a9e2 Mon Sep 17 00:00:00 2001 From: Guy Chronister Date: Thu, 22 Jan 2026 12:09:08 -0600 Subject: [PATCH] ocamlPackages.processor: migrate to finalAttrs --- pkgs/development/ocaml-modules/processor/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/ocaml-modules/processor/default.nix b/pkgs/development/ocaml-modules/processor/default.nix index d4eba003ea67..ce6d3736239b 100644 --- a/pkgs/development/ocaml-modules/processor/default.nix +++ b/pkgs/development/ocaml-modules/processor/default.nix @@ -4,7 +4,7 @@ fetchFromGitHub, }: -buildDunePackage rec { +buildDunePackage (finalAttrs: { pname = "processor"; version = "0.1-unstable-2024-07-23"; @@ -23,8 +23,8 @@ buildDunePackage rec { description = "CPU topology and affinity for ocaml-multicore"; homepage = "https://haesbaert.github.io/ocaml-processor/processor/index.html"; downloadPage = "https://github.com/haesbaert/ocaml-processor"; - changelog = "https://github.com/haesbaert/ocaml-processor/releases/tag/v${version}"; + changelog = "https://github.com/haesbaert/ocaml-processor/releases/tag/v${finalAttrs.version}"; license = lib.licenses.isc; maintainers = [ lib.maintainers.ethancedwards8 ]; }; -} +})