Guix: Packaging tutorial

The problem

Guix environment

To package today

  • obs-wlrobs
  • obs-spectralizer
  • obs-next

Package structure

Source

Different inputs

native-inputs
Required for building but not runtime – installing a package through a substitute won't install these inputs.
inputs
Installed in the store but not in the profile, as well as being present at build time.
propagated-inputs
Installed in the store and in the profile, as well as being present at build time.

Build systems

Setting load-path

Getting guix

git clone https://git.savannah.gnu.org/git/guix.git

Submitting a patch

Guix lint

Generate a patch

Send the patch

Summary

  • it's not that hard.
  • help yourself, help the community.

Links