ephoto: wrap libcurl.so in LD_LIBRARY_PATH

romildo 627724d3 eef6df55

+7 -7
+7 -7
pkgs/desktops/enlightenment/ephoto.nix
··· 1 - { stdenv, fetchurl, pkgconfig, efl }: 1 + { stdenv, fetchurl, pkgconfig, efl, curl, makeWrapper }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "ephoto-${version}"; ··· 9 9 sha256 = "0l6zrk22fap6pylmzxwp6nycy8l5wdc7jza890h4zrwmpfag8w31"; 10 10 }; 11 11 12 - nativeBuildInputs = [ 13 - pkgconfig 14 - ]; 12 + nativeBuildInputs = [ pkgconfig makeWrapper ]; 15 13 16 - buildInputs = [ 17 - efl 18 - ]; 14 + buildInputs = [ efl curl ]; 19 15 20 16 NIX_CFLAGS_COMPILE = [ 21 17 "-I${efl}/include/ecore-con-1" ··· 28 24 "-I${efl}/include/ethumb-1" 29 25 "-I${efl}/include/ethumb-client-1" 30 26 ]; 27 + 28 + postInstall = '' 29 + wrapProgram $out/bin/ephoto --prefix LD_LIBRARY_PATH : ${curl.out}/lib 30 + ''; 31 31 32 32 meta = { 33 33 description = "Image viewer and editor written using the Enlightenment Foundation Libraries";