mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +00:00
Use absolute path to load libxcb.so
This commit is contained in:
parent
c133cc9d0b
commit
9b166f0db2
@ -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 New Issue
Block a user