guix/tests
Ludovic Courtès 36754eee28
packages: Remove duplicates from package cache.
Previously the same package could appear several times if several
variables were bound to it, as is notably the case for "python"
currently.  This, in turn, would lead to obnoxious "ambiguous package
specification" messages.

* gnu/packages.scm (generate-package-cache)[expand-cache]: Change RESULT
to RESULT+SEEN and adjust accordingly.
Call 'first' on the result of 'fold-module-public-variables*'.
* tests/packages.scm ("fold-available-packages with/without cache"):
Check for lack of duplicates in FROM-CACHE.
2019-02-16 01:00:08 +01:00
..
base16.scm
base32.scm
base64.scm
bournish.scm
build-utils.scm
builders.scm
cache.scm
challenge.scm
channels.scm inferior: 'gexp->derivation-in-inferior' honors EXP's load path. 2019-01-20 17:57:14 +01:00
combinators.scm
containers.scm
cpan.scm
cpio.scm
cran.scm
crate.scm
cve-sample.xml
cve.scm
debug-link.scm
derivations.scm daemon: Rename 'NIX_STATE_DIR' and 'NIX_DB_DIR' environment variables. 2019-02-04 00:03:30 +01:00
discovery.scm
elpa.scm
file-systems.scm
gem.scm
gexp.scm store: Rename '&nix-error' to '&store-error'. 2019-01-21 23:09:55 +01:00
glob.scm
gnu-maintenance.scm
grafts.scm
graph.scm
gremlin.scm
guix-archive.sh
guix-authenticate.sh
guix-build-branch.sh
guix-build.sh daemon: Rename 'NIX_STATE_DIR' and 'NIX_DB_DIR' environment variables. 2019-02-04 00:03:30 +01:00
guix-daemon.sh daemon: Rename 'NIX_STATE_DIR' and 'NIX_DB_DIR' environment variables. 2019-02-04 00:03:30 +01:00
guix-describe.sh
guix-download.sh
guix-environment-container.sh
guix-environment.sh environment: Add '--inherit'. 2019-02-16 01:00:08 +01:00
guix-gc.sh
guix-graph.sh
guix-hash.sh
guix-lint.sh
guix-pack-localstatedir.sh
guix-pack-relocatable.sh
guix-pack.sh
guix-package-net.sh guix package: '--upgrade' preserves package order. 2019-01-15 12:05:25 +01:00
guix-package.sh profiles: Raise an error for unmatched patterns. 2019-02-07 15:46:45 +01:00
guix-system.sh tests: Adjust for removal of 'device' field in <bootloader-configuration>. 2019-01-21 23:09:55 +01:00
hackage.scm
import-utils.scm
inferior.scm inferior: Add 'inferior-available-packages'. 2019-02-12 23:30:16 +01:00
lint.scm tests: More adjustments to python.scm split. 2019-01-20 11:49:10 +02:00
modules.scm
monads.scm
nar.scm serialization: 'restore-file' errors out upon non-convertible file names. 2019-01-18 17:51:34 +01:00
opam.scm import: opam: Fix conditions. 2019-02-05 22:33:06 +01:00
pack.scm
packages.scm packages: Remove duplicates from package cache. 2019-02-16 01:00:08 +01:00
pki.scm
print.scm
processes.scm
profiles.scm profiles: Raise an error for unmatched patterns. 2019-02-07 15:46:45 +01:00
publish.scm Remove most uses of the _IO*F constants. 2019-01-09 14:47:53 +01:00
pypi.scm
records.scm records: Detect duplicate field initializers. 2019-01-22 23:04:05 +01:00
scripts-build.scm
scripts.scm
search-paths.scm
services.scm tests: Remove duplicate field initializers. 2019-01-24 20:47:21 +01:00
sets.scm
signing-key.pub
signing-key.sec
size.scm
snix.scm
status.scm status: Keep track of the current build phase. 2019-02-05 12:03:25 +01:00
store-database.scm
store-deduplication.scm deduplication: Gracefully handle ENOSPC raised by 'link' calls. 2018-12-14 12:07:24 +01:00
store.scm daemon: Emit a 'build-succeeded' event in check mode. 2019-02-06 23:06:18 +01:00
substitute.scm
syscalls.scm
system.scm
test.drv
texlive.scm
ui.scm
union.scm
upstream.scm upstream: Temporarily skip failing test. 2019-01-28 23:13:40 +01:00
utils.scm
uuid.scm
workers.scm
zlib.scm