Skip to content

About

No description or website provided.

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Latest commit

 

History

65 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Guix Build

Elements Guix Builds

This repo uses Github Actions to run create reproducible Guix builds for an Elements release.

Prerequisites

  • alpine-guix docker image. This repo is currently hardcoded to use the image pushed to ghcr.io/delta1/alpine-guix
  • a "Repository secret" in settings/secrets/actions named READ_TOKEN with the value of a github token with the permission to read:packages for the alpine-guix docker image

Usage

  1. Go to Actions > Guix Build
  2. Click "Run Workflow" button
  3. Complete the required inputs
  4. ???
  5. Profit!

Caching

To reduce download/build time across runs, the workflow caches (via actions/cache):

  • depends sources (SOURCES_PATH), keyed on depends/packages/*.mk, shared across all hosts
  • depends build cache (BASE_CACHE), keyed per-host on depends/packages/*.mk
  • the guix store/database (/gnu/store, /var/guix), but only for the x86_64-linux-gnu leg, since this closure is identical across hosts and caching it per-host would exceed GitHub's 10GiB per-repo cache limit

These are bind-mounted into the build container by buildelements.sh (see SOURCES_DIR, BASE_CACHE_DIR, GUIX_STORE_DIR, GUIX_VAR_DIR, CACHE_GUIX_STORE env vars).

About

No description or website provided.

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages