diff options
author | Ludovic Courtès <ludo@gnu.org> | 2015-03-15 23:27:34 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2015-03-17 22:25:54 +0100 |
commit | bcb132876370fc2e51ea9ba137b92932e9e956e4 (patch) | |
tree | 26414ee4c7cd2ee34b6e830e3768f475e2c8e16c /HACKING | |
parent | a482cfdcaee493a0ce796b4cd2059c46fce6d14d (diff) | |
download | guix-bcb132876370fc2e51ea9ba137b92932e9e956e4.tar guix-bcb132876370fc2e51ea9ba137b92932e9e956e4.tar.gz |
gexp: Separate "compilers" for origins and packages from the core.
* guix/gexp.scm (<gexp-compiler>): New record type.
(%gexp-compilers): New variable.
(register-compiler!, lookup-compiler): New procedures.
(define-gexp-compiler): New macro.
(origin-compiler, package-compiler): New compilers.
(lower-inputs): Remove clauses for 'origin?' and 'package?'. Add
clause with 'lookup-compiler' instead.
(lower-references): Likewise.
(gexp-inputs)[add-reference-inputs]: Likewise.
(gexp->sexp)[reference->sexp]: Likewise.
Diffstat (limited to 'HACKING')
0 files changed, 0 insertions, 0 deletions