mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
terminology: wrap libcurl.so in LD_LIBRARY_PATH
This commit is contained in:
parent
27b7e2f7da
commit
eef6df55f1
@ -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/;
|
||||
|
Loading…
Reference in New Issue
Block a user