summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/tsdl
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/tsdl
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/ocaml-modules/tsdl')
-rw-r--r--pkgs/development/ocaml-modules/tsdl/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/ocaml-modules/tsdl/default.nix b/pkgs/development/ocaml-modules/tsdl/default.nix
index 85ea80aeafe..79a696632e1 100644
--- a/pkgs/development/ocaml-modules/tsdl/default.nix
+++ b/pkgs/development/ocaml-modules/tsdl/default.nix
@@ -44,6 +44,6 @@ stdenv.mkDerivation {
     homepage = "${webpage}";
     description = "Thin bindings to the cross-platform SDL library";
     license = licenses.bsd3;
-    platforms = ocaml.meta.platforms;
+    platforms = ocaml.meta.platforms or [];
   };
 }