libmbim: fix cross by disabling introspection

This commit is contained in:
Alyssa Ross 2021-06-17 20:35:24 +00:00
parent 2939f9f266
commit 309a4d2e99
No known key found for this signature in database
GPG Key ID: F9DBED4859B271C0

View File

@ -1,11 +1,12 @@
{ lib, stdenv
, fetchurl
, pkg-config
, gobject-introspection
, glib
, python3
, systemd
, libgudev
, withIntrospection ? stdenv.hostPlatform == stdenv.buildPlatform
, gobject-introspection
}:
stdenv.mkDerivation rec {
@ -21,7 +22,7 @@ stdenv.mkDerivation rec {
configureFlags = [
"--with-udev-base-dir=${placeholder "out"}/lib/udev"
"--enable-introspection"
(lib.enableFeature withIntrospection "introspection")
];
nativeBuildInputs = [