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

authored by arcnmx and committed by GitHub 90f2a9d9 e7de5e16

+4
+4
pkgs/data/misc/shared-mime-info/default.nix
··· 9 , itstool 10 , libxml2 11 , glib 12 }: 13 14 stdenv.mkDerivation rec { ··· 38 pkg-config 39 gettext 40 itstool 41 ]; 42 43 buildInputs = [
··· 9 , itstool 10 , libxml2 11 , glib 12 + , shared-mime-info 13 }: 14 15 stdenv.mkDerivation rec { ··· 39 pkg-config 40 gettext 41 itstool 42 + ] ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ 43 + libxml2 44 + shared-mime-info 45 ]; 46 47 buildInputs = [