about summary refs log tree commit diff
path: root/pkgs/applications/networking/instant-messengers/qq
diff options
context:
space:
mode:
authorantares <antares0982@gmail.com>2024-04-14 03:15:54 +0800
committerantares <antares0982@gmail.com>2024-04-14 03:15:54 +0800
commite110d56d8108b3d0add0864d41ae4172133ae18a (patch)
tree6fb4b0c858c8d9af163be1fb0245e456b507e9bb /pkgs/applications/networking/instant-messengers/qq
parent5533477c818fe39e027918f20fa430d7becb18d8 (diff)
qq: add commandLineArgs
Diffstat (limited to 'pkgs/applications/networking/instant-messengers/qq')
-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