shared-mime-info: fix cross build (#128553)

This commit is contained in:
arcnmx 2021-06-29 18:53:39 -07:00 committed by GitHub
parent e7de5e1653
commit 90f2a9d997
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,6 +9,7 @@
, itstool
, libxml2
, glib
, shared-mime-info
}:
stdenv.mkDerivation rec {
@ -38,6 +39,9 @@ stdenv.mkDerivation rec {
pkg-config
gettext
itstool
] ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
libxml2
shared-mime-info
];
buildInputs = [