guix/tests
Ludovic Courtès e9651e39b3 derivations: Add 'substitution-oracle' and use it.
This makes 'guix environment PACKAGE' significantly faster when
substitutes are enabled.  Before that, it would lead to many invocations
of 'guix substitute-binary', one per 'derivation-prerequisites-to-build'
call.  Now, all these are replaced by a single invocation.

* guix/derivations.scm (derivation-output-paths, substitution-oracle):
  New procedures.
  (derivation-prerequisites-to-build): Replace #:use-substitutes? with
  #:substitutable?.  Remove the local 'derivation-output-paths' and
  'substitutable?'.
* guix/ui.scm (show-what-to-build): Add 'substitutable?'.  Pass it to
  'derivation-prerequisites-to-build'.
  [built-or-substitutable?]: Use it instead of 'has-substitutes?'.
* tests/derivations.scm ("derivation-prerequisites-to-build and
  substitutes"): Use #:substitutable? instead of #:use-substitutes?.
2015-01-10 00:39:59 +01:00
..
base32.scm
base64.scm
build-utils.scm
builders.scm
cpan.scm import: Add CPAN importer. 2015-01-09 10:38:26 -06:00
derivations.scm derivations: Add 'substitution-oracle' and use it. 2015-01-10 00:39:59 +01:00
gexp.scm
guix-archive.sh
guix-authenticate.sh
guix-build.sh guix: scripts: Add GUIX_BUILD_OPTIONS environment handling. 2014-11-30 18:54:07 +01:00
guix-daemon.sh
guix-download.sh
guix-gc.sh
guix-hash.sh
guix-lint.sh
guix-package.sh gnu: Search for patches under $GUIX_PACKAGE_PATH. 2015-01-03 23:49:42 +01:00
guix-register.sh
guix-system.sh
hash.scm
lint.scm tests: Add missing copyright line. 2015-01-07 22:33:21 +01:00
monads.scm
nar.scm
packages.scm tests: Factorize the 'dummy-package' macro. 2014-12-29 21:18:12 +01:00
pk-crypto.scm
pki.scm
profiles.scm tests: Use 'test-assertm' for profiles. 2014-12-15 23:01:56 +01:00
pypi.scm tests: import: Factorize utility function. 2015-01-09 10:38:25 -06:00
records.scm
signing-key.pub
signing-key.sec
snix.scm
store.scm
substitute-binary.scm
syscalls.scm syscalls: Add more procedures for network interfaces. 2014-12-19 17:15:53 +01:00
test.drv
ui.scm
union.scm
utils.scm