terminology: wrap libcurl.so in LD_LIBRARY_PATH

romildo eef6df55 27b7e2f7

+9 -3
+9 -3
pkgs/desktops/enlightenment/terminology.nix
··· 1 - { stdenv, fetchurl, pkgconfig, efl }: 2 3 stdenv.mkDerivation rec { 4 name = "terminology-${version}"; ··· 9 sha256 = "1x4j2q4qqj10ckbka0zaq2r2zm66ff1x791kp8slv1ff7fw45vdz"; 10 }; 11 12 - nativeBuildInputs = [ pkgconfig ]; 13 14 - buildInputs = [ efl ]; 15 16 NIX_CFLAGS_COMPILE = [ 17 "-I${efl}/include/ecore-con-1" ··· 21 "-I${efl}/include/eo-1" 22 "-I${efl}/include/ethumb-1" 23 ]; 24 25 meta = { 26 description = "The best terminal emulator written with the EFL";
··· 1 + { stdenv, fetchurl, pkgconfig, efl, curl, makeWrapper }: 2 3 stdenv.mkDerivation rec { 4 name = "terminology-${version}"; ··· 9 sha256 = "1x4j2q4qqj10ckbka0zaq2r2zm66ff1x791kp8slv1ff7fw45vdz"; 10 }; 11 12 + nativeBuildInputs = [ pkgconfig makeWrapper ]; 13 14 + buildInputs = [ efl curl ]; 15 16 NIX_CFLAGS_COMPILE = [ 17 "-I${efl}/include/ecore-con-1" ··· 21 "-I${efl}/include/eo-1" 22 "-I${efl}/include/ethumb-1" 23 ]; 24 + 25 + postInstall = '' 26 + for f in $out/bin/*; do 27 + wrapProgram $f --prefix LD_LIBRARY_PATH : ${curl.out}/lib 28 + done 29 + ''; 30 31 meta = { 32 description = "The best terminal emulator written with the EFL";