guix-devel/guix
Ludovic Courtès dd78e90a4d store: 'references/substitutes' correctly handles the order of substitutes.
Before that, 'references/substitutes' would assume that
'substitutable-path-info' would return things in the same order as its
arguments, which is not the case.  Thus, it would sometimes provide
incorrect reference information, occasionally leading to infinite
loop (because dependency information would denote cycles.)

Fixes <http://bugs.gnu.org/22914>.
Reported by Eric Bavier <ericbavier@openmailbox.org>.

* guix/store.scm (references/substitutes): Make ITEMS the first argument
of the loop; match on it.  Use 'any' to find a matching substitute.
(substitutable-path-info): Clarify docstring about ordering.
2016-03-05 22:53:40 +01:00
..
build grafts: Make sure files are not created world-writable. 2016-02-27 23:31:52 +01:00
build-system build-system/python: Honor the 'python2-variant' property of packages. 2016-02-07 23:46:01 +01:00
import import: Add github-updater. 2016-02-26 22:06:34 -05:00
scripts guix build: Set the build options early. 2016-03-05 00:19:10 +01:00
base32.scm base32: Use a custom error condition instead of 'misc-error'. 2015-05-31 22:39:48 +02:00
base64.scm base64: Inline arithmetic operations. 2015-01-09 01:01:04 +01:00
build-system.scm build-system: Bags record their system and target. 2014-10-05 21:58:42 +02:00
config.scm.in utils: Remove Nixpkgs helpers. 2015-10-06 23:51:04 +02:00
cpio.scm linux-initrd: Produce cpio archives with zeroed timestamps, etc. 2015-06-24 18:05:03 +02:00
cve.scm Add (guix cve). 2015-11-26 22:35:01 +01:00
cvs-download.scm packages: Refer to the native tools when handling sources and downloads. 2015-04-15 10:19:47 +02:00
derivations.scm derivations: Move grafts to (guix grafts). 2016-02-22 22:11:37 +01:00
download.scm download: Add 'url-fetch/tarbomb'. 2016-02-22 00:36:24 +01:00
elf.scm elf: Add missing argument in 'elf-segment'. 2015-03-30 15:21:11 +02:00
ftp-client.scm ftp-client: Default port for 'ftp-open' is now "ftp". 2015-11-22 14:35:28 +01:00
gcrypt.scm Add (guix gcrypt). 2015-01-26 21:58:12 +01:00
gexp.scm derivations: Move grafts to (guix grafts). 2016-02-22 22:11:37 +01:00
git-download.scm download: Disable offloading for downloads. 2015-09-05 22:11:03 +02:00
gnu-maintenance.scm gnu-maintenance: Add X.org updater. 2016-02-24 11:49:57 -05:00
gnupg.scm gnupg: Correctly parse current 'SIG_ID' lines. 2014-09-24 19:08:03 +02:00
grafts.scm grafts: Memoize intermediate results in 'cumulative-grafts'. 2016-03-05 00:19:10 +01:00
graph.scm graph: Add procedures to query a node's edges. 2015-11-21 16:26:43 +01:00
hash.scm hash: Initialize libgcrypt before use. 2015-01-26 21:58:12 +01:00
http-client.scm http-client: 'http-client/cached' uses unique cache file names. 2016-02-25 17:23:29 +01:00
licenses.scm licenses: Add repoze license. 2016-02-22 00:40:25 -05:00
monad-repl.scm monad-repl: Close connection when leaving the monad REPL. 2016-01-13 17:43:21 +01:00
monads.scm monads: Fix 'liftN' fallback case. 2015-09-04 18:31:06 +02:00
nar.scm nar: Read archive signatures as Latin-1 strings. 2015-01-18 22:19:04 +01:00
packages.scm packages: The result of 'bag-grafts' does not contain duplicates. 2016-03-05 00:19:10 +01:00
pk-crypto.scm pk-crypto: Improve documentation of 'key-type'. 2015-03-18 14:43:03 +01:00
pki.scm pki: Introduce 'write-acl', and fix wrong conversion in 'ensure-acl'. 2014-04-04 00:23:17 +02:00
profiles.scm profiles: Add #:system argument to profile-derivation. 2016-02-12 21:54:25 +01:00
records.scm records: Remove unnecessary 'begin'. 2015-06-11 23:33:32 +02:00
scripts.scm emacs: Add 'guix-devel-build-package-source'. 2015-10-12 10:59:31 +03:00
search-paths.scm utils: Have search-path-as-list pattern search for directories. 2015-10-29 17:30:18 -05:00
serialization.scm Remove assorted Guile 2.0.5 workarounds. 2015-05-10 11:07:51 +02:00
sets.scm Add (guix sets). 2015-01-11 23:50:01 +01:00
store.scm store: 'references/substitutes' correctly handles the order of substitutes. 2016-03-05 22:53:40 +01:00
svn-download.scm packages: Refer to the native tools when handling sources and downloads. 2015-04-15 10:19:47 +02:00
tests.scm tests: Narinfos can specify an non-empty reference list. 2016-03-05 00:19:10 +01:00
ui.scm utils: Use '@' for separating package names and version numbers. 2016-03-02 21:41:41 +01:00
upstream.scm gnu-maintenance: ftp.gnome.org does not provide signatures. 2015-12-07 23:57:20 +01:00
utils.scm utils: Use '@' for separating package names and version numbers. 2016-03-02 21:41:41 +01:00