From b8d905ba8fbf33c15c569d910b18d59b88facbc2 Mon Sep 17 00:00:00 2001 From: "Alexander \"PapaTutuWawa" Date: Thu, 17 Feb 2022 19:57:49 +0100 Subject: [PATCH] discord: Bump to 0.0.17 --- lib/mkSystem.nix | 2 ++ overlays/simple.nix | 9 +++++++++ 2 files changed, 11 insertions(+) diff --git a/lib/mkSystem.nix b/lib/mkSystem.nix index f60c0d1..e959caa 100644 --- a/lib/mkSystem.nix +++ b/lib/mkSystem.nix @@ -43,6 +43,8 @@ in inputs.nixpkgs.lib.nixosSystem { emacs.overlay (import ../packages) (import ../overlays/simple.nix) + + # Always keep sandbox.nix as the last overlay (import ../overlays/sandbox.nix) ]; } diff --git a/overlays/simple.nix b/overlays/simple.nix index 241510b..d25d027 100644 --- a/overlays/simple.nix +++ b/overlays/simple.nix @@ -89,4 +89,13 @@ final: prev: sha256 = "1d17lvydlny9pvaxa9xy53wxs7i6d563lp5r9g3r1xpgnb7zli8v"; }; }); + + # TODO: Remove when updated in nixos-unstable + discord = prev.discord.overrideAttrs (old: { + version = "0.0.17"; + src = prev.fetchurl { + url = "https://dl.discordapp.net/apps/linux/0.0.17/discord-0.0.17.tar.gz"; + sha256 = "sha256-NGJzLl1dm7dfkB98pQR3gv4vlldrII6lOMWTuioDExU="; + }; + }); }