Commit 42a0bb27 authored by 06kellyjac's avatar 06kellyjac Committed by github-actions[bot]
Browse files

brave: fix commandLineArgs option also requiring vulkanSupport

(cherry picked from commit 25551116)
parent 5bb465f1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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}
    )
  '';