From eda8a964b98e551c77166ada3cf1c14b6125d59b Mon Sep 17 00:00:00 2001 From: Guy Chronister Date: Thu, 22 Jan 2026 12:09:24 -0600 Subject: [PATCH] ocamlPackages.saturn: migrate to finalAttrs --- pkgs/development/ocaml-modules/saturn/lockfree.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/ocaml-modules/saturn/lockfree.nix b/pkgs/development/ocaml-modules/saturn/lockfree.nix index 538dfda5e838..bfa91f76f7ea 100644 --- a/pkgs/development/ocaml-modules/saturn/lockfree.nix +++ b/pkgs/development/ocaml-modules/saturn/lockfree.nix @@ -6,14 +6,14 @@ multicore-magic, }: -buildDunePackage rec { +buildDunePackage (finalAttrs: { pname = "saturn_lockfree"; version = "0.5.0"; minimalOCamlVersion = "4.13"; src = fetchurl { - url = "https://github.com/ocaml-multicore/saturn/releases/download/${version}/saturn-${version}.tbz"; + url = "https://github.com/ocaml-multicore/saturn/releases/download/${finalAttrs.version}/saturn-${finalAttrs.version}.tbz"; hash = "sha256-ZmmxwIe5PiPYTTdvOHbOjRbv2b/bb9y0IekByfREPjk="; }; @@ -28,4 +28,4 @@ buildDunePackage rec { license = lib.licenses.isc; maintainers = [ lib.maintainers.vbgl ]; }; -} +})