From 351d4648814501fd36f8dcc2ea5172fc7a97cc27 Mon Sep 17 00:00:00 2001 From: Guy Chronister Date: Thu, 22 Jan 2026 12:08:18 -0600 Subject: [PATCH] ocamlPackages.mrmime: migrate to finalAttrs --- pkgs/development/ocaml-modules/mrmime/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/ocaml-modules/mrmime/default.nix b/pkgs/development/ocaml-modules/mrmime/default.nix index c7fa461a364a..8148f5b99c88 100644 --- a/pkgs/development/ocaml-modules/mrmime/default.nix +++ b/pkgs/development/ocaml-modules/mrmime/default.nix @@ -24,12 +24,12 @@ uutf, }: -buildDunePackage rec { +buildDunePackage (finalAttrs: { pname = "mrmime"; version = "0.7.0"; src = fetchurl { - url = "https://github.com/mirage/mrmime/releases/download/v${version}/mrmime-${version}.tbz"; + url = "https://github.com/mirage/mrmime/releases/download/v${finalAttrs.version}/mrmime-${finalAttrs.version}.tbz"; hash = "sha256-w23xtro9WgyLLwqdwfqLMN/ZDqwpvFcEvurbsqnsJLc="; }; @@ -68,4 +68,4 @@ buildDunePackage rec { maintainers = [ ]; mainProgram = "mrmime.generate"; }; -} +})