mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-08 14:40:07 +03:00
python cairocffi: hardcode cairo library path
This commit is contained in:
parent
a9254356d1
commit
51724c5b7d
@ -1873,7 +1873,12 @@ let
|
|||||||
md5 = "e26d06a8d8b16c7210414ce15d453636";
|
md5 = "e26d06a8d8b16c7210414ce15d453636";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = with self; [ cffi ];
|
propagatedBuildInputs = with self; [ pkgs.cairo cffi ];
|
||||||
|
|
||||||
|
patchPhase = ''
|
||||||
|
# Hardcode cairo library path
|
||||||
|
sed -e 's,ffi\.dlopen(,&"${pkgs.cairo}/lib/" + ,' -i cairocffi/__init__.py
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = https://github.com/SimonSapin/cairocffi;
|
homepage = https://github.com/SimonSapin/cairocffi;
|
||||||
|
Loading…
Reference in New Issue
Block a user