diff options
author | Ludovic Courtès <ludo@gnu.org> | 2019-07-10 18:18:19 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2019-07-15 10:01:05 +0200 |
commit | 93c2a0073945e8c3967cdb0e250d3341f7dcac71 (patch) | |
tree | ecef7427ca72edb08171e5a733954507f13648fe /tests | |
parent | 9e64302d6875585e0d5d1d6c36843c05f23c2ea7 (diff) | |
download | guix-93c2a0073945e8c3967cdb0e250d3341f7dcac71.tar guix-93c2a0073945e8c3967cdb0e250d3341f7dcac71.tar.gz |
derivations: Deprecate the previous calling convention.
We will eventually require #:inputs to be a list of <derivation-input>;
store items will have to be passed as #:sources, already interned.
* guix/derivations.scm (warn-about-derivation-deprecation): New procedure.
(derivation): Add #:%deprecation-warning? parameter.
[warn-deprecation]: New macro.
[input->derivation-input, input->source]: Use it.
(build-expression->derivation): Pass #:%deprecation-warning?.
* po/guix/POTFILES.in: Add guix/derivations.scm.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions