diff --git a/pkgs/development/ocaml-modules/bwd/default.nix b/pkgs/development/ocaml-modules/bwd/default.nix index c6179b4f31e3..837802bf25d2 100644 --- a/pkgs/development/ocaml-modules/bwd/default.nix +++ b/pkgs/development/ocaml-modules/bwd/default.nix @@ -5,7 +5,7 @@ qcheck-core, }: -buildDunePackage rec { +buildDunePackage (finalAttrs: { pname = "bwd"; version = "2.3.0"; @@ -15,7 +15,7 @@ buildDunePackage rec { src = fetchFromGitHub { owner = "RedPRL"; repo = "ocaml-bwd"; - rev = version; + rev = finalAttrs.version; hash = "sha256-rzn0U/D6kPNsH5hBTElc3d1jfKbgKbjA2JHicpaJtu4="; }; @@ -25,8 +25,8 @@ buildDunePackage rec { meta = { description = "Backward Lists"; homepage = "https://github.com/RedPRL/ocaml-bwd"; - changelog = "https://github.com/RedPRL/ocaml-bwd/blob/${version}/CHANGELOG.markdown"; + changelog = "https://github.com/RedPRL/ocaml-bwd/blob/${finalAttrs.version}/CHANGELOG.markdown"; license = lib.licenses.asl20; maintainers = [ lib.maintainers.vbgl ]; }; -} +})