Skip to content

Instantly share code, notes, and snippets.

@infinisil
Last active March 14, 2019 17:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save infinisil/4d35ab3747c20261f748bcc0223e7170 to your computer and use it in GitHub Desktop.
Save infinisil/4d35ab3747c20261f748bcc0223e7170 to your computer and use it in GitHub Desktop.
{ pkgs }:
with pkgs;
let
altPkgs = (import (fetchTarball {
url = "https://github.com/NixOS/nixpkgs/archive/170aee77a73c5b4b3fe9ce2bcca8fda77c55f49f.tar.gz";
sha256 = "01jssi0ggkgb7z8z8fby52cw3mn0r75za31826gfd467mzvvh830";
}) {});
discord =
# When this assertion fails, the channel will have the new discord version
assert lib.versionOlder discord.version altPkgs.discord.version;
altPkgs.discord;
in
discord
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment