Merge pull request #203728 from NixOS/backport-202555-to-release-22.11

[Backport release-22.11] brave: fix commandLineArgs option also requiring vulkanSupport
This commit is contained in:
Mario Rodas
2022-11-30 06:19:12 -05:00
committed by GitHub

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}
)
'';