uim: use system expat
This commit is contained in:
parent
2d6c56e457
commit
8c877804e3
|
@ -1,5 +1,5 @@
|
||||||
{ stdenv, fetchurl, intltool, pkgconfig, cmake
|
{ stdenv, fetchurl, intltool, pkgconfig, cmake
|
||||||
, ncurses, m17n_lib, m17n_db
|
, ncurses, m17n_lib, m17n_db, expat
|
||||||
, withAnthy ? true, anthy ? null
|
, withAnthy ? true, anthy ? null
|
||||||
, withGtk ? true
|
, withGtk ? true
|
||||||
, withGtk2 ? withGtk, gtk2 ? null
|
, withGtk2 ? withGtk, gtk2 ? null
|
||||||
|
@ -29,6 +29,7 @@ stdenv.mkDerivation rec {
|
||||||
cmake
|
cmake
|
||||||
m17n_lib
|
m17n_lib
|
||||||
m17n_db
|
m17n_db
|
||||||
|
expat
|
||||||
]
|
]
|
||||||
++ optional withAnthy anthy
|
++ optional withAnthy anthy
|
||||||
++ optional withGtk2 gtk2
|
++ optional withGtk2 gtk2
|
||||||
|
@ -45,6 +46,7 @@ stdenv.mkDerivation rec {
|
||||||
"--with-skk"
|
"--with-skk"
|
||||||
"--with-x"
|
"--with-x"
|
||||||
"--with-xft"
|
"--with-xft"
|
||||||
|
"--with-expat=${expat.dev}"
|
||||||
]
|
]
|
||||||
++ optional withAnthy "--with-anthy-utf8"
|
++ optional withAnthy "--with-anthy-utf8"
|
||||||
++ optional withGtk2 "--with-gtk2"
|
++ optional withGtk2 "--with-gtk2"
|
||||||
|
|
Loading…
Reference in a new issue