Closed bobby285271 closed 2 years ago
Looks like this is a dependency of libXNVCtrl. I'm not familiar with NixOS package system, but maybe it needs to be added in libXNVCtrl package? Because on Fedora and elementary it compiles OK without additional deps.
That is weird... I think libXext
is actually already a dependency of libXNVCtrl
in Nixpkgs.
I'm also able to reproduce the issue.
Adding NIX_LDFLAGS = "-lXext";
fixed it.
Maybe this is downstream issue if Fedora builds fine... I will reopen this if I have new findings.
(sorry for digging up this old issue) With https://github.com/NixOS/nixpkgs/commit/b57aa88291910689aeaa83ff40dd02c50ab8199b we no longer have this issue. Without surprise Fedora and Debian patches libxnvctrl in downstream the same way as well :-)
I think https://github.com/NVIDIA/nvidia-settings/pull/105 will upstream the work.
Glad to hear :blush:
Hi, I are trying to bump this package in Nixpkgs (https://github.com/NixOS/nixpkgs/issues/154578), but so far the build failed with the following:
We already added libXNVCtrl, libX11 and libXext as dependency when building this.
Maybe adding a single line
meson.get_compiler('c').find_library('Xext'),
inmeson.build
can solve the issue (works for me), but I am not sure if that is the correct way, I will be appreciated if anyone can help me with this.