uim: fix build

This commit is contained in:
Jan Tojnar 2019-03-25 23:18:19 +01:00
parent 510afdf476
commit f3110db864
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4
1 changed files with 7 additions and 1 deletions

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub
{ stdenv, fetchFromGitHub, shared-mime-info
, autoconf, automake, intltool, libtool, pkgconfig, cmake
, ruby, librsvg
, ncurses, m17n_lib, m17n_db, expat
@ -127,6 +127,12 @@ stdenv.mkDerivation rec {
#--with-sj3 Use SJ3 [default=no]
#--with-osx-dcs Build with OS X Dictionary Services [default=no]
# TODO: fix this in librsvg/glib later
# https://github.com/NixOS/nixpkgs/pull/57027#issuecomment-475461733
preBuild = ''
export XDG_DATA_DIRS="${shared-mime-info}/share"
'';
dontUseCmakeConfigure = true;
meta = with stdenv.lib; {