diff --git a/pkgs/development/ocaml-modules/ppx_tools_versioned/default.nix b/pkgs/development/ocaml-modules/ppx_tools_versioned/default.nix index 728f95c0e7b6..5d4e4366e4d5 100644 --- a/pkgs/development/ocaml-modules/ppx_tools_versioned/default.nix +++ b/pkgs/development/ocaml-modules/ppx_tools_versioned/default.nix @@ -5,7 +5,7 @@ ocaml-migrate-parsetree, }: -buildDunePackage rec { +buildDunePackage (finalAttrs: { pname = "ppx_tools_versioned"; version = "5.4.0"; @@ -13,8 +13,8 @@ buildDunePackage rec { src = fetchFromGitHub { owner = "ocaml-ppx"; - repo = pname; - rev = version; + repo = "ppx_tools_versioned"; + rev = finalAttrs.version; sha256 = "07lnj4yzwvwyh5fhpp1dxrys4ddih15jhgqjn59pmgxinbnddi66"; }; @@ -26,4 +26,4 @@ buildDunePackage rec { license = lib.licenses.gpl2; maintainers = [ ]; }; -} +})