guix-devel/guix
Ludovic Courtès 57bdd79e48
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.
2016-10-03 23:16:48 +02:00
..
build grafts: Allow the replacement to have a different name. 2016-10-03 23:16:48 +02:00
build-system Add missing exports. 2016-09-27 11:22:56 +02:00
import import: utils: Refactor license->symbol. 2016-09-28 13:17:15 +02:00
scripts guix build: Gracefully handle packages without source for '-S'. 2016-09-27 11:44:56 +02:00
base32.scm
base64.scm
build-system.scm build-system: Bags record their system and target. 2014-10-05 21:58:42 +02:00
combinators.scm
config.scm.in
cpio.scm
cve.scm
cvs-download.scm
derivations.scm
download.scm
elf.scm
ftp-client.scm
gcrypt.scm
gexp.scm
git-download.scm
gnu-maintenance.scm
gnupg.scm
grafts.scm
graph.scm
hash.scm
hg-download.scm
http-client.scm
licenses.scm import: utils: Add spdx-string->license. 2016-09-28 13:15:31 +02:00
modules.scm
monad-repl.scm monad-repl: Close connection when leaving the monad REPL. 2016-01-13 17:43:21 +01:00
monads.scm
nar.scm
packages.scm
pk-crypto.scm
pki.scm
profiles.scm profiles: Build GTK+ input module cache. 2016-09-26 07:58:17 +02:00
records.scm
scripts.scm
search-paths.scm
serialization.scm
sets.scm
store.scm
svn-download.scm
tests.scm
ui.scm ui: Do not shadow '_' where it's used as a literal syntax match. 2016-09-20 23:22:42 +09:00
upstream.scm
utils.scm
zlib.scm