Merge pull request #127265 from alyssais/libmbim-cross
This commit is contained in:
commit
f66f501509
1 changed files with 3 additions and 2 deletions
|
@ -1,11 +1,12 @@
|
||||||
{ lib, stdenv
|
{ lib, stdenv
|
||||||
, fetchurl
|
, fetchurl
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, gobject-introspection
|
|
||||||
, glib
|
, glib
|
||||||
, python3
|
, python3
|
||||||
, systemd
|
, systemd
|
||||||
, libgudev
|
, libgudev
|
||||||
|
, withIntrospection ? stdenv.hostPlatform == stdenv.buildPlatform
|
||||||
|
, gobject-introspection
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
@ -21,7 +22,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--with-udev-base-dir=${placeholder "out"}/lib/udev"
|
"--with-udev-base-dir=${placeholder "out"}/lib/udev"
|
||||||
"--enable-introspection"
|
(lib.enableFeature withIntrospection "introspection")
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
|
Loading…
Reference in a new issue