Skip to content

Commit 2f367e0

Browse files
Cray Elliottglobin
Cray Elliott
authored andcommittedJan 26, 2017
discord: 0.0.13 -> 0.0.1
Despite the version number confusion, this is a new version of discord-canary, but since the build is now public/official, the version number has been reset and the canary suffix has been dropped. Note that this means that the executable has been renamed from DiscordCanary to Discord
1 parent 88606ff commit 2f367e0

File tree

1 file changed

+8
-8
lines changed
  • pkgs/applications/networking/instant-messengers/discord

1 file changed

+8
-8
lines changed
 

Diff for: ‎pkgs/applications/networking/instant-messengers/discord/default.nix

+8-8
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
stdenv.mkDerivation rec {
88

99
pname = "discord";
10-
version = "0.0.13";
10+
version = "0.0.1";
1111
name = "${pname}-${version}";
1212

1313
src = fetchurl {
14-
url = "https://cdn-canary.discordapp.com/apps/linux/${version}/${pname}-canary-${version}.tar.gz";
15-
sha256 = "1pwb8y80z1bmfln5wd1vrhras0xygd1j15sib0g9vaig4mc55cs6";
14+
url = "https://cdn.discordapp.com/apps/linux/${version}/${pname}-${version}.tar.gz";
15+
sha256 = "10m3ixvhmxdw55awd84gx13m222qjykj7gcigbjabcvsgp2z63xs";
1616
};
1717

1818
libPath = stdenv.lib.makeLibraryPath [
@@ -30,11 +30,11 @@ stdenv.mkDerivation rec {
3030
# see pkgs/applications/misc/adobe-reader/builder.sh
3131
patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
3232
--set-rpath "$out:$libPath" \
33-
$out/DiscordCanary
33+
$out/Discord
3434
35-
paxmark m $out/DiscordCanary
35+
paxmark m $out/Discord
3636
37-
ln -s $out/DiscordCanary $out/bin/
37+
ln -s $out/Discord $out/bin/
3838
ln -s $out/discord.png $out/share/pixmaps
3939
4040
# Putting udev in the path won't work :(
@@ -44,9 +44,9 @@ stdenv.mkDerivation rec {
4444

4545
desktopItem = makeDesktopItem {
4646
name = pname;
47-
exec = "DiscordCanary";
47+
exec = "Discord";
4848
icon = pname;
49-
desktopName = "Discord Canary";
49+
desktopName = "Discord";
5050
genericName = meta.description;
5151
categories = "Network;InstantMessaging;";
5252
};

0 commit comments

Comments
 (0)
Please sign in to comment.