mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
treewide: Mass replace 'cairo}/lib' to refer the 'out' output
This commit is contained in:
parent
51bf60b33e
commit
96372f2edb
@ -490,7 +490,7 @@ in {
|
|||||||
"${cfg.api.package}/lib/python2.7/site-packages:" +
|
"${cfg.api.package}/lib/python2.7/site-packages:" +
|
||||||
concatMapStringsSep ":" (f: f + "/lib/python2.7/site-packages") cfg.api.finders;
|
concatMapStringsSep ":" (f: f + "/lib/python2.7/site-packages") cfg.api.finders;
|
||||||
GRAPHITE_API_CONFIG = graphiteApiConfig;
|
GRAPHITE_API_CONFIG = graphiteApiConfig;
|
||||||
LD_LIBRARY_PATH = "${pkgs.cairo}/lib";
|
LD_LIBRARY_PATH = "${pkgs.cairo.out}/lib";
|
||||||
};
|
};
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
ExecStart = ''
|
ExecStart = ''
|
||||||
|
@ -2565,7 +2565,7 @@ in modules // {
|
|||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
# Hardcode cairo library path
|
# 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 = {
|
meta = {
|
||||||
|
Loading…
Reference in New Issue
Block a user