forked from foxora/nix
vr works again!!!
This commit is contained in:
parent
9d481bcdcf
commit
4b8552fdb1
1 changed files with 12 additions and 1 deletions
|
|
@ -308,7 +308,18 @@
|
|||
|
||||
alvr = {
|
||||
enable = true;
|
||||
package = upkgs.alvr;
|
||||
|
||||
package = (upkgs.alvr.override {ffmpeg = upkgs.ffmpeg_7;}).overrideAttrs (old: rec {
|
||||
postPatch =
|
||||
(old.postPatch or "")
|
||||
+ ''
|
||||
substituteInPlace alvr/server_openvr/src/lib.rs \
|
||||
--replace-fail \
|
||||
"let early_hmd_initialization = !dashboard_process_paths.is_empty();" \
|
||||
"let early_hmd_initialization = true;"
|
||||
'';
|
||||
});
|
||||
|
||||
openFirewall = true;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue