From 143884d45613de38cf10a99abdf067682d0ebdfd Mon Sep 17 00:00:00 2001 From: volth Date: Sun, 14 Oct 2018 21:57:01 +0000 Subject: [PATCH] shared-mime-info: fix cross build (#48259) --- pkgs/data/misc/shared-mime-info/default.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkgs/data/misc/shared-mime-info/default.nix b/pkgs/data/misc/shared-mime-info/default.nix index 7183010dce3f..f82ae5f1f9f2 100644 --- a/pkgs/data/misc/shared-mime-info/default.nix +++ b/pkgs/data/misc/shared-mime-info/default.nix @@ -10,9 +10,8 @@ stdenv.mkDerivation rec { sha256 = "1gxyvwym3xgpmp262gfn8jg5sla6k5hy6m6dmy6grgiq90xsh9f6"; }; - nativeBuildInputs = [ - pkgconfig gettext intltool libxml2 glib - ] ++ (with perlPackages; [ perl XMLParser ]); + nativeBuildInputs = [ pkgconfig gettext intltool ] ++ (with perlPackages; [ perl XMLParser ]); + buildInputs = [ libxml2 glib ]; meta = with stdenv.lib; { inherit version;