Discord: Difference between revisions

imported>Artturin
m format
imported>Con-f-use
add discord update workaround
Line 46: Line 46:
{{app|dunst|Lightweight and customizable notification daemon for x11|https://github.com/dunst-project/dunst|dunst}}
{{app|dunst|Lightweight and customizable notification daemon for x11|https://github.com/dunst-project/dunst|dunst}}
{{app|mako|A lightweight Wayland notification daemon|https://github.com/emersion/mako/|mako}}
{{app|mako|A lightweight Wayland notification daemon|https://github.com/emersion/mako/|mako}}
=== Discord wants latest version ===
[[File:discord_update_latest.png]]
Discord refuses to start because they have released an update and only the latest version can connect to their service.
Most of the time this is a temporary problem, and you can just wait for the version to be bumped in nixpkgs and update then.
For the impatient the workaround is something like this:
<syntaxhighlight lang="nix">
nixpkgs.overlays = [(self: super: { discord = super.discord.overrideAttrs (_: { src = builtins.fetchTarball <link-to-tarball>; })];
</syntaxhighlight>
An overlay to build discord manually from the URL to the latest tarball on [https://discord.com/api/download?platform=linux&format=tar.gz], see [https://github.com/NixOS/nixpkgs/issues/94806]


=== Opening Links with Firefox ===
=== Opening Links with Firefox ===