Closed PassiveLemon closed 3 months ago
Which version of monado are you using? I recommend using precisely the commit from the CMakeLists.txt.
You don't need to patch the CMakeLists.txt to disable downloading the libraries, in https://gitweb.gentoo.org/repo/proj/guru.git/tree/media-libs/wivrn/wivrn-0.11.ebuild we use
-DFETCHCONTENT_FULLY_DISCONNECTED=ON
-DFETCHCONTENT_BASE_DIR=${WORKDIR}
You then have to provide all external dependencies in the provided directory. Every tag in WiVRn has an associated "server-build-deps.tar.xz" with source dependencies.
You can also check https://github.com/NixOS/nixpkgs/pull/278126 for the official pull request.
Using the listed Monado version did seem to resolve it.
I am trying to package this in Nix. I've gotten to a point where an error in building is preventing me from going further and this doesn't seem like something I can troubleshoot myself. I figured I could get some support here.
The error is right at the end of the log. wivrn.log
If the derivation itself is useful, it's here. Not complete yet.