guix-packaging

Define, patch, build, and validate reproducible Guix package definitions.

10|13|Updated Jul 18, 2021
One-click install
npx skills add https://github.com/genenetwork/gn-gemtext-threads --skill guix-packaging
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: guix-packaging
Source: https://github.com/genenetwork/gn-gemtext-threads/tree/main/topics/ai/skills/guix-packaging
Command: npx skills add https://github.com/genenetwork/gn-gemtext-threads --skill guix-packaging

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Guix packaging can be complex and error-prone; this guide provides structured, best-practice instructions to package software for Guix, improving reproducibility and maintainability.

Core Features & Use Cases

  • End-to-end Guix packaging workflow covering package definition, patching, building, committing, validating, and history cleanup.
  • Guidance on fetching sources, managing dependencies, and using Guix GC references for cleaner builds.
  • Real-world scenarios include packaging a new tool, updating an existing package, and ensuring reproducible builds across environments.

Quick Start

Follow these steps to create a Guix package by defining, patching, building, and validating a sample package.

Frequently Asked Questions about guix-packaging

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a reproducible Guix package definition?

A reproducible Guix packaging workflow requires structured steps for defining package definitions, fetching sources, managing dependencies, and validating builds. This ensures consistent outputs and enforces best practices for maintainability across multiple releases.

What is the best way to manage dependencies and patches when packaging software for Guix?

The best way to manage dependencies and patches for Guix packaging is to follow a structured workflow that enforces best practices for source fetching and uses Guix GC references. This ensures cleaner builds and reliable reproducibility.

How does the Guix packaging validation process work?

The Guix packaging validation process works by enforcing best practices across package definition, building, and commit history cleanup steps. It targets software developers maintaining packages across multiple releases to ensure reproducible builds.

Can I use this Guix packaging workflow to update an existing package?

Yes, you can use this Guix packaging workflow to update an existing package. The process supports real-world scenarios including updating packages, packaging new tools, and ensuring reproducible builds across different environments.

Why do I need to clean up commit history when building Guix packages?

You need to clean up commit history when building Guix packages to improve maintainability and enforce best practices. The packaging workflow includes history cleanup as a validation step to ensure reproducible builds across environments.