Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

attic for attic - (add substituter to nixConfig in flake.nix) #223

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tennox
Copy link
Contributor

@tennox tennox commented Jan 19, 2025

I want to use attic in many places (e.g. servers, CI) - but building it bothers me: it takes 20 minutes on some machines 😲

Now shouldn't attic have an attic cache?
I'm guessing from reading the GH Action logs that you might be using one, but it would be great if one were configured as substituter in flake.nix, as in this PR (example - it's pointing to my attic).

Now, this takes ~20s (weirdly still needs to build stuff, I guess for hash calc, but a lot less):

docker run nixpkgs/nix-flakes \
    nix build -L --verbose github:tennox/attic/attic-for-attic

(In docker to test with a clean store & config)

What you you think?

@tennox tennox force-pushed the attic-for-attic branch 2 times, most recently from e828a74 to 6e53874 Compare January 19, 2025 00:51
@tennox
Copy link
Contributor Author

tennox commented Jan 19, 2025

I'm guessing from reading the GH Action logs

I just read a bit more and found there is indeed an attic & with build push:
https://staging.attic.rs/attic-ci

So I'm guessing that is the one to use?
If so, you can merge attic-for-attic-staging branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant