about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/ocamlnet
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/ocaml-modules/ocamlnet
parent27e5397282c4706d9e4b5229ad1a6d1282073c00 (diff)
downloadnixlib-72c6f8a1408cb4491f847252954518e162eaf826.tar
nixlib-72c6f8a1408cb4491f847252954518e162eaf826.tar.gz
nixlib-72c6f8a1408cb4491f847252954518e162eaf826.tar.bz2
nixlib-72c6f8a1408cb4491f847252954518e162eaf826.tar.lz
nixlib-72c6f8a1408cb4491f847252954518e162eaf826.tar.xz
nixlib-72c6f8a1408cb4491f847252954518e162eaf826.tar.zst
nixlib-72c6f8a1408cb4491f847252954518e162eaf826.zip
Ensure that we can evaluate the platform attribute of ocaml packages.
Diffstat (limited to 'pkgs/development/ocaml-modules/ocamlnet')
-rw-r--r--pkgs/development/ocaml-modules/ocamlnet/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/ocaml-modules/ocamlnet/default.nix b/pkgs/development/ocaml-modules/ocamlnet/default.nix
index 0948b7132a4e..8ef940e75b00 100644
--- a/pkgs/development/ocaml-modules/ocamlnet/default.nix
+++ b/pkgs/development/ocaml-modules/ocamlnet/default.nix
@@ -42,7 +42,7 @@ stdenv.mkDerivation {
     homepage = http://projects.camlcity.org/projects/ocamlnet.html;
     description = "A library implementing Internet protocols (http, cgi, email, etc.) for OCaml";
     license = "Most Ocamlnet modules are released under the zlib/png license. The HTTP server module Nethttpd is, however, under the GPL.";
-    platforms = ocaml.meta.platforms;
+    platforms = ocaml.meta.platforms or [];
     maintainers = [
       stdenv.lib.maintainers.z77z
     ];