From ecc1e043187a9a7ff2948a58bb2e2aaa3974ca86 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/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/ocaml-modules/bls12-381/default.nix b/pkgs/development/ocaml-modules/bls12-381/default.nix index 4f7db59d9adf..a31660575fe1 100644 --- a/pkgs/development/ocaml-modules/bls12-381/default.nix +++ b/pkgs/development/ocaml-modules/bls12-381/default.nix @@ -10,13 +10,13 @@ alcotest, }: -buildDunePackage rec { +buildDunePackage (finalAttrs: { pname = "bls12-381"; version = "6.1.0"; src = fetchFromGitLab { owner = "nomadic-labs"; repo = "cryptography/ocaml-bls12-381"; - rev = version; + rev = finalAttrs.version; hash = "sha256-z2ZSOrXgm+XjdrY91vqxXSKhA0DyJz6JkkNljDZznX8="; }; @@ -46,4 +46,4 @@ buildDunePackage rec { license = lib.licenses.mit; maintainers = [ lib.maintainers.ulrikstrid ]; }; -} +})