Commit 7cdc158f authored by John Titor's avatar John Titor Committed by Masum Reza
Browse files

cursor: allow commandLineArgs to be set

parent c23e2e1a
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -42,6 +42,7 @@

  # linux installation
  rsync,
  commandLineArgs ? "",

  # darwin build
  undmg,
@@ -162,7 +163,8 @@ stdenvNoCC.mkDerivation {

      wrapProgram $out/bin/cursor \
        --add-flags "--update=false" \
        --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=x11 --enable-features=WaylandWindowDecorations --enable-wayland-ime=true}} --no-update"
        --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=x11 --enable-features=WaylandWindowDecorations --enable-wayland-ime=true}} --no-update" \
        --add-flags ${lib.escapeShellArg commandLineArgs}
    ''}

    ${lib.optionalString hostPlatform.isDarwin ''