guix-devel/guix
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
..
build linux-boot: Make /etc/mtab a symlink to /proc/self/mounts. 2015-01-05 22:24:00 +08:00
build-system build-system/python: Fix 'package-with-explicit-python'. 2014-12-23 19:14:52 +01:00
import import: Add CPAN importer. 2015-01-09 10:38:26 -06:00
scripts import: Add CPAN importer. 2015-01-09 10:38:26 -06:00
base32.scm
base64.scm base64: Inline arithmetic operations. 2015-01-09 01:01:04 +01:00
build-system.scm
config.scm.in
derivations.scm derivations: Add 'substitution-oracle' and use it. 2015-01-10 00:39:59 +01:00
download.scm Update gnupg mirrors. 2014-11-26 19:52:11 +01:00
elf.scm Add (guix elf). 2014-11-28 00:10:28 +01:00
ftp-client.scm
gexp.scm
git-download.scm
gnu-maintenance.scm gnu-maintenance: Support .zip files. 2014-11-29 22:34:59 +01:00
gnupg.scm
hash.scm import: Factorize utility functions. 2015-01-09 10:33:24 -06:00
http-client.scm
licenses.scm gnu: licenses: Add NCSA license. 2014-12-09 12:02:08 -06:00
monad-repl.scm
monads.scm monads: Add 'lift0'. 2014-12-02 16:51:43 +01:00
nar.scm
packages.scm Optimize package-transitive-supported-systems. 2014-12-21 20:12:18 -05:00
pk-crypto.scm pk-crypto: Improve docstring of signature-related procedures. 2015-01-04 22:46:51 +01:00
pki.scm
profiles.scm profiles: Fix removal of the next-to-last item in a profile. 2014-12-15 23:01:56 +01:00
records.scm records: Optimize 'recutils->alist' by avoiding regexps. 2015-01-09 01:08:10 +01:00
serialization.scm
store.scm store: default to serial "scheduler" 2014-11-23 21:48:47 +01:00
svn-download.scm
tests.scm tests: import: Factorize utility function. 2015-01-09 10:38:25 -06:00
ui.scm derivations: Add 'substitution-oracle' and use it. 2015-01-10 00:39:59 +01:00
utils.scm guix: scripts: Add GUIX_BUILD_OPTIONS environment handling. 2014-11-30 18:54:07 +01:00