diff --git a/pkgs/by-name/bo/bottles-unwrapped/package.nix b/pkgs/by-name/bo/bottles-unwrapped/package.nix index baed4eb662a1..04f2d5927435 100644 --- a/pkgs/by-name/bo/bottles-unwrapped/package.nix +++ b/pkgs/by-name/bo/bottles-unwrapped/package.nix @@ -20,13 +20,14 @@ lsb-release, pciutils, procps, + gamemode, gamescope, mangohud, vkbasalt-cli, vmtouch, libportal, nix-update-script, - removeWarningPopup ? false, # Final reminder to report any issues on nixpkgs' bugtracker + removeWarningPopup ? false, }: python3Packages.buildPythonApplication rec { @@ -103,6 +104,7 @@ python3Packages.buildPythonApplication rec { imagemagick vkbasalt-cli + gamemode gamescope mangohud vmtouch diff --git a/pkgs/by-name/bo/bottles-unwrapped/remove-unsupported-warning.patch b/pkgs/by-name/bo/bottles-unwrapped/remove-unsupported-warning.patch index ed0ba631d3a7..1f343ff174d6 100644 --- a/pkgs/by-name/bo/bottles-unwrapped/remove-unsupported-warning.patch +++ b/pkgs/by-name/bo/bottles-unwrapped/remove-unsupported-warning.patch @@ -1,10 +1,8 @@ -diff --git a/bottles/frontend/windows/main_window.py b/bottles/frontend/windows/main_window.py -index 79bf0d72..e37ca43e 100644 ---- a/bottles/frontend/windows/main_window.py -index 79bf0d72..e37ca43e 100644 ---- a/bottles/frontend/windows/main_window.py -+++ b/bottles/frontend/windows/main_window.py -@@ -104,29 +104,15 @@ class MainWindow(Adw.ApplicationWindow): +diff --git a/bottles/frontend/windows/window.py b/bottles/frontend/windows/window.py +index 802b08b5..c4cada1d 100644 +--- a/bottles/frontend/windows/window.py ++++ b/bottles/frontend/windows/window.py +@@ -102,29 +102,15 @@ class BottlesWindow(Adw.ApplicationWindow): def response(dialog, response, *args): if response == "close": diff --git a/pkgs/by-name/bo/bottles-unwrapped/warn-unsupported.patch b/pkgs/by-name/bo/bottles-unwrapped/warn-unsupported.patch index a1529e1ba6fa..68e12802246e 100644 --- a/pkgs/by-name/bo/bottles-unwrapped/warn-unsupported.patch +++ b/pkgs/by-name/bo/bottles-unwrapped/warn-unsupported.patch @@ -1,8 +1,8 @@ diff --git a/bottles/frontend/windows/window.py b/bottles/frontend/windows/window.py -index 79bf0d72..e3a15cb5 100644 +index 802b08b5..e3de0536 100644 --- a/bottles/frontend/windows/window.py +++ b/bottles/frontend/windows/window.py -@@ -104,29 +104,29 @@ class MainWindow(Adw.ApplicationWindow): +@@ -102,29 +102,30 @@ class BottlesWindow(Adw.ApplicationWindow): def response(dialog, response, *args): if response == "close": @@ -15,15 +15,15 @@ index 79bf0d72..e3a15cb5 100644 ) - download_url = "usebottles.com/download" + bugtracker_url = "github.com/NixOS/nixpkgs/issues" ++ error_dialog = Adw.AlertDialog.new( _("Unsupported Environment"), - f"{body} {download_url}.", -+ f"{body} {bugtracker_url}.", ++ f"{body} {bugtracker_url}. \nThis warning can be disabled by overriding the package: `(pkgs.bottles.override {{ removeWarningPopup = false; }})`", ) -- error_dialog.add_response("close", _("Close")) -+ error_dialog.add_response("close", _("Understood")) + error_dialog.add_response("close", _("Close")) error_dialog.set_body_use_markup(True) error_dialog.connect("response", response) error_dialog.present(self)