Age | Commit message (Expand) | Author |
2016-08-09 | grafts: Make grafting faster....* guix/build/graft.scm (replace-store-references): Reimplement for
faster grafting. Use binary I/O instead of textual I/O. Replace
'mapping' argument (an alist) with 'replacement-table' (a vhash).
(rewrite-directory): Adapt to mapping argument change in
'replace-store-references'. Remove 'with-fluids' that previously set
'%default-port-encoding' to #f, since we now use binary I/O.
(define-inline, hash-length): New macros.
(nix-base32-char?): New variable.
| Mark H Weaver |
2016-05-24 | graft: Fail when one of the threads raises an exception....Fixes <http://bugs.gnu.org/23581>.
* guix/build/graft.scm (exit-on-exception): New procedure.
(rewrite-directory): Use it to wrap REWRITE-LEAF.
| Ludovic Courtès |
2016-05-21 | grafts: Rename files whose name matches a graft....Fixes <http://bugs.gnu.org/23132>.
Reported by Mark H Weaver <mhw@netris.org>.
* guix/build/graft.scm (rename-matching-files): New procedure.
(rewrite-directory): Use it.
* tests/grafts.scm ("graft-derivation, renaming"): New test.
| Ludovic Courtès |
2016-05-21 | grafts: Preserve empty directories when grafting....* guix/build/graft.scm (rewrite-directory)[rewrite-leaf]: Add case for
'directory.
Pass #:directories? #t to 'find-files'.
| Ludovic Courtès |
2016-02-27 | grafts: Make sure files are not created world-writable....* guix/build/graft.scm (rewrite-directory): Add 'umask' call.
| Ludovic Courtès |
2015-11-16 | graft: Graft files in parallel....* guix/build/graft.scm (rewrite-directory): Use 'n-par-for-each' instead
of 'for-each'.
| Ludovic Courtès |
2015-11-16 | graft: Graft files in a deterministic order....* guix/build/graft.scm (rewrite-directory)[rewrite-leaf]: Change to take
a single parameter. Add call to 'lstat'. Factorize result of
'destination'.
Use 'find-files' instead of 'file-system-fold'.
| Ludovic Courtès |
2014-10-08 | derivations: Add 'graft-derivation'....* guix/derivations.scm (graft-derivation): New procedure.
* guix/build/graft.scm: New file.
* Makefile.am (MODULES): Add it.
* tests/derivations.scm ("graft-derivation"): New test.
| Ludovic Courtès |