summary refs log tree commit diff
path: root/pkgs/development/libraries/gtksourceview
diff options
context:
space:
mode:
authorworldofpeace <worldofpeace@users.noreply.github.com>2019-01-29 20:17:45 -0500
committerworldofpeace <worldofpeace@users.noreply.github.com>2019-01-29 20:17:45 -0500
commitbb509ab0875bfd4a7655c7831dee1c507afa38b0 (patch)
treea9d40357e5ecd62d4e55361a190a560bc1546b91 /pkgs/development/libraries/gtksourceview
parentb3792fa893ae44f61440283e99b839ba9f1756ae (diff)
downloadnixpkgs-bb509ab0875bfd4a7655c7831dee1c507afa38b0.tar
nixpkgs-bb509ab0875bfd4a7655c7831dee1c507afa38b0.tar.gz
nixpkgs-bb509ab0875bfd4a7655c7831dee1c507afa38b0.tar.bz2
nixpkgs-bb509ab0875bfd4a7655c7831dee1c507afa38b0.tar.lz
nixpkgs-bb509ab0875bfd4a7655c7831dee1c507afa38b0.tar.xz
nixpkgs-bb509ab0875bfd4a7655c7831dee1c507afa38b0.tar.zst
nixpkgs-bb509ab0875bfd4a7655c7831dee1c507afa38b0.zip
gtksourceview4: set XDG_DATA_DIRS for testing, fix build
Diffstat (limited to 'pkgs/development/libraries/gtksourceview')
-rw-r--r--pkgs/development/libraries/gtksourceview/4.x.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/libraries/gtksourceview/4.x.nix b/pkgs/development/libraries/gtksourceview/4.x.nix
index 4ff1e999145..cc8979f77cc 100644
--- a/pkgs/development/libraries/gtksourceview/4.x.nix
+++ b/pkgs/development/libraries/gtksourceview/4.x.nix
@@ -32,7 +32,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