diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2018-11-27 15:30:55 +0000 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2018-11-30 16:19:03 +0000 |
commit | 66efb76c75c829d0ca0ee322a68c35eaabbff59d (patch) | |
tree | 9df383dc9308da819d02dac6c1ecd29f2f6eb985 /pkgs/build-support/ocaml | |
parent | b6708d49af3c3da51fdddbe1bc2e30d5e0954dda (diff) |
ocamlPackages.buildDunePackage: fix meta.platforms
Diffstat (limited to 'pkgs/build-support/ocaml')
-rw-r--r-- | pkgs/build-support/ocaml/dune.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/build-support/ocaml/dune.nix b/pkgs/build-support/ocaml/dune.nix index 7386b07f575cf..4d6ed76aca019 100644 --- a/pkgs/build-support/ocaml/dune.nix +++ b/pkgs/build-support/ocaml/dune.nix @@ -25,12 +25,12 @@ stdenv.mkDerivation ({ runHook postInstall ''; - meta.platform = ocaml.meta.platform; - } // args // { name = "ocaml${ocaml.version}-${pname}-${version}"; buildInputs = [ ocaml dune findlib ] ++ buildInputs; + meta = (args.meta or {}) // { platforms = args.meta.platforms or ocaml.meta.platforms; }; + }) |