diff --git a/pkgs/development/ocaml-modules/mm/default.nix b/pkgs/development/ocaml-modules/mm/default.nix index 064a7ff4fba8..4d5f4e8ae706 100644 --- a/pkgs/development/ocaml-modules/mm/default.nix +++ b/pkgs/development/ocaml-modules/mm/default.nix @@ -10,7 +10,7 @@ theora, }: -buildDunePackage rec { +buildDunePackage (finalAttrs: { pname = "mm"; version = "0.8.6"; @@ -21,7 +21,7 @@ buildDunePackage rec { src = fetchFromGitHub { owner = "savonet"; repo = "ocaml-mm"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-ME6Naza7OvZ/63zEjrPeKq5JwMoMfV2fpkCuZdtCZ/c="; }; @@ -40,4 +40,4 @@ buildDunePackage rec { license = lib.licenses.lgpl21Plus; maintainers = with lib.maintainers; [ dandellion ]; }; -} +})