Change nyastodon mirror URL
This commit is contained in:
parent
e8461efe17
commit
de47710bfa
2 changed files with 3 additions and 3 deletions
|
@ -6,7 +6,7 @@ in
|
||||||
(
|
(
|
||||||
applyPatches {
|
applyPatches {
|
||||||
src = fetchgit {
|
src = fetchgit {
|
||||||
url = "https://woof.rip/emily/nyastodon.git";
|
url = "https://woof.rip/mirrors/nyastodon.git";
|
||||||
rev = "refs/heads/develop";
|
rev = "refs/heads/develop";
|
||||||
hash = "sha256-YFQPzsqJxGOS4E/1+chB+C7vD+NlgFiRekDsGZdcL9c=";
|
hash = "sha256-YFQPzsqJxGOS4E/1+chB+C7vD+NlgFiRekDsGZdcL9c=";
|
||||||
};
|
};
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
#! nix-shell -i bash -p bundix coreutils diffutils nix-prefetch-git gnused jq prefetch-yarn-deps yarn-lock-converter
|
#! nix-shell -i bash -p bundix coreutils diffutils nix-prefetch-git gnused jq prefetch-yarn-deps yarn-lock-converter
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
URL=https://woof.rip/emily/nyastodon.git
|
URL=https://woof.rip/mirrors/nyastodon.git
|
||||||
|
|
||||||
POSITIONAL=()
|
POSITIONAL=()
|
||||||
while [[ $# -gt 0 ]]; do
|
while [[ $# -gt 0 ]]; do
|
||||||
|
@ -38,7 +38,7 @@ done
|
||||||
|
|
||||||
if [[ -n "$POSITIONAL" ]]; then
|
if [[ -n "$POSITIONAL" ]]; then
|
||||||
echo "Usage: update.sh [--url URL] [--ver VERSION] [--rev REVISION] [--patches PATCHES]"
|
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 "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."
|
echo "PATCHES, if provided, should be one or more Nix expressions separated by spaces."
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Reference in a new issue