From 768baf95263fe66aab518d26191b628d5d355d21 Mon Sep 17 00:00:00 2001 From: Sefa Eyeoglu Date: Sat, 7 Sep 2024 18:11:08 +0200 Subject: [PATCH] opencomposite-helper: drop This helper script made use of `VR_OVERRIDE` which causes issues with some applications/games. As detailed in 3rd-party documentation[0] the recommended way to setup OpenComposite is to configure `$XDG_CONFIG_HOME/openvr/openvrpaths.vrpath` instead. This is also documented on the NixOS Wiki[1]. [0]: https://monado.freedesktop.org/valve-index-setup.html#5-setting-up-opencomposite [1]: https://wiki.nixos.org/wiki/VR#OpenComposite Signed-off-by: Sefa Eyeoglu --- .../op/opencomposite-helper/package.nix | 18 ------------------ pkgs/top-level/aliases.nix | 1 + 2 files changed, 1 insertion(+), 18 deletions(-) delete mode 100644 pkgs/by-name/op/opencomposite-helper/package.nix diff --git a/pkgs/by-name/op/opencomposite-helper/package.nix b/pkgs/by-name/op/opencomposite-helper/package.nix deleted file mode 100644 index f19f5e8681393..0000000000000 --- a/pkgs/by-name/op/opencomposite-helper/package.nix +++ /dev/null @@ -1,18 +0,0 @@ -{ writeShellApplication - -, monado -, opencomposite -}: -writeShellApplication { - name = "opencomposite-helper"; - text = '' - # Tell Proton to use OpenComposite instead of OpenVR - export VR_OVERRIDE=${opencomposite}/lib/opencomposite - # Help OpenComposite find the OpenXR runtime - export XR_RUNTIME_JSON=${monado}/share/openxr/1/openxr_monado.json - # Tell Steam Pressure Vessel to allow access to Monado - export PRESSURE_VESSEL_FILESYSTEMS_RW=$XDG_RUNTIME_DIR/monado_comp_ipc - exec "$@" - ''; -} - diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index b191fa244fef3..1927b00b37c19 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -1117,6 +1117,7 @@ mapAliases ({ openbangla-keyboard = throw "openbangla-keyboard has been replaced by ibus-engines.openbangla-keyboard and fcitx5-openbangla-keyboard"; # added 2023-10-10 opencascade = throw "'opencascade' has been removed as it is unmaintained; consider opencascade-occt instead'"; # Added 2023-09-18 opencl-info = throw "opencl-info has been removed, as the upstream is unmaintained; consider using 'clinfo' instead"; # Added 2024-06-12 + opencomposite-helper = throw "opencomposite-helper has been removed from nixpkgs as it causes issues with some applications. See https://wiki.nixos.org/wiki/VR#OpenComposite for the recommended setup"; # Added 2024-09-07 openconnect_head = openconnect_unstable; # Added 2022-03-29 openconnect_gnutls = openconnect; # Added 2022-03-29 openconnect_unstable = throw "openconnect_unstable was removed from nixpkgs as it was not being updated"; # Added 2023-06-01