mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
Merge pull request #21693 from dtzWill/update/discord
discord: 0.0.11 -> 0.0.13, PaX fix.
This commit is contained in:
commit
40f9eb1f22
1 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue