<mark_weaver>within an 'origin' form, snippets are code segments that are executed after fetching the original upstream version, before repacking it up into the tarball that the rest of the recipe will see. sort of like 'patches', but more general.
<mark_weaver>so if you run "guix build -S glibc", you'll get a tarball that includes the patches and the results of the snippet.
<mark_weaver>one useful purpose for a snippet is to remove non-free code. we can't do that using patches, because we'd have to include the non-free code in our patch.
<mark_weaver>I'm not sure why civodul chose to put that subtitution in the 'origin' and not in a normal phase.
<phant0mas>I shall ask him about that, ok I think I understood, thank you :-)
<bavier`>I'm not sure I could propose guix or nix as a full system replacement though, because many developers like to use compilers other than gcc, which gets difficult with ABI differences for libraries and such
<civodul>well, it could actually help with that, because Guix knows all the DAG
<civodul>however, in my experience, HPC people like to use non-free compilers