summary refs log tree commit diff
path: root/pkgs/development/libraries/libqrtr-glib/default.nix
diff options
context:
space:
mode:
authorArtturin <Artturin@artturin.com>2022-07-28 00:20:28 +0300
committerArtturin <Artturin@artturin.com>2022-07-28 00:20:28 +0300
commitc77d922e9ceb5d6b99eff8cd1de8f4eaa2292f69 (patch)
treef3005dd3d4829ff8f5cfd5e9b0bada41d3484c2d /pkgs/development/libraries/libqrtr-glib/default.nix
parentda1ea54ad82fee3b3f5a825cb4f7151457c87f01 (diff)
downloadnixpkgs-c77d922e9ceb5d6b99eff8cd1de8f4eaa2292f69.tar
nixpkgs-c77d922e9ceb5d6b99eff8cd1de8f4eaa2292f69.tar.gz
nixpkgs-c77d922e9ceb5d6b99eff8cd1de8f4eaa2292f69.tar.bz2
nixpkgs-c77d922e9ceb5d6b99eff8cd1de8f4eaa2292f69.tar.lz
nixpkgs-c77d922e9ceb5d6b99eff8cd1de8f4eaa2292f69.tar.xz
nixpkgs-c77d922e9ceb5d6b99eff8cd1de8f4eaa2292f69.tar.zst
nixpkgs-c77d922e9ceb5d6b99eff8cd1de8f4eaa2292f69.zip
libqrtr-glib: fix cross
Diffstat (limited to 'pkgs/development/libraries/libqrtr-glib/default.nix')
-rw-r--r--pkgs/development/libraries/libqrtr-glib/default.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/development/libraries/libqrtr-glib/default.nix b/pkgs/development/libraries/libqrtr-glib/default.nix
index e7445468ecc..6e01cda9162 100644
--- a/pkgs/development/libraries/libqrtr-glib/default.nix
+++ b/pkgs/development/libraries/libqrtr-glib/default.nix
@@ -2,6 +2,7 @@
 , stdenv
 , fetchFromGitLab
 , meson
+, mesonEmulatorHook
 , ninja
 , pkg-config
 , gobject-introspection
@@ -39,16 +40,15 @@ stdenv.mkDerivation rec {
     gtk-doc
     docbook-xsl-nons
     docbook_xml_dtd_43
+  ] ++ lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [
+    mesonEmulatorHook
   ];
 
   buildInputs = [
+    gobject-introspection
     glib
   ];
 
-  mesonFlags = lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [
-    "-Dgtk_doc=false"
-  ];
-
   meta = with lib; {
     homepage = "https://gitlab.freedesktop.org/mobile-broadband/libqrtr-glib";
     description = "Qualcomm IPC Router protocol helper library";