diff --git a/pkgs/development/ocaml-modules/git/default.nix b/pkgs/development/ocaml-modules/git/default.nix index 16580b8208bf..d6119aedfb76 100644 --- a/pkgs/development/ocaml-modules/git/default.nix +++ b/pkgs/development/ocaml-modules/git/default.nix @@ -37,14 +37,14 @@ cmdliner, }: -buildDunePackage rec { +buildDunePackage (finalAttrs: { pname = "git"; version = "3.18.0"; minimalOCamlVersion = "4.08"; src = fetchurl { - url = "https://github.com/mirage/ocaml-git/releases/download/${version}/git-${version}.tbz"; + url = "https://github.com/mirage/ocaml-git/releases/download/${finalAttrs.version}/git-${finalAttrs.version}.tbz"; hash = "sha256-kleVYn5tquC0vRaqUGh53xHLIB5l/v446BN48Y1RfUs="; }; @@ -99,4 +99,4 @@ buildDunePackage rec { ]; homepage = "https://github.com/mirage/ocaml-git"; }; -} +})