summary refs log tree commit diff
path: root/pkgs/desktops/enlightenment/terminology.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/desktops/enlightenment/terminology.nix')
-rw-r--r--pkgs/desktops/enlightenment/terminology.nix19
1 files changed, 17 insertions, 2 deletions
diff --git a/pkgs/desktops/enlightenment/terminology.nix b/pkgs/desktops/enlightenment/terminology.nix
index a302b7d5f612..34506c05fabe 100644
--- a/pkgs/desktops/enlightenment/terminology.nix
+++ b/pkgs/desktops/enlightenment/terminology.nix
@@ -1,12 +1,27 @@
-{ stdenv, fetchurl, pkgconfig, efl, elementary }:
+{ stdenv, fetchurl, pkgconfig, efl }:
+
 stdenv.mkDerivation rec {
   name = "terminology-${version}";
   version = "0.9.1";
+
   src = fetchurl {
     url = "http://download.enlightenment.org/rel/apps/terminology/${name}.tar.xz";
     sha256 = "1kwv9vkhngdm5v38q93xpcykghnyawhjjcb5bgy0p89gpbk7mvpc";
   };
-  buildInputs = [ pkgconfig efl elementary ];
+
+  nativeBuildInputs = [ pkgconfig ];
+
+  buildInputs = [ efl ];
+
+  NIX_CFLAGS_COMPILE = [
+    "-I${efl}/include/ecore-con-1"
+    "-I${efl}/include/eldbus-1"
+    "-I${efl}/include/elocation-1"
+    "-I${efl}/include/emile-1"
+    "-I${efl}/include/eo-1"
+    "-I${efl}/include/ethumb-1"
+  ];
+
   meta = {
     description = "The best terminal emulator written with the EFL";
     homepage = http://enlightenment.org/;