Andreas Enge <andr...@enge.fr> writes: > On Sun, Jul 26, 2015 at 01:10:14PM +1000, Ben Woodcroft wrote: >> I'm actually a bit confused as to the difference between a snippet vs. a >> patch stage as above - when is each appropriate? Snippets are only for >> removing non-free software? > > I would use a snippet for something internal to Guix, or specific to the > way we handle things, while a patch is intended to be passed upstream (or > sometimes taken from upstream already) to correct a bug in the software.
It should be noted that changes performed by snippets directly affect the resulting tarball produced by ‘guix build -S’. Whenever you want the sources for a package to be permanently modified for the users, a snippet would be the right way to achieve that.