link to Xrender library
This commit is contained in:
parent
ab8b9ae266
commit
6edfed1485
1 changed files with 7 additions and 3 deletions
10
flake.nix
10
flake.nix
|
@ -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'" \
|
||||||
|
|
Loading…
Reference in a new issue