i hate discord

This commit is contained in:
dusk 2022-04-11 22:15:06 +03:00
parent 92c7c99264
commit 71d4efd616
Signed by: dusk
GPG Key ID: 1D8F8FAF2294D6EA
3 changed files with 10 additions and 8 deletions

View File

@ -1,17 +1,17 @@
final: prev: rec { final: prev: rec {
discord-canary-system = discord-system-electron =
prev.callPackage prev.callPackage
mkDiscord mkDiscord
rec { rec {
pname = "discord-canary"; pname = "discord";
version = "0.0.131"; version = "0.0.17";
binaryName = "DiscordCanary"; binaryName = "Discord";
desktopName = "Discord Canary"; desktopName = "Discord";
src = src =
prev.fetchurl prev.fetchurl
{ {
url = "https://dl-canary.discordapp.net/apps/linux/${version}/discord-canary-${version}.tar.gz"; url = "https://dl.discordapp.net/apps/linux/${version}/discord-${version}.tar.gz";
sha256 = "sha256-ZYPdE02Jq79LmvXu7KIJFugJX++Nnj0Og/mBuaP/+SA="; sha256 = "sha256-NGJzLl1dm7dfkB98pQR3gv4vlldrII6lOMWTuioDExU=";
}; };
isWayland = true; isWayland = true;
enableVulkan = false; enableVulkan = false;
@ -21,6 +21,7 @@ final: prev: rec {
"--enable-zero-copy" "--enable-zero-copy"
"--disable-gpu-driver-bug-workarounds" "--disable-gpu-driver-bug-workarounds"
]; ];
electron = prev.electron_13;
}; };
mkDiscord = { mkDiscord = {
pname, pname,

View File

@ -1 +1 @@
[] ["discord-system-electron"]

View File

@ -303,6 +303,7 @@ in {
})) }))
*/ */
standardnotes standardnotes
discord-system-electron
]; ];
}; };
wayland.windowManager = { wayland.windowManager = {