ocamlPackages.buildDunePackage: fix meta.platforms

This commit is contained in:
Vincent Laporte 2018-11-27 15:30:55 +00:00 committed by Vincent Laporte
parent b6708d49af
commit 66efb76c75

View File

@ -25,12 +25,12 @@ stdenv.mkDerivation ({
runHook postInstall runHook postInstall
''; '';
meta.platform = ocaml.meta.platform;
} // args // { } // args // {
name = "ocaml${ocaml.version}-${pname}-${version}"; name = "ocaml${ocaml.version}-${pname}-${version}";
buildInputs = [ ocaml dune findlib ] ++ buildInputs; buildInputs = [ ocaml dune findlib ] ++ buildInputs;
meta = (args.meta or {}) // { platforms = args.meta.platforms or ocaml.meta.platforms; };
}) })