From 578945fa2d09db8626085b5e10fcf8ca7cf6b42c Mon Sep 17 00:00:00 2001 From: Guy Chronister Date: Thu, 22 Jan 2026 12:08:12 -0600 Subject: [PATCH] ocamlPackages.mirage-random: migrate to finalAttrs --- pkgs/development/ocaml-modules/mirage-random/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/ocaml-modules/mirage-random/default.nix b/pkgs/development/ocaml-modules/mirage-random/default.nix index e016f47cd0d5..87d0f45930b3 100644 --- a/pkgs/development/ocaml-modules/mirage-random/default.nix +++ b/pkgs/development/ocaml-modules/mirage-random/default.nix @@ -5,14 +5,14 @@ cstruct, }: -buildDunePackage rec { +buildDunePackage (finalAttrs: { pname = "mirage-random"; version = "3.0.0"; duneVersion = "3"; src = fetchurl { - url = "https://github.com/mirage/mirage-random/releases/download/v${version}/mirage-random-v${version}.tbz"; + url = "https://github.com/mirage/mirage-random/releases/download/v${finalAttrs.version}/mirage-random-v${finalAttrs.version}.tbz"; sha256 = "sha256-Sf4/KB1kMMwXI+yr5H/JuOmynYPNXwlk9dAA+gFAZs8="; }; @@ -24,4 +24,4 @@ buildDunePackage rec { license = lib.licenses.isc; maintainers = [ lib.maintainers.vbgl ]; }; -} +})