Loading pkgs/applications/networking/instant-messengers/element/element-desktop.nix +4 −1 Original line number Diff line number Diff line Loading @@ -17,6 +17,8 @@ , CoreServices , desktopToDarwinBundle , useKeytar ? true # command line arguments which are always set , commandLineArgs ? "" }: let Loading Loading @@ -106,7 +108,8 @@ stdenv.mkDerivation (finalAttrs: builtins.removeAttrs pinData [ "hashes" ] // { makeWrapper '${electron}/bin/electron' "$out/bin/${executableName}" \ --set LD_PRELOAD ${sqlcipher}/lib/libsqlcipher.so \ --add-flags "$out/share/element/electron" \ --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}" --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}" \ --add-flags ${lib.escapeShellArg commandLineArgs} runHook postInstall ''; Loading Loading
pkgs/applications/networking/instant-messengers/element/element-desktop.nix +4 −1 Original line number Diff line number Diff line Loading @@ -17,6 +17,8 @@ , CoreServices , desktopToDarwinBundle , useKeytar ? true # command line arguments which are always set , commandLineArgs ? "" }: let Loading Loading @@ -106,7 +108,8 @@ stdenv.mkDerivation (finalAttrs: builtins.removeAttrs pinData [ "hashes" ] // { makeWrapper '${electron}/bin/electron' "$out/bin/${executableName}" \ --set LD_PRELOAD ${sqlcipher}/lib/libsqlcipher.so \ --add-flags "$out/share/element/electron" \ --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}" --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}" \ --add-flags ${lib.escapeShellArg commandLineArgs} runHook postInstall ''; Loading