dbus-glib: fix cross

This commit is contained in:
Robin Gloster 2019-05-07 01:25:40 +02:00
parent abb10fe7ae
commit c2800a26b4
No known key found for this signature in database
GPG Key ID: D5C458DF6DD97EDF

View File

@ -1,4 +1,6 @@
{ stdenv, fetchurl, pkgconfig, expat, gettext, libiconv, dbus, glib }: { stdenv, fetchurl, buildPackages
, pkgconfig, expat, gettext, libiconv, dbus, glib
}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "dbus-glib-0.110"; name = "dbus-glib-0.110";
@ -11,15 +13,15 @@ stdenv.mkDerivation rec {
outputs = [ "out" "dev" "devdoc" ]; outputs = [ "out" "dev" "devdoc" ];
outputBin = "dev"; outputBin = "dev";
nativeBuildInputs = [ pkgconfig gettext ]; nativeBuildInputs = [ pkgconfig gettext glib ];
buildInputs = [ expat libiconv ]; buildInputs = [ expat libiconv ];
propagatedBuildInputs = [ dbus glib ]; propagatedBuildInputs = [ dbus glib ];
preConfigure = '' configureFlags = [ "--exec-prefix=${placeholder "dev"}" ] ++
configureFlagsArray+=("--exec-prefix=$dev") stdenv.lib.optional (stdenv.buildPlatform != stdenv.hostPlatform)
''; "--with-dbus-binding-tool=${buildPackages.dbus-glib.dev}/bin/dbus-binding-tool";
doCheck = false; doCheck = false;