guix/doc
Ludovic Courtès 14328b81a2
guix build: Transformation options match packages by spec.
This allows us to combine several transformations on a given package, in
particular '--with-git-url' and '--with-branch'.

Previously transformations would ignore each other since they would all
take (specification->package SOURCE) as their replacement source,
compare it by identity, which doesn't work if a previous transformation
has already changed SOURCE.

* guix/scripts/build.scm (evaluate-replacement-specs): Adjust to produce
an alist as expected by 'package-input-rewriting/spec', with a package
spec as the first element of each pair.
(evaluate-git-replacement-specs): Likewise.
(transform-package-inputs):  Adjust accordingly and use
'package-input-rewriting/spec'.
(transform-package-inputs/graft): Likewise.
(transform-package-source-branch, transform-package-source-commit): Use
'package-input-rewriting/spec'.
(transform-package-source-git-url): Likewise, and adjust the
REPLACEMENTS alist accordingly.
(options->transformation): Iterate over OPTS instead of over
%TRANSFORMATIONS.  Invoke transformations one by one.
* tests/scripts-build.scm ("options->transformation, with-input"):
Adjust test to compare packages by name rather than by identity.
("options->transformation, with-git-url + with-branch"): New test.
2019-03-17 22:55:01 +01:00
..
images doc: Document the graphical installer some more. 2019-03-13 23:12:43 +01:00
contributing.de.texi nls: Update 'de' translation of the manual. 2019-03-12 18:57:00 +01:00
contributing.fr.texi nls: Update 'fr' translation of the manual. 2019-03-01 21:52:26 +01:00
contributing.texi doc: Document how to enable qemu binfmt service and how to use it. 2019-02-04 17:56:28 +01:00
environment-gdb.scm
fdl-1.3.texi
guix.de.texi nls: Update 'de' translation of the manual. 2019-03-12 18:57:00 +01:00
guix.fr.texi nls: Update 'fr' translation of the manual. 2019-03-01 21:52:26 +01:00
guix.texi guix build: Transformation options match packages by spec. 2019-03-17 22:55:01 +01:00
htmlxref.cnf doc: Update URL of the Emacs-Guix manual. 2018-07-05 22:16:10 +02:00
local.mk doc: Document the graphical installer some more. 2019-03-13 23:12:43 +01:00
package-hello.scm