AFAIK installing packages via HM does not automatically give you the right includes. Either set $NIX_CFLAGS_COMPILE
(and potentially $NIX_LDFLAGS
) manually (or pass -I
argument to the compiler or use a development shell while declaring your inputs (protobuf) there. This will then automatically populate the aforementioned env variables automagically.
AFAIK wlroots does support fractional scaling since Feb 23 https://www.phoronix.com/news/Sway-wl-roots-Fractional-Scale