Merge pull request #202555 from 06kellyjac/brave

brave: fix commandLineArgs option also requiring vulkanSupport
This commit is contained in:
Mario Rodas
2022-11-29 21:17:42 -05:00
committed by GitHub
@@ -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}
)
'';