guix build: Move transformation options to (guix transformations).
authorLudovic Courtès <ludo@gnu.org>
Thu, 29 Oct 2020 17:30:07 +0000 (18:30 +0100)
committerLudovic Courtès <ludo@gnu.org>
Sat, 31 Oct 2020 22:16:43 +0000 (23:16 +0100)
commitf68b3ba12dc7532dddde7dc63afb81a8492c661e
tree79d63569d34c05a677ede5461877730f2b1d422a
parent1ae33664a67d9588ee730a2a1d46c29e20a92bcb
guix build: Move transformation options to (guix transformations).

* guix/transformations.scm: New file.
* tests/scripts-build.scm: Rename to...
* tests/transformations.scm: ... this.
* Makefile.am (MODULES): Add 'guix/transformations.scm'.
(SCM_TESTS): Adjust to rename.
* guix/scripts/build.scm (numeric-extension?)
(tarball-base-name, <downloaded-file>, download-to-store*)
(compile-downloaded-file, package-with-source)
(transform-package-source, evaluate-replacement-specs)
(transform-package-inputs, transform-package-inputs/graft)
(%not-equal, package-git-url, evaluate-git-replacement-specs)
(transform-package-source-branch, transform-package-source-commit)
(transform-package-source-git-url, package-dependents/spec)
(package-toolchain-rewriting, transform-package-toolchain)
(transform-package-with-debug-info, transform-package-tests)
(%transformations, transformation-procedure, %transformation-options)
(show-transformation-options-help, options->transformation)
(package-transformations): Move to (guix transformations).
* guix/scripts/environment.scm: Adjust accordingly.
* guix/scripts/graph.scm: Likewise.
* guix/scripts/install.scm: Likewise.
* guix/scripts/pack.scm: Likewise.
* guix/scripts/package.scm: Likewise.
* guix/scripts/upgrade.scm: Likewise.
* po/guix/POTFILES.in: Add 'guix/transformations.scm'.
Makefile.am
guix/scripts/build.scm
guix/scripts/environment.scm
guix/scripts/graph.scm
guix/scripts/install.scm
guix/scripts/pack.scm
guix/scripts/package.scm
guix/scripts/upgrade.scm
guix/transformations.scm [new file with mode: 0644]
po/guix/POTFILES.in
tests/transformations.scm [moved from tests/scripts-build.scm with 99% similarity]