summary refs log tree commit diff
path: root/pkgs/development/tools/ocaml/js_of_ocaml
diff options
context:
space:
mode:
authorNicolas B. Pierron <nicolas.b.pierron@gmail.com>2015-12-24 17:49:07 +0000
committerNicolas B. Pierron <nicolas.b.pierron@gmail.com>2016-03-13 19:08:26 +0000
commit72c6f8a1408cb4491f847252954518e162eaf826 (patch)
treedfbbfa346157c198b46b56cb58e528f5cb6f6bd5 /pkgs/development/tools/ocaml/js_of_ocaml
parent27e5397282c4706d9e4b5229ad1a6d1282073c00 (diff)
downloadnixpkgs-72c6f8a1408cb4491f847252954518e162eaf826.tar
nixpkgs-72c6f8a1408cb4491f847252954518e162eaf826.tar.gz
nixpkgs-72c6f8a1408cb4491f847252954518e162eaf826.tar.bz2
nixpkgs-72c6f8a1408cb4491f847252954518e162eaf826.tar.lz
nixpkgs-72c6f8a1408cb4491f847252954518e162eaf826.tar.xz
nixpkgs-72c6f8a1408cb4491f847252954518e162eaf826.tar.zst
nixpkgs-72c6f8a1408cb4491f847252954518e162eaf826.zip
Ensure that we can evaluate the platform attribute of ocaml packages.
Diffstat (limited to 'pkgs/development/tools/ocaml/js_of_ocaml')
-rw-r--r--pkgs/development/tools/ocaml/js_of_ocaml/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/tools/ocaml/js_of_ocaml/default.nix b/pkgs/development/tools/ocaml/js_of_ocaml/default.nix
index ca5230d1e08..3258aaf08c2 100644
--- a/pkgs/development/tools/ocaml/js_of_ocaml/default.nix
+++ b/pkgs/development/tools/ocaml/js_of_ocaml/default.nix
@@ -26,7 +26,7 @@ stdenv.mkDerivation {
     homepage = http://ocsigen.org/js_of_ocaml/;
     description = "Compiler of OCaml bytecode to Javascript. It makes it possible to run Ocaml programs in a Web browser";
     license = licenses.lgpl2;
-    platforms = ocaml.meta.platforms;
+    platforms = ocaml.meta.platforms or [];
     maintainers = [
       maintainers.gal_bolle
     ];