summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/lablgtk
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/lablgtk
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/lablgtk')
-rw-r--r--pkgs/development/ocaml-modules/lablgtk/2.14.0.nix2
-rw-r--r--pkgs/development/ocaml-modules/lablgtk/default.nix2
2 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/ocaml-modules/lablgtk/2.14.0.nix b/pkgs/development/ocaml-modules/lablgtk/2.14.0.nix
index 1815bfc64dd..bc4b490e853 100644
--- a/pkgs/development/ocaml-modules/lablgtk/2.14.0.nix
+++ b/pkgs/development/ocaml-modules/lablgtk/2.14.0.nix
@@ -26,7 +26,7 @@ stdenv.mkDerivation (rec {
 
   meta = {
     branch = "2.14";
-    platforms = ocaml.meta.platforms;
+    platforms = ocaml.meta.platforms or [];
     maintainers = [
       stdenv.lib.maintainers.z77z
       stdenv.lib.maintainers.roconnor
diff --git a/pkgs/development/ocaml-modules/lablgtk/default.nix b/pkgs/development/ocaml-modules/lablgtk/default.nix
index 4c1665540ec..a4d4314cd02 100644
--- a/pkgs/development/ocaml-modules/lablgtk/default.nix
+++ b/pkgs/development/ocaml-modules/lablgtk/default.nix
@@ -26,7 +26,7 @@ stdenv.mkDerivation {
   '';
 
   meta = with stdenv.lib; {
-    platforms = ocaml.meta.platforms;
+    platforms = ocaml.meta.platforms or [];
     maintainers = with maintainers; [
       z77z roconnor vbgl
     ];