summary refs log tree commit diff
path: root/pkgs/development/libraries/libxmlb
diff options
context:
space:
mode:
authorworldofpeace <worldofpeace@users.noreply.github.com>2019-02-16 02:40:40 -0500
committerworldofpeace <worldofpeace@users.noreply.github.com>2019-02-16 02:40:40 -0500
commit5a322693f4de4763e951f5df3f0026e914957ae4 (patch)
treee6b55c4d703e7c6c578726fc37ae5089c4be51d8 /pkgs/development/libraries/libxmlb
parentf0edf20be30ed5a9e53f8bf152cd43c6e960c821 (diff)
downloadnixpkgs-5a322693f4de4763e951f5df3f0026e914957ae4.tar
nixpkgs-5a322693f4de4763e951f5df3f0026e914957ae4.tar.gz
nixpkgs-5a322693f4de4763e951f5df3f0026e914957ae4.tar.bz2
nixpkgs-5a322693f4de4763e951f5df3f0026e914957ae4.tar.lz
nixpkgs-5a322693f4de4763e951f5df3f0026e914957ae4.tar.xz
nixpkgs-5a322693f4de4763e951f5df3f0026e914957ae4.tar.zst
nixpkgs-5a322693f4de4763e951f5df3f0026e914957ae4.zip
libxmlb: fix build
Tests failed with:
ERROR:../src/xb-self-test.c:462:xb_builder_ensure_watch_source_func: assertion failed (error == NULL)
cannot process file of type application/x-zerosize (g-io-error-quark, 15)

See: https://hydra.nixos.org/build/88774485
Diffstat (limited to 'pkgs/development/libraries/libxmlb')
-rw-r--r--pkgs/development/libraries/libxmlb/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libxmlb/default.nix b/pkgs/development/libraries/libxmlb/default.nix
index cce73ba89bc..bdf210a061a 100644
--- a/pkgs/development/libraries/libxmlb/default.nix
+++ b/pkgs/development/libraries/libxmlb/default.nix
@@ -22,6 +22,10 @@ stdenv.mkDerivation rec {
     "-Dgtkdoc=true"
   ];
 
+  preCheck = ''
+    export XDG_DATA_DIRS=$XDG_DATA_DIRS:${shared-mime-info}/share
+  '';
+
   doCheck = true;
 
   meta = with stdenv.lib; {