about summary refs log tree commit diff
path: root/pkgs/applications/networking
diff options
context:
space:
mode:
authorAleksana <me@aleksana.moe>2024-04-17 21:05:19 +0800
committerGitHub <noreply@github.com>2024-04-17 21:05:19 +0800
commit2a9609a1d484c4c6336715a0edd31c0815ce79a9 (patch)
tree656ec3d998359f2efc7f80e7e4afea4910464046 /pkgs/applications/networking
parent95db6c67d7fa6324302fcfc1848b09884a12d0ac (diff)
parente110d56d8108b3d0add0864d41ae4172133ae18a (diff)
Merge pull request #303893 from Antares0982/master
qq: add commandLineArgs
Diffstat (limited to 'pkgs/applications/networking')
-rw-r--r--pkgs/applications/networking/instant-messengers/qq/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/applications/networking/instant-messengers/qq/default.nix b/pkgs/applications/networking/instant-messengers/qq/default.nix
index 31db4b979e8af..d0a7bbf2a1a99 100644
--- a/pkgs/applications/networking/instant-messengers/qq/default.nix
+++ b/pkgs/applications/networking/instant-messengers/qq/default.nix
@@ -21,6 +21,7 @@
 , autoPatchelfHook
 , makeShellWrapper
 , wrapGAppsHook
+, commandLineArgs ? ""
 }:
 
 let
@@ -83,6 +84,7 @@ stdenv.mkDerivation {
       --prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH" \
       --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ libGL ]}" \
       --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}" \
+      --add-flags ${lib.escapeShellArg commandLineArgs} \
       "''${gappsWrapperArgs[@]}"
 
     # Remove bundled libraries