signal-desktop: add commandLineArgs for persistent flags (#404989)
This commit is contained in:
commit
6ad174a6dc
@ -14,6 +14,10 @@
|
||||
replaceVars,
|
||||
noto-fonts-color-emoji,
|
||||
nixosTests,
|
||||
|
||||
# command line arguments which are always set e.g "--password-store=kwallet6"
|
||||
commandLineArgs ? "",
|
||||
|
||||
withAppleEmojis ? false,
|
||||
}:
|
||||
let
|
||||
@ -203,7 +207,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
makeWrapper '${lib.getExe electron}' "$out/bin/signal-desktop" \
|
||||
--add-flags "$out/share/signal-desktop/app.asar" \
|
||||
--set-default ELECTRON_FORCE_IS_PACKAGED 1 \
|
||||
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations --enable-wayland-ime=true}}"
|
||||
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations --enable-wayland-ime=true}}" \
|
||||
--add-flags ${lib.escapeShellArg commandLineArgs}
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user