Merge pull request #21693 from dtzWill/update/discord

discord: 0.0.11 -> 0.0.13, PaX fix.
This commit is contained in:
Jascha Geerds 2017-01-05 23:40:05 +01:00 committed by GitHub
commit 40f9eb1f22

View file

@ -7,12 +7,12 @@
stdenv.mkDerivation rec {
pname = "discord";
version = "0.0.11";
version = "0.0.13";
name = "${pname}-${version}";
src = fetchurl {
url = "https://cdn-canary.discordapp.com/apps/linux/${version}/${pname}-canary-${version}.tar.gz";
sha256 = "1lk53vm14vr5pb8xxcx6hinpc2mkdns2xxv0bfzxvlmhfr6d6y18";
sha256 = "1pwb8y80z1bmfln5wd1vrhras0xygd1j15sib0g9vaig4mc55cs6";
};
libPath = stdenv.lib.makeLibraryPath [
@ -32,6 +32,8 @@ stdenv.mkDerivation rec {
--set-rpath "$out:$libPath" \
$out/DiscordCanary
paxmark m $out/DiscordCanary
ln -s $out/DiscordCanary $out/bin/
ln -s $out/discord.png $out/share/pixmaps