1
0
Fork 0
forked from emily/nixfiles

Change nyastodon mirror URL

This commit is contained in:
emily 2024-07-15 14:08:26 +02:00
parent e8461efe17
commit de47710bfa
Signed by untrusted user: emily
GPG key ID: F6F4C66207FCF995
2 changed files with 3 additions and 3 deletions

View file

@ -6,7 +6,7 @@ in
(
applyPatches {
src = fetchgit {
url = "https://woof.rip/emily/nyastodon.git";
url = "https://woof.rip/mirrors/nyastodon.git";
rev = "refs/heads/develop";
hash = "sha256-YFQPzsqJxGOS4E/1+chB+C7vD+NlgFiRekDsGZdcL9c=";
};

View file

@ -2,7 +2,7 @@
#! nix-shell -i bash -p bundix coreutils diffutils nix-prefetch-git gnused jq prefetch-yarn-deps yarn-lock-converter
set -e
URL=https://woof.rip/emily/nyastodon.git
URL=https://woof.rip/mirrors/nyastodon.git
POSITIONAL=()
while [[ $# -gt 0 ]]; do
@ -38,7 +38,7 @@ done
if [[ -n "$POSITIONAL" ]]; then
echo "Usage: update.sh [--url URL] [--ver VERSION] [--rev REVISION] [--patches PATCHES]"
echo "If URL is not provided, it defaults to https://git.bsd.gay/fef/nyastodon.git"
echo "If URL is not provided, it defaults to https://woof.rip/mirrors/nyastodon.git"
echo "If VERSION is not provided, it defaults to the latest git revision."
echo "PATCHES, if provided, should be one or more Nix expressions separated by spaces."
exit 1