link to Xrender library

This commit is contained in:
Jeffrey C. Ollie 2023-03-23 21:49:06 -05:00
parent ab8b9ae266
commit 6edfed1485
Signed by: jeff
GPG key ID: 6F86035A6D97044E

View file

@ -108,12 +108,13 @@
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
pkgs.python3Packages.pillow pkgs.libGL
pkgs.python3Packages.numpy pkgs.python3Packages.numpy
pkgs.python3Packages.pillow
pkgs.python3Packages.setuptools pkgs.python3Packages.setuptools
pkgs.xorg.libX11 pkgs.xorg.libX11
pkgs.libGL
pkgs.xorg.libXcomposite pkgs.xorg.libXcomposite
pkgs.xorg.libXrender
]; ];
doCheck = false; doCheck = false;
postPatch = '' postPatch = ''
@ -127,7 +128,10 @@
'"${pkgs.libGL}/lib/libGL.so"' \ '"${pkgs.libGL}/lib/libGL.so"' \
--replace \ --replace \
"find_library('GLX')" \ "find_library('GLX')" \
'"${pkgs.libGL}/lib/libGLX.so"' '"${pkgs.libGL}/lib/libGLX.so"' \
--replace \
"find_library('Xrender')" \
'"${pkgs.xorg.libXrender}/lib/libXrender.so"'
substituteInPlace pyxlib/xcomposite.py \ substituteInPlace pyxlib/xcomposite.py \
--replace \ --replace \
"'libXcomposite.so.1'" \ "'libXcomposite.so.1'" \