summary refs log tree commit diff
path: root/release.nix
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-09-10 11:57:37 +0200
committerLudovic Courtès <ludo@gnu.org>2016-09-10 13:10:06 +0200
commit1cdecf24f5a7d98c9564a12a2932a015cfc31b9e (patch)
tree60b78b0df8d8d370afddbc6285b4828f76352fc6 /release.nix
parente71479747b3610cc7d992f2b38c6fa825ee44ad1 (diff)
downloadguix-1cdecf24f5a7d98c9564a12a2932a015cfc31b9e.tar.gz
gexp: Store compilers in a hash table for O(1) lookup.
* guix/gexp.scm (<gexp-compiler>)[predicate]: Remove.
[type]: New field.
(%gexp-compilers): Turn into a hash table.
(register-compiler!, lookup-compiler, lookup-expander): Adjust
accordingly.
(define-gexp-compiler): Replace 'predicate' by 'record-type'.
(derivation-compiler, local-file-compiler, plain-file-compiler)
(computed-file-compiler, program-file-compiler, scheme-file-compiler)
(file-append-compiler): Adjust accordingly.
* guix/packages.scm (package-compiler, origin-compiler): Likewise.
Diffstat (limited to 'release.nix')
0 files changed, 0 insertions, 0 deletions