Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
conduwuit
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
🥺
conduwuit
Commits
e09b2598
Commit
e09b2598
authored
1 year ago
by
🥺
Committed by
🥺
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
update attic URL, upload to conduwuit too
Signed-off-by:
strawberry
<
strawberry@puppygock.gay
>
parent
5d7b8cd3
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bin/nix-build-and-cache
+20
-1
20 additions, 1 deletion
bin/nix-build-and-cache
with
20 additions
and
1 deletion
bin/nix-build-and-cache
+
20
−
1
View file @
e09b2598
...
@@ -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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment