mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
Use absolute path to load libxcb.so
This commit is contained in:
parent
c133cc9d0b
commit
9b166f0db2
1 changed files with 5 additions and 0 deletions
|
@ -21967,6 +21967,11 @@ in modules // {
|
|||
md5 = "fa13f3fee67c83016a1242982a7c8bda";
|
||||
};
|
||||
|
||||
patchPhase = ''
|
||||
# Hardcode cairo library path
|
||||
sed -e 's,ffi\.dlopen(,&"${pkgs.xorg.libxcb}/lib/" + ,' -i xcffib/__init__.py
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [ self.cffi self.six ];
|
||||
|
||||
meta = {
|
||||
|
|
Loading…
Reference in a new issue