From dc3698d7e2bb3d0c1c09f69e5b081cd456d3f558 Mon Sep 17 00:00:00 2001 From: Guy Chronister Date: Thu, 22 Jan 2026 10:13:57 -0600 Subject: [PATCH] ocamlPackages.integers: migrate to finalAttrs --- pkgs/development/ocaml-modules/integers/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/ocaml-modules/integers/default.nix b/pkgs/development/ocaml-modules/integers/default.nix index 104438eeab50..ffcbd6fb3130 100644 --- a/pkgs/development/ocaml-modules/integers/default.nix +++ b/pkgs/development/ocaml-modules/integers/default.nix @@ -5,14 +5,14 @@ stdlib-shims, }: -buildDunePackage rec { +buildDunePackage (finalAttrs: { pname = "integers"; version = "0.7.0"; src = fetchFromGitHub { owner = "ocamllabs"; repo = "ocaml-integers"; - rev = version; + rev = finalAttrs.version; sha256 = "sha256-zuUgP1jOiVT0q6GisGpkqx7nybWbARgnAcU8NYqvCzA="; }; @@ -22,7 +22,7 @@ buildDunePackage rec { description = "Various signed and unsigned integer types for OCaml"; license = lib.licenses.mit; homepage = "https://github.com/ocamllabs/ocaml-integers"; - changelog = "https://github.com/ocamllabs/ocaml-integers/raw/${version}/CHANGES.md"; + changelog = "https://github.com/ocamllabs/ocaml-integers/raw/${finalAttrs.version}/CHANGES.md"; maintainers = [ lib.maintainers.vbgl ]; }; -} +})