diff options
author | worldofpeace <worldofpeace@users.noreply.github.com> | 2019-01-29 20:17:45 -0500 |
---|---|---|
committer | worldofpeace <worldofpeace@users.noreply.github.com> | 2019-01-29 20:17:45 -0500 |
commit | bb509ab0875bfd4a7655c7831dee1c507afa38b0 (patch) | |
tree | a9d40357e5ecd62d4e55361a190a560bc1546b91 | |
parent | b3792fa893ae44f61440283e99b839ba9f1756ae (diff) |
gtksourceview4: set XDG_DATA_DIRS for testing, fix build
-rw-r--r-- | pkgs/development/libraries/gtksourceview/4.x.nix | 3 |
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 4ff1e999145f7..cc8979f77cca6 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 |