Skip to content

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

@Svenum

Description

@Svenum

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions