terminology: wrap libcurl.so in LD_LIBRARY_PATH

This commit is contained in:
romildo 2017-05-01 18:34:53 -03:00
parent 27b7e2f7da
commit eef6df55f1

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, efl }:
{ stdenv, fetchurl, pkgconfig, efl, curl, makeWrapper }:
stdenv.mkDerivation rec {
name = "terminology-${version}";
@ -9,9 +9,9 @@ stdenv.mkDerivation rec {
sha256 = "1x4j2q4qqj10ckbka0zaq2r2zm66ff1x791kp8slv1ff7fw45vdz";
};
nativeBuildInputs = [ pkgconfig ];
nativeBuildInputs = [ pkgconfig makeWrapper ];
buildInputs = [ efl ];
buildInputs = [ efl curl ];
NIX_CFLAGS_COMPILE = [
"-I${efl}/include/ecore-con-1"
@ -22,6 +22,12 @@ stdenv.mkDerivation rec {
"-I${efl}/include/ethumb-1"
];
postInstall = ''
for f in $out/bin/*; do
wrapProgram $f --prefix LD_LIBRARY_PATH : ${curl.out}/lib
done
'';
meta = {
description = "The best terminal emulator written with the EFL";
homepage = http://enlightenment.org/;