diff --git a/pkgs/development/libraries/dbus-glib/default.nix b/pkgs/development/libraries/dbus-glib/default.nix index 752ded6320b2..a6d594af0f02 100644 --- a/pkgs/development/libraries/dbus-glib/default.nix +++ b/pkgs/development/libraries/dbus-glib/default.nix @@ -8,7 +8,7 @@ stdenv.mkDerivation rec { sha256 = "0nv4gxcbpa9f0907dmzmfm222w8y45z19cx27l85f5qknf8hncxm"; }; - buildInputs = [pkgconfig expat gettext]; + buildInputs = [pkgconfig expat gettext libiconv]; propagatedBuildInputs = [dbus.libs glib]; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 51799fad2b8a..32571c953564 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3419,6 +3419,7 @@ let dbus_glib = makeOverridable (import ../development/libraries/dbus-glib) { inherit fetchurl stdenv pkgconfig gettext dbus expat glib; + libiconv = if (stdenv.system == "i686-freebsd") then libiconv else null; }; dbus_java = import ../development/libraries/java/dbus-java {