From 58b812f7496dffb22a690267a3c74bbe5a12589d Mon Sep 17 00:00:00 2001 From: Benjamin Hipple Date: Sun, 12 Apr 2020 11:55:36 -0400 Subject: discord-{ptb,canary}: update to latest versions and fixup updateScript This commit: - Moves the update script into the dir, out of the maintainers dir. This makes it more discoverable in general. It can also be invoked from anywhere to write to default.nix - Swaps it to use the standardized `passthru.updateScript`. This means that eventually bots like `nixpkgs-update` will be able to handle it. - Runs the script to upgrade to the latest versions See https://nixos.org/nixpkgs/manual/#ssec-stdenv-attributes --- maintainers/scripts/update-discord | 36 ------------------------------------ 1 file changed, 36 deletions(-) delete mode 100755 maintainers/scripts/update-discord (limited to 'maintainers/scripts') diff --git a/maintainers/scripts/update-discord b/maintainers/scripts/update-discord deleted file mode 100755 index b4c26b3bdefdd..0000000000000 --- a/maintainers/scripts/update-discord +++ /dev/null @@ -1,36 +0,0 @@ -#!/usr/bin/env bash -# script to generate `pkgs/networking/instant-messengers/discord/default.nix` - -set -e -exec >${1:?usage: $0 } - -cat <