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 ]; }; -} +})