diff --git a/pkgs/desktops/enlightenment/enlightenment.nix b/pkgs/desktops/enlightenment/enlightenment.nix index 7976176af1b..b16b84acf14 100644 --- a/pkgs/desktops/enlightenment/enlightenment.nix +++ b/pkgs/desktops/enlightenment/enlightenment.nix @@ -1,6 +1,6 @@ { stdenv, fetchurl, pkgconfig, efl, xcbutilkeysyms, libXrandr, libXdmcp, libxcb, libffi, pam, alsaLib, luajit, bzip2, libpthreadstubs, gdbm, libcap, -mesa_glu, xkeyboard_config }: +mesa_glu, xkeyboard_config, pcre }: stdenv.mkDerivation rec { name = "enlightenment-${version}"; @@ -11,22 +11,14 @@ stdenv.mkDerivation rec { sha256 = "0w5f3707hyfc20i6xqh4jlr5p2yhy1z794061mjsz2rp4w00qmpb"; }; - nativeBuildInputs = [ pkgconfig ]; + nativeBuildInputs = [ (pkgconfig.override { vanilla = true; }) ]; buildInputs = [ efl libXdmcp libxcb xcbutilkeysyms libXrandr libffi pam alsaLib - luajit bzip2 libpthreadstubs gdbm + luajit bzip2 libpthreadstubs gdbm pcre ] ++ stdenv.lib.optionals stdenv.isLinux [ libcap ]; - NIX_CFLAGS_COMPILE = [ - "-I${efl}/include/ecore-imf-1" - "-I${efl}/include/emile-1" - "-I${efl}/include/eo-1" - "-I${efl}/include/ethumb-1" - "-I${efl}/include/ethumb-client-1" - ]; - preConfigure = '' export USER_SESSION_DIR=$prefix/lib/systemd/user diff --git a/pkgs/desktops/enlightenment/ephoto.nix b/pkgs/desktops/enlightenment/ephoto.nix index 9bfb2144b6f..eef9eafae38 100644 --- a/pkgs/desktops/enlightenment/ephoto.nix +++ b/pkgs/desktops/enlightenment/ephoto.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, pkgconfig, efl, curl, makeWrapper }: +{ stdenv, fetchurl, pkgconfig, efl, pcre, curl, makeWrapper }: stdenv.mkDerivation rec { name = "ephoto-${version}"; @@ -9,21 +9,9 @@ stdenv.mkDerivation rec { sha256 = "09kraa5zz45728h2dw1ssh23b87j01bkfzf977m48y1r507sy3vb"; }; - nativeBuildInputs = [ pkgconfig makeWrapper ]; + nativeBuildInputs = [ (pkgconfig.override { vanilla = true; }) makeWrapper ]; - buildInputs = [ efl curl ]; - - NIX_CFLAGS_COMPILE = [ - "-I${efl}/include/ecore-con-1" - "-I${efl}/include/ecore-evas-1" - "-I${efl}/include/ecore-imf-1" - "-I${efl}/include/ecore-input-1" - "-I${efl}/include/eet-1" - "-I${efl}/include/eldbus-1" - "-I${efl}/include/emile-1" - "-I${efl}/include/ethumb-1" - "-I${efl}/include/ethumb-client-1" - ]; + buildInputs = [ efl pcre curl ]; postInstall = '' wrapProgram $out/bin/ephoto --prefix LD_LIBRARY_PATH : ${curl.out}/lib diff --git a/pkgs/desktops/enlightenment/rage.nix b/pkgs/desktops/enlightenment/rage.nix index 4d102b31e3b..5f6a451d065 100644 --- a/pkgs/desktops/enlightenment/rage.nix +++ b/pkgs/desktops/enlightenment/rage.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, pkgconfig, efl, gst_all_1, curl, wrapGAppsHook }: +{ stdenv, fetchurl, pkgconfig, efl, gst_all_1, pcre, curl, wrapGAppsHook }: stdenv.mkDerivation rec { name = "rage-${version}"; @@ -10,7 +10,7 @@ stdenv.mkDerivation rec { }; nativeBuildInputs = [ - pkgconfig + (pkgconfig.override { vanilla = true; }) wrapGAppsHook ]; @@ -21,24 +21,10 @@ stdenv.mkDerivation rec { gst_all_1.gst-plugins-good gst_all_1.gst-plugins-bad gst_all_1.gst-libav + pcre curl ]; - NIX_CFLAGS_COMPILE = [ - "-I${efl}/include/ecore-con-1" - "-I${efl}/include/ecore-evas-1" - "-I${efl}/include/ecore-file-1" - "-I${efl}/include/ecore-imf-1" - "-I${efl}/include/ecore-input-1" - "-I${efl}/include/eet-1" - "-I${efl}/include/efreet-1" - "-I${efl}/include/eldbus-1" - "-I${efl}/include/emile-1" - "-I${efl}/include/eo-1" - "-I${efl}/include/ethumb-1" - "-I${efl}/include/ethumb-client-1" - ]; - postInstall = '' wrapProgram $out/bin/rage --prefix LD_LIBRARY_PATH : ${curl.out}/lib ''; diff --git a/pkgs/desktops/enlightenment/terminology.nix b/pkgs/desktops/enlightenment/terminology.nix index 390f0593782..71d92f6f3cb 100644 --- a/pkgs/desktops/enlightenment/terminology.nix +++ b/pkgs/desktops/enlightenment/terminology.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, pkgconfig, efl, curl, makeWrapper }: +{ stdenv, fetchurl, pkgconfig, efl, pcre, curl, makeWrapper }: stdenv.mkDerivation rec { name = "terminology-${version}"; @@ -9,18 +9,9 @@ stdenv.mkDerivation rec { sha256 = "13rl1k22yf8qrpzdm5nh6ij641fibadr2ww1r7rnz7mbhzj3d4gb"; }; - nativeBuildInputs = [ pkgconfig makeWrapper ]; + nativeBuildInputs = [ (pkgconfig.override { vanilla = true; }) makeWrapper ]; - buildInputs = [ efl curl ]; - - 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" - ]; + buildInputs = [ efl pcre curl ]; postInstall = '' for f in $out/bin/*; do