brave: fix commandLineArgs option also requiring vulkanSupport

(cherry picked from commit 25551116a4)
This commit is contained in:
06kellyjac 2022-11-23 16:50:48 +00:00 committed by github-actions[bot]
parent 5bb465f1e4
commit 42a0bb2733

View file

@ -180,8 +180,8 @@ stdenv.mkDerivation rec {
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}"
${optionalString vulkanSupport ''
--prefix XDG_DATA_DIRS : "${addOpenGLRunpath.driverLink}/share"
--add-flags ${escapeShellArg commandLineArgs}
''}
--add-flags ${escapeShellArg commandLineArgs}
)
'';