When trying to build suckless/surf and suckless/st from source on NixOs, make cannot find X11 header files, e.g. X11/X.h
and X11/Xatom.h
. I do have Xlib
installed. I also vaguely remember nixos put libraries in an interesting place, and I have seen people suggesting putting some paths to C_INCLUDE
variable. Feels like I'm almost there, what's missing?
Update: adding /home/username/.nix-profile/include
solved the problem for X.h
and Xatom.h
, but now it's complaining about X11/extensions/render.h
I installed libXrender
but it doesn't show up. Where do I find it?
X11/extensions/render.h
? I'm having the same issue---I'm trying to install the haskell X11-xft package, which depends in libXrender, which in turn depends onX11/extensions/render.h
.EDIT: I realized that it comes from
– sid-kap Oct 26 '16 at 23:12xorg.renderproto
.