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

"Host Your Own Nix Binary Cache Server" is outdated #177

Open
Svenum opened this issue Aug 3, 2024 · 1 comment
Open

"Host Your Own Nix Binary Cache Server" is outdated #177

Svenum opened this issue Aug 3, 2024 · 1 comment

Comments

@Svenum
Copy link
Contributor

Svenum commented Aug 3, 2024

URL: https://nixos-and-flakes.thiscute.world/nix-store/host-your-own-binary-cache-server

Some commands on this page are outdated:

# old:
mc admin policy add s3 nix-cache-write nix-cache-write.json
# new:
mc admin policy create s3 nix-cache-write nix-cache-write.json

# old:
mc admin policy set s3 nix-cache-write user=nixbuilder
# new:
mc admin policy attach s3 nix-cache-write -user nixbuilder

and the step Pushing Store Paths to Binary Cache does not work for me.

The signing works great, but If I want to upload my "/run/current-system"

I got this error:

error: AWS error uploading 'nix-cache-info': Unable to parse ExceptionName: MalformedXML Message: The XML you provided was not well-formed or did not validate against our published schema
@Svenum
Copy link
Contributor Author

Svenum commented Sep 4, 2024

Maybe add an article for https://github.com/zhaofengli/attic. Its much simpler to use.

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

No branches or pull requests

1 participant