diff options
author | antares <antares0982@gmail.com> | 2024-04-14 03:15:54 +0800 |
---|---|---|
committer | antares <antares0982@gmail.com> | 2024-04-14 03:15:54 +0800 |
commit | e110d56d8108b3d0add0864d41ae4172133ae18a (patch) | |
tree | 6fb4b0c858c8d9af163be1fb0245e456b507e9bb /pkgs/applications/networking/instant-messengers/qq | |
parent | 5533477c818fe39e027918f20fa430d7becb18d8 (diff) |
qq: add commandLineArgs
Diffstat (limited to 'pkgs/applications/networking/instant-messengers/qq')
-rw-r--r-- | pkgs/applications/networking/instant-messengers/qq/default.nix | 2 |
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 |