Open dylan-hachmann opened 2 days ago
I will take a better look tomorrow.
But If you need a fix tonight I think this is my fault for not updating the Readme.
You need to git clone with submodules if you cloned without the submodules then install them with git (I'm not sure if the exact command).
Basically you need to do this because my fork of wlhs is embedded in the project as a git submodule.
Let me know how you get on.
Hmm, I don't think that's the issue. I've got the submodule cloned.
Earlier I didn't see anything in PKG_CONFIG_PATH
, so I thought Nix did something weird. Looks like I must have just been typoing, lol, since I just checked again and found the wlroots include path. It seems that to pkg-config
the name is "wlroots-0.18". The existing bindings are to 0.17, so I guess we'd have to pin it in the shell.nix somehow.
I can try to do this with Niv, unless you've got a way that you want to go about it.
Oh interesting, last I checked wlroots was at 17.3, wlhs is 17.1 so 0.18 is a big jump.
There are ways to manually set the versions with shell.nix files. However I think the best thing to do Is for me to create a flake.nix file instead and pin it to 17.1 like wlhs.
Ill try to do that today or tomorrow.
I'm not great with Nix, so I don't really know if this is a configuration error on my part, or something that's missing from
shell.nix
. It seemspkg-config
is working forwayland-server
andxkbcommon
.Anyways, please start by letting me know if it works for you with the
--pure
flag. If so, there's probably something that I need to fix locally. Thanks.