From 97c73ae89fc213cc4fd896f009aebab8ce29eec9 Mon Sep 17 00:00:00 2001 From: jfvillablanca <31008330+jfvillablanca@users.noreply.github.com> Date: Sun, 6 Oct 2024 16:38:19 +0800 Subject: [PATCH] discord: 0.0.67 -> 0.0.70 (cherry picked from commit 1c9844ef89eeca2da48c805545ddbab09c9ce5e2) Included `hostPlatform` in the conditional for future backports --- .../networking/instant-messengers/discord/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/instant-messengers/discord/default.nix b/pkgs/applications/networking/instant-messengers/discord/default.nix index d095b53185f9..0e7e097e8f39 100644 --- a/pkgs/applications/networking/instant-messengers/discord/default.nix +++ b/pkgs/applications/networking/instant-messengers/discord/default.nix @@ -1,8 +1,8 @@ { branch ? "stable", callPackage, fetchurl, lib, stdenv }: let versions = - if stdenv.isLinux then { - stable = "0.0.67"; + if stdenv.hostPlatform.isLinux then { + stable = "0.0.70"; ptb = "0.0.105"; canary = "0.0.492"; development = "0.0.28"; @@ -17,7 +17,7 @@ let x86_64-linux = { stable = fetchurl { url = "https://dl.discordapp.net/apps/linux/${version}/discord-${version}.tar.gz"; - hash = "sha256-L8COdPP4SFRO+1mipjn4tjLR+xShcJbT/72yhNHdSWg="; + hash = "sha256-Ujlewrhbqal97hCG6+Iu+OqntWZJ/oY6ZHeL+HmoU38="; }; ptb = fetchurl { url = "https://dl-ptb.discordapp.net/apps/linux/${version}/discord-ptb-${version}.tar.gz";