From 8154d368fced23be2e6b6803dfd03fe96a4ee8a0 Mon Sep 17 00:00:00 2001 From: Guy Chronister Date: Wed, 21 Jan 2026 15:59:43 -0600 Subject: [PATCH] ocamlPackages.binning: migrate to finalAttrs --- pkgs/development/ocaml-modules/binning/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/ocaml-modules/binning/default.nix b/pkgs/development/ocaml-modules/binning/default.nix index e97db4daddae..90eafe19b1e8 100644 --- a/pkgs/development/ocaml-modules/binning/default.nix +++ b/pkgs/development/ocaml-modules/binning/default.nix @@ -4,14 +4,14 @@ fetchurl, }: -buildDunePackage rec { +buildDunePackage (finalAttrs: { pname = "binning"; version = "0.0.0"; minimalOCamlVersion = "4.08"; src = fetchurl { - url = "https://github.com/pveber/binning/releases/download/v${version}/binning-v${version}.tbz"; + url = "https://github.com/pveber/binning/releases/download/v${finalAttrs.version}/binning-v${finalAttrs.version}.tbz"; hash = "sha256-eG+xctsbc7lQ5pFOUtJ8rjNW/06gygwLADq7yc8Yf/c="; }; @@ -21,4 +21,4 @@ buildDunePackage rec { homepage = "https://github.com/pveber/binning/"; maintainers = [ lib.maintainers.vbgl ]; }; -} +})