mastodon: use correct GitHub Url

The tootsuite organization was renamed to mastodon ages ago.
main
Kerstin Humm 2 years ago committed by Kerstin
parent 23a1971a4e
commit f44b12fb52
  1. 2
      nixos/modules/services/web-apps/mastodon.nix
  2. 2
      pkgs/servers/mastodon/source.nix
  3. 4
      pkgs/servers/mastodon/update.sh

@ -123,7 +123,7 @@ in {
Make sure that websockets are forwarded properly. You might want to set up caching
of some requests. Take a look at mastodon's provided nginx configuration at
<code>https://github.com/tootsuite/mastodon/blob/master/dist/nginx.conf</code>.
<code>https://github.com/mastodon/mastodon/blob/master/dist/nginx.conf</code>.
'';
type = lib.types.bool;
default = false;

@ -1,7 +1,7 @@
# This file was generated by pkgs.mastodon.updateScript.
{ fetchgit, applyPatches }: let
src = fetchgit {
url = "https://github.com/tootsuite/mastodon.git";
url = "https://github.com/mastodon/mastodon.git";
rev = "v3.5.0";
sha256 = "1181zqz7928b6mnp4p502gy2rrwxyv5ysgfydx0n04y8wiq00g48";
};

@ -1,7 +1,7 @@
#!/usr/bin/env bash
set -e
URL=https://github.com/tootsuite/mastodon.git
URL=https://github.com/mastodon/mastodon.git
POSITIONAL=()
while [[ $# -gt 0 ]]; do
@ -40,7 +40,7 @@ if [[ -z "$VERSION" || -n "$POSITIONAL" ]]; then
echo "URL may be any path acceptable to 'git clone' and VERSION the"
echo "semantic version number. If VERSION is not a revision acceptable to"
echo "'git checkout', you must provide one in REVISION. If URL is not"
echo "provided, it defaults to https://github.com/tootsuite/mastodon.git."
echo "provided, it defaults to https://github.com/mastodon/mastodon.git."
echo "PATCHES, if provided, should be one or more Nix expressions"
echo "separated by spaces."
exit 1

Loading…
Cancel
Save