* 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.
|
||
|---|---|---|
| .. | ||
| base32.scm | ||
| build-utils.scm | ||
| builders.scm | ||
| derivations.scm | ||
| guix-build.sh | ||
| guix-daemon.sh | ||
| guix-download.sh | ||
| guix-gc.sh | ||
| guix-hash.sh | ||
| guix-package.sh | ||
| guix-register.sh | ||
| hash.scm | ||
| monads.scm | ||
| nar.scm | ||
| packages.scm | ||
| profiles.scm | ||
| records.scm | ||
| snix.scm | ||
| store.scm | ||
| test.drv | ||
| ui.scm | ||
| union.scm | ||
| utils.scm | ||