Skip to content
Snippets Groups Projects
Commit e09b2598 authored by 🥺's avatar 🥺 :transgender_flag: Committed by 🥺
Browse files

update attic URL, upload to conduwuit too

parent 5d7b8cd3
No related branches found
No related tags found
No related merge requests found
...@@ -12,7 +12,7 @@ if [ ! -z ${ATTIC_TOKEN+x} ]; then ...@@ -12,7 +12,7 @@ if [ ! -z ${ATTIC_TOKEN+x} ]; then
nix run --inputs-from . attic -- login \ nix run --inputs-from . attic -- login \
conduit \ conduit \
https://attic.kennel.girlcock.ceo/conduit \ https://attic.kennel.juneis.dog/conduit \
"$ATTIC_TOKEN" "$ATTIC_TOKEN"
push_args=( push_args=(
...@@ -26,6 +26,25 @@ nix run --inputs-from . attic -- login \ ...@@ -26,6 +26,25 @@ nix run --inputs-from . attic -- login \
) )
nix run --inputs-from . attic -- push conduit "${push_args[@]}" nix run --inputs-from . attic -- push conduit "${push_args[@]}"
# push to "conduwuit" too
nix run --inputs-from . attic -- login \
conduwuit \
https://attic.kennel.juneis.dog/conduwuit \
"$ATTIC_TOKEN"
push_args=(
# Attic and its build dependencies
"$(nix path-info --inputs-from . attic)"
"$(nix path-info --inputs-from . attic --derivation)"
# The target installable and its build dependencies
"$(nix path-info "$INSTALLABLE" --derivation)"
"$(nix path-info "$INSTALLABLE")"
)
nix run --inputs-from . attic -- push conduwuit "${push_args[@]}"
else else
echo "\$ATTIC_TOKEN is unset, skipping uploading to the binary cache" echo "\$ATTIC_TOKEN is unset, skipping uploading to the binary cache"
fi fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment