tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
ephoto: wrap libcurl.so in LD_LIBRARY_PATH
romildo
8 years ago
627724d3
eef6df55
+7
-7
1 changed file
expand all
collapse all
unified
split
pkgs
desktops
enlightenment
ephoto.nix
+7
-7
pkgs/desktops/enlightenment/ephoto.nix
···
1
1
-
{ stdenv, fetchurl, pkgconfig, efl }:
1
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
12
-
nativeBuildInputs = [
13
13
-
pkgconfig
14
14
-
];
12
12
+
nativeBuildInputs = [ pkgconfig makeWrapper ];
15
13
16
16
-
buildInputs = [
17
17
-
efl
18
18
-
];
14
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
27
+
28
28
+
postInstall = ''
29
29
+
wrapProgram $out/bin/ephoto --prefix LD_LIBRARY_PATH : ${curl.out}/lib
30
30
+
'';
31
31
32
32
meta = {
33
33
description = "Image viewer and editor written using the Enlightenment Foundation Libraries";