From 16446fdb403779cf2cd66eb21667af8fc0bf1f0e Mon Sep 17 00:00:00 2001 From: Guy Chronister Date: Wed, 21 Jan 2026 15:59:44 -0600 Subject: [PATCH] ocamlPackages.bls12-381: migrate to finalAttrs --- pkgs/development/ocaml-modules/bls12-381/gen.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/ocaml-modules/bls12-381/gen.nix b/pkgs/development/ocaml-modules/bls12-381/gen.nix index 36bc1c1e2e6d..d5d5dd8d9c8c 100644 --- a/pkgs/development/ocaml-modules/bls12-381/gen.nix +++ b/pkgs/development/ocaml-modules/bls12-381/gen.nix @@ -6,14 +6,14 @@ zarith, }: -buildDunePackage rec { +buildDunePackage (finalAttrs: { pname = "bls12-381-gen"; version = "0.4.4"; src = fetchFromGitLab { owner = "dannywillems"; repo = "ocaml-bls12-381"; - rev = "${version}-legacy"; + rev = "${finalAttrs.version}-legacy"; sha256 = "qocIfQdv9rniOUykRulu2zWsqkzT0OrsGczgVKALRuk="; }; @@ -34,4 +34,4 @@ buildDunePackage rec { license = lib.licenses.mit; maintainers = [ lib.maintainers.ulrikstrid ]; }; -} +})