From 0e89173ddf4827353874c611fba75f99d9693e27 Mon Sep 17 00:00:00 2001 From: advaithm Date: Wed, 28 Apr 2021 09:37:22 +0530 Subject: Raise a hardware incompatibilty error if someone installs the nvidia prop dirvers with sway --- profiles/sway.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'profiles/sway.py') diff --git a/profiles/sway.py b/profiles/sway.py index 53eb8c5a..f132df33 100644 --- a/profiles/sway.py +++ b/profiles/sway.py @@ -11,7 +11,8 @@ def _prep_function(*args, **kwargs): other code in this stage. So it's a safe way to ask the user for more input before any other installer steps start. """ - + if "nvidia" in _gfx_driver_packages: + raise archinstall.lib.exceptions.HardwareIncompatibilityError("Sway does not support the proprietary nvidia drivers") __builtins__['_gfx_driver_packages'] = archinstall.select_driver() return True -- cgit v1.2.3-70-g09d2