perlPackages.X11XCB: link with xcb-randr and xcb-xkb

Some used XCB libraries were missing from `NIX_CFLAGS_LINK`, which
resulted in undefined symbols when actually trying to use the module.
This commit is contained in:
Sergey Vlasov
2024-03-10 15:20:56 +03:00
parent 3ba9038ccb
commit 34fa9cc4c4
+1 -1
View File
@@ -28433,7 +28433,7 @@ with self; {
nativeBuildInputs = [ pkgs.pkg-config ];
buildInputs = [ pkgs.xorg.libxcb pkgs.xorg.xcbproto pkgs.xorg.xcbutil pkgs.xorg.xcbutilwm ExtUtilsDepends ExtUtilsPkgConfig TestDeep TestException XSObjectMagic ];
propagatedBuildInputs = [ DataDump MouseXNativeTraits XMLDescent XMLSimple ];
NIX_CFLAGS_LINK = "-lxcb -lxcb-util -lxcb-xinerama -lxcb-icccm";
NIX_CFLAGS_LINK = "-lxcb -lxcb-util -lxcb-xinerama -lxcb-icccm -lxcb-randr -lxcb-xkb";
doCheck = false; # requires an X server
meta = {
description = "Perl bindings for libxcb";