treewide: Mass replace 'cairo}/lib' to refer the 'out' output

This commit is contained in:
Tuomas Tynkkynen 2016-01-24 09:29:01 +02:00
parent 51bf60b33e
commit 96372f2edb
2 changed files with 2 additions and 2 deletions

View File

@ -490,7 +490,7 @@ in {
"${cfg.api.package}/lib/python2.7/site-packages:" +
concatMapStringsSep ":" (f: f + "/lib/python2.7/site-packages") cfg.api.finders;
GRAPHITE_API_CONFIG = graphiteApiConfig;
LD_LIBRARY_PATH = "${pkgs.cairo}/lib";
LD_LIBRARY_PATH = "${pkgs.cairo.out}/lib";
};
serviceConfig = {
ExecStart = ''

View File

@ -2565,7 +2565,7 @@ in modules // {
patchPhase = ''
# Hardcode cairo library path
sed -e 's,ffi\.dlopen(,&"${pkgs.cairo}/lib/" + ,' -i cairocffi/__init__.py
sed -e 's,ffi\.dlopen(,&"${pkgs.cairo.out}/lib/" + ,' -i cairocffi/__init__.py
'';
meta = {