diff options
author | Ludovic Courtès <ludo@gnu.org> | 2013-11-07 22:41:21 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2013-11-07 22:57:30 +0100 |
commit | f9cc897105850dbbf5e12df63e800cb28b0f293f (patch) | |
tree | 975b6dabbd0d6c213993cf51da66f2afa8b3487b /gnu/packages | |
parent | 18f2887bffeda697bf5ba227c75e303aad04898a (diff) | |
download | guix-f9cc897105850dbbf5e12df63e800cb28b0f293f.tar guix-f9cc897105850dbbf5e12df63e800cb28b0f293f.tar.gz |
packages: Add a 'snippet' field to <origin>.
* guix/packages.scm (<origin>): Add 'snippet', 'modules', and
'imported-modules' fields.
(patch-and-repack): Make 'inputs' a keyword parameter. Add 'snippet',
'modules', and 'imported-modules' parameters. Accept SOURCE as a raw
file name. Insert SNIPPET in BUILDER. Pass IMPORTED-MODULES to
'build-expression->derivation'.
(package-source-derivation): Pass the extra arguments to
'patch-and-repack'.
* tests/packages.scm ("package-source-derivation, snippet"): New test.
* doc/guix.texi (Defining Packages): Mention the 'patches' and 'snippet'
fields.
(Invoking guix build): Tell that --source has patches and snippets
applied.
(Software Freedom): Mention packages that contain non-free code.
Diffstat (limited to 'gnu/packages')
0 files changed, 0 insertions, 0 deletions