about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorRiley Inman <rileyminman@gmail.com>2020-06-09 00:37:12 -0400
committerCray Elliott <MP2E@archlinux.us>2020-06-11 21:59:10 -0700
commitdbdc5af9e8145dbc7ffe71cf1c7287d7497f1c16 (patch)
tree454e1bcf9921f0f6a9706b5ba8d79562da4e7455 /pkgs
parent4cc48e5e0f7c9e661c75ba023f8919feaed355bd (diff)
downloadnixlib-dbdc5af9e8145dbc7ffe71cf1c7287d7497f1c16.tar
nixlib-dbdc5af9e8145dbc7ffe71cf1c7287d7497f1c16.tar.gz
nixlib-dbdc5af9e8145dbc7ffe71cf1c7287d7497f1c16.tar.bz2
nixlib-dbdc5af9e8145dbc7ffe71cf1c7287d7497f1c16.tar.lz
nixlib-dbdc5af9e8145dbc7ffe71cf1c7287d7497f1c16.tar.xz
nixlib-dbdc5af9e8145dbc7ffe71cf1c7287d7497f1c16.tar.zst
nixlib-dbdc5af9e8145dbc7ffe71cf1c7287d7497f1c16.zip
discord-canary: 0.0.103 -> 0.0.104
This update updates the necessary dependencies, and enables patchelf on
the binary in order to make it launch again.
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/applications/networking/instant-messengers/discord/base.nix26
-rw-r--r--pkgs/applications/networking/instant-messengers/discord/default.nix4
2 files changed, 22 insertions, 8 deletions
diff --git a/pkgs/applications/networking/instant-messengers/discord/base.nix b/pkgs/applications/networking/instant-messengers/discord/base.nix
index 8f4f16673d25..653da669d386 100644
--- a/pkgs/applications/networking/instant-messengers/discord/base.nix
+++ b/pkgs/applications/networking/instant-messengers/discord/base.nix
@@ -1,16 +1,30 @@
 { pname, version, src, binaryName, desktopName
-, stdenv, fetchurl, makeDesktopItem, wrapGAppsHook
-, alsaLib, atk, at-spi2-atk, at-spi2-core, cairo, cups, dbus, expat, fontconfig, freetype
-, gdk-pixbuf, glib, gtk3, libnotify, libX11, libXcomposite, libXcursor, libXdamage, libuuid
-, libXext, libXfixes, libXi, libXrandr, libXrender, libXtst, nspr, nss, libxcb
-, pango, systemd, libXScrnSaver, libcxx, libpulseaudio }:
+, autoPatchelfHook, fetchurl, makeDesktopItem, stdenv, wrapGAppsHook
+, alsaLib, at-spi2-atk, at-spi2-core, atk, cairo, cups, dbus, expat, fontconfig
+, freetype, gdk-pixbuf, glib, gtk3, libcxx, libdrm, libnotify, libpulseaudio, libuuid
+, libX11, libXScrnSaver, libXcomposite, libXcursor, libXdamage, libXext
+, libXfixes, libXi, libXrandr, libXrender, libXtst, libxcb
+, mesa, nspr, nss, pango, systemd
+}:
 
 let
   inherit binaryName;
 in stdenv.mkDerivation rec {
   inherit pname version src;
 
-  nativeBuildInputs = [ wrapGAppsHook ];
+  nativeBuildInputs = [
+    alsaLib
+    autoPatchelfHook
+    cups
+    libdrm
+    libX11
+    libXScrnSaver
+    libXtst
+    libxcb
+    mesa.drivers
+    nss
+    wrapGAppsHook
+  ];
 
   dontWrapGApps = true;
 
diff --git a/pkgs/applications/networking/instant-messengers/discord/default.nix b/pkgs/applications/networking/instant-messengers/discord/default.nix
index 926ddeeb0483..bc76949e80ab 100644
--- a/pkgs/applications/networking/instant-messengers/discord/default.nix
+++ b/pkgs/applications/networking/instant-messengers/discord/default.nix
@@ -27,10 +27,10 @@ in {
     pname = "discord-canary";
     binaryName = "DiscordCanary";
     desktopName = "Discord Canary";
-    version = "0.0.103";
+    version = "0.0.104";
     src = fetchurl {
       url = "https://dl-canary.discordapp.net/apps/linux/${version}/discord-canary-${version}.tar.gz";
-      sha256 = "1d95q75ak4z6wkxlgcmkl7yk20gl7zf568b0xslz42hwx032fn4z";
+      sha256 = "17np1hqqygjlbmlln0d1ba2qlbjykwj156w5dw7g4lg77kfxicfk";
     };
   };
 }.${branch}