about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/lablgtk
diff options
context:
space:
mode:
authorMalo Bourgon <mbourgon@gmail.com>2022-05-10 10:36:58 -0700
committerVincent Laporte <vbgl@users.noreply.github.com>2022-05-11 09:02:37 +0200
commitbca4ad048701d2b0a472c0e0f0e3e24d62ccc9b0 (patch)
tree5c31787ea8714d5de981ccce38ca7a4326069424 /pkgs/development/ocaml-modules/lablgtk
parentb1de4bf60f955ed59adb2d8878eb0b5d55fb1b4e (diff)
ocamlPackages: inherit ocaml.meta.platforms
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 f37c3b5c6f9a6..47f48c89be792 100644
--- a/pkgs/development/ocaml-modules/lablgtk/2.14.0.nix
+++ b/pkgs/development/ocaml-modules/lablgtk/2.14.0.nix
@@ -29,7 +29,7 @@ stdenv.mkDerivation (rec {
 
   meta = {
     branch = "2.14";
-    platforms = ocaml.meta.platforms or [];
+    inherit (ocaml.meta) platforms;
     maintainers = [
       lib.maintainers.maggesi
       lib.maintainers.roconnor
diff --git a/pkgs/development/ocaml-modules/lablgtk/default.nix b/pkgs/development/ocaml-modules/lablgtk/default.nix
index 36ade6979c3eb..7eb94bc188aa3 100644
--- a/pkgs/development/ocaml-modules/lablgtk/default.nix
+++ b/pkgs/development/ocaml-modules/lablgtk/default.nix
@@ -37,7 +37,7 @@ stdenv.mkDerivation {
   dontStrip = true;
 
   meta = with lib; {
-    platforms = ocaml.meta.platforms or [];
+    inherit (ocaml.meta) platforms;
     maintainers = with maintainers; [
       maggesi roconnor vbgl
     ];