diff options
author | Ludovic Courtès <ludo@gnu.org> | 2016-10-03 23:02:46 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2016-10-03 23:16:48 +0200 |
commit | 57bdd79e485801ccf405ca7389bd099809fe5d67 (patch) | |
tree | b0c6df4c2a0eee45d64025fb7b157671173bbde1 /emacs/guix-messages.el | |
parent | b38e97e03b92d54524953949934884828a1683c1 (diff) | |
download | guix-57bdd79e485801ccf405ca7389bd099809fe5d67.tar guix-57bdd79e485801ccf405ca7389bd099809fe5d67.tar.gz |
grafts: Allow the replacement to have a different name.
* guix/build/graft.scm (replace-store-references): REPLACEMENT is now
the full string, not just the hash.
(rewrite-directory)[hash-mapping](valid-suffix?): Remove.
(hash+suffix): Rename to...
(hash+rest): ... this. Change to return the whole string as the second
element of the list. Adjust 'match-lambda' expression accordingly;
check whether the string length of the origin and replacement match.
* tests/grafts.scm ("graft-derivation, grafted item uses a different
name"): New test.
* doc/guix.texi (Security Updates): Update sentence on the name/version
restriction.
Diffstat (limited to 'emacs/guix-messages.el')
0 files changed, 0 insertions, 0 deletions