Skip to content

cloudandheat/nix-repo-builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nix-repo-builder

Simple script to build and upload all versions of a specific Flake output package inside a repository.

The following variables need to be set:

  • REPO_URL The URL to the Flake repository which should be built
  • TARGET_PACKAGES Space-separated list of packages that should be built
  • NIX_CACHE_PRIVATE_KEY_FILE The path to the private key that should sign
  • NIX_CACHE_UPLOAD_URI URI of the Nix cache to which packages should be uploaded. Example: s3://my-nix-cache?scheme=https&endpoint=s3-endpoint.example.com:8080

Optional:

  • STATE_DIR Where nix-repo-builder should keep track of which commits were already built. If left empty, it will build all references.
  • REF_REGEX A regular expression to limit which refs to build

Note that in case you want to use an S3 bucket as cache, you need to set AWS_SECRET_ACCESS_KEY and AWS_ACCESS_KEY_ID.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published