From 760177cc80f3a21edf8e8047e8cd64b2390fc912 Mon Sep 17 00:00:00 2001 From: Guy Chronister Date: Wed, 21 Jan 2026 15:59:44 -0600 Subject: [PATCH] ocamlPackages.bitv: migrate to finalAttrs --- pkgs/development/ocaml-modules/bitv/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/ocaml-modules/bitv/default.nix b/pkgs/development/ocaml-modules/bitv/default.nix index 1fcc54f753ed..1f6debef31ef 100644 --- a/pkgs/development/ocaml-modules/bitv/default.nix +++ b/pkgs/development/ocaml-modules/bitv/default.nix @@ -4,7 +4,7 @@ buildDunePackage, }: -buildDunePackage rec { +buildDunePackage (finalAttrs: { pname = "bitv"; version = "2.1"; minimalOCamlVersion = "4.08"; @@ -12,7 +12,7 @@ buildDunePackage rec { src = fetchFromGitHub { owner = "backtracking"; repo = "bitv"; - tag = version; + tag = finalAttrs.version; hash = "sha256-jlpVMqYOiKxoU6wuVeYlOC5wRtF4aakljKpop6dfu8w="; }; @@ -20,7 +20,7 @@ buildDunePackage rec { description = "Bit vector library for OCaml"; license = lib.licenses.lgpl21; homepage = "https://github.com/backtracking/bitv"; - changelog = "https://github.com/backtracking/bitv/releases/tag/${version}"; + changelog = "https://github.com/backtracking/bitv/releases/tag/${finalAttrs.version}"; maintainers = [ lib.maintainers.vbgl ]; }; -} +})