diff --git a/pkgs/development/ocaml-modules/bindlib/default.nix b/pkgs/development/ocaml-modules/bindlib/default.nix index 5adbc9e31070..bf0efa0ae9a9 100644 --- a/pkgs/development/ocaml-modules/bindlib/default.nix +++ b/pkgs/development/ocaml-modules/bindlib/default.nix @@ -6,7 +6,7 @@ timed, }: -buildDunePackage rec { +buildDunePackage (finalAttrs: { pname = "bindlib"; version = "6.0.0"; @@ -14,8 +14,8 @@ buildDunePackage rec { src = fetchFromGitHub { owner = "rlepigre"; - repo = "ocaml-${pname}"; - rev = version; + repo = "ocaml-bindlib"; + rev = finalAttrs.version; hash = "sha256-058yMbz9ExvgNG/kY9tPk70XSeVRSSKVg4n4F4fmPu4="; }; @@ -29,7 +29,7 @@ buildDunePackage rec { homepage = "https://rlepigre.github.io/ocaml-bindlib"; description = "Efficient binder representation in Ocaml"; license = lib.licenses.gpl3; - changelog = "https://github.com/rlepigre/ocaml-bindlib/raw/${version}/CHANGELOG.md"; + changelog = "https://github.com/rlepigre/ocaml-bindlib/raw/${finalAttrs.version}/CHANGELOG.md"; maintainers = with lib.maintainers; [ bcdarwin ]; }; -} +})