diff options
author | Rick van Schijndel <rol3517@gmail.com> | 2022-06-02 21:09:41 +0200 |
---|---|---|
committer | Rick van Schijndel <rol3517@gmail.com> | 2022-06-02 22:34:59 +0200 |
commit | 4293c8d970cf3df37be59ff99468bd2533c69625 (patch) | |
tree | 034be0fbbb86fb454f45e14d3078cf4e6eb81ea7 /pkgs/development/libraries/libqmi | |
parent | 8d36a138eb600b3f09221252a573d19050389c38 (diff) |
libqmi: disable introspection and gtk-doc when cross-compiling
Diffstat (limited to 'pkgs/development/libraries/libqmi')
-rw-r--r-- | pkgs/development/libraries/libqmi/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/libraries/libqmi/default.nix b/pkgs/development/libraries/libqmi/default.nix index 0906d7b967c96..fb2d4aa69c9cb 100644 --- a/pkgs/development/libraries/libqmi/default.nix +++ b/pkgs/development/libraries/libqmi/default.nix @@ -45,8 +45,8 @@ stdenv.mkDerivation rec { configureFlags = [ "--with-udev-base-dir=${placeholder "out"}/lib/udev" - "--enable-gtk-doc" - "--enable-introspection" + "--enable-gtk-doc=${if (stdenv.buildPlatform == stdenv.hostPlatform) then "yes" else "no"}" + "--enable-introspection=${if (stdenv.buildPlatform == stdenv.hostPlatform) then "yes" else "no"}" ]; enableParallelBuilding = true; |