summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorWill Dietz <w@wdtz.org>2019-01-21 16:01:55 -0600
committerworldofpeace <worldofpeace@users.noreply.github.com>2019-01-29 19:41:59 -0500
commitb3792fa893ae44f61440283e99b839ba9f1756ae (patch)
tree9afa46a757a8a77e7981bfdaf37cddfb18e5f3e7 /pkgs
parent77a716fcd9c1887a5c6e29e539b92fe161e5f1c9 (diff)
downloadnixpkgs-b3792fa893ae44f61440283e99b839ba9f1756ae.tar
nixpkgs-b3792fa893ae44f61440283e99b839ba9f1756ae.tar.gz
nixpkgs-b3792fa893ae44f61440283e99b839ba9f1756ae.tar.bz2
nixpkgs-b3792fa893ae44f61440283e99b839ba9f1756ae.tar.lz
nixpkgs-b3792fa893ae44f61440283e99b839ba9f1756ae.tar.xz
nixpkgs-b3792fa893ae44f61440283e99b839ba9f1756ae.tar.zst
nixpkgs-b3792fa893ae44f61440283e99b839ba9f1756ae.zip
gtksourceview: set XDG_DATA_DIRS for testing
Fixes #54894
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/libraries/gtksourceview/3.x.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/libraries/gtksourceview/3.x.nix b/pkgs/development/libraries/gtksourceview/3.x.nix
index 0f9dd30d204..3cc59dd67b6 100644
--- a/pkgs/development/libraries/gtksourceview/3.x.nix
+++ b/pkgs/development/libraries/gtksourceview/3.x.nix
@@ -36,7 +36,8 @@ in stdenv.mkDerivation rec {
 
   doCheck = stdenv.isLinux;
   checkPhase = ''
-    export NO_AT_BRIDGE=1
+    NO_AT_BRIDGE=1 \
+    XDG_DATA_DIRS="$XDG_DATA_DIRS:${shared-mime-info}/share" \
     xvfb-run -s '-screen 0 800x600x24' dbus-run-session \
       --config-file=${dbus.daemon}/share/dbus-1/session.conf \
       make check