diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-08-28 19:19:04 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-08-28 23:29:07 +0200 |
commit | 4ec66950f05e99f785c11fea2cbc1f2b079a7dbf (patch) | |
tree | 17649102c1901edc8a76d36f5a1e65d54b85f932 /tests/guix-pack.sh | |
parent | 3e339c44103f494174d9c20405563135a95cecf9 (diff) | |
download | guix-4ec66950f05e99f785c11fea2cbc1f2b079a7dbf.tar guix-4ec66950f05e99f785c11fea2cbc1f2b079a7dbf.tar.gz |
derivations: Avoid uses of 'write' in 'write-derivation'.
This leads a 4% improvement on the wall-clock time of:
guix build -e '(@@ (gnu packages libreoffice) libreoffice)' --no-grafts -d
* guix/derivations.scm (escaped-string): New procedure.
(write-derivation)[write-escaped-string]: New procedure.
[write-string-list, write-output, write-env-var]: Use it.
Diffstat (limited to 'tests/guix-pack.sh')
0 files changed, 0 insertions, 0 deletions