fix wivrn build

This commit is contained in:
2024-10-20 16:35:33 -04:00
parent 1ba1355745
commit 95514bf7dd
5 changed files with 20 additions and 10 deletions

View File

@@ -5,7 +5,17 @@
openFirewall = true;
# Use my fork for WiVRn 0.20
package = inputs.wivrn.legacyPackages.${pkgs.system}.wivrn;
package = (
inputs.wivrn.legacyPackages.${pkgs.system}.wivrn.overrideAttrs (old: {
patches = [
(pkgs.fetchurl {
url = "https://github.com/WiVRn/WiVRn/commit/be95ec84b56794ca8d97bb8b21dec6443ba57bc4.diff";
sha256 = "1tNQ57XIki0bomNG5xg+/4YbgKanrM5LOQvvCmZQFhw=";
})
];
})
);
# Write information to /etc/xdg/openxr/1/active_runtime.json, VR applications
# will automatically read this and work with wivrn