From 29f52e6708df40dd49858191a202ba26f1dfa904 Mon Sep 17 00:00:00 2001 From: Guy Chronister Date: Wed, 21 Jan 2026 19:29:27 -0600 Subject: [PATCH] ocamlPackages.farith: migrate to finalAttrs --- pkgs/development/ocaml-modules/farith/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/ocaml-modules/farith/default.nix b/pkgs/development/ocaml-modules/farith/default.nix index 3840f7881fc1..376b6f286918 100644 --- a/pkgs/development/ocaml-modules/farith/default.nix +++ b/pkgs/development/ocaml-modules/farith/default.nix @@ -7,7 +7,7 @@ zarith, }: -buildDunePackage rec { +buildDunePackage (finalAttrs: { pname = "farith"; version = "0.1"; @@ -17,7 +17,7 @@ buildDunePackage rec { domain = "git.frama-c.com"; owner = "pub"; repo = "farith"; - tag = version; + tag = finalAttrs.version; hash = "sha256-9TGKeL3DXKEf2RLpkjOTC8aDQeLKSM9QUIiSkFCQW+8="; }; @@ -35,4 +35,4 @@ buildDunePackage rec { license = lib.licenses.lgpl2Only; maintainers = with lib.maintainers; [ ethancedwards8 ]; }; -} +})