me
/
guix
Archived
1
0
Fork 0
This repository has been archived on 2024-08-07. You can view files and clone it, but cannot push or open issues/pull-requests.
guix/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 build-system: Bags record their system and target. 2014-10-05 21:58:42 +02:00
config.scm.in build: Change state and log directories to $localstatedir/.../guix. 2014-03-09 22:10:01 +01:00
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 ftp-client: Add missing CR in "USER" command. 2014-05-03 00:46:51 +02:00
gexp.scm gexp: Add #:module-path parameter to 'gexp->derivation'. 2014-11-09 22:33:45 +01:00
git-download.scm download: Allow use of substitutes. 2014-10-16 23:40:10 +02:00
gnu-maintenance.scm gnu-maintenance: Support .zip files. 2014-11-29 22:34:59 +01:00
gnupg.scm gnupg: Correctly parse current 'SIG_ID' lines. 2014-09-24 19:08:03 +02:00
hash.scm import: Factorize utility functions. 2015-01-09 10:33:24 -06:00
http-client.scm download: Enlarge your receive buffer. 2014-05-23 22:19:37 +02:00
licenses.scm gnu: licenses: Add NCSA license. 2014-12-09 12:02:08 -06:00
monad-repl.scm Add (guix monad-repl). 2014-08-15 16:26:28 +02:00
monads.scm monads: Add 'lift0'. 2014-12-02 16:51:43 +01:00
nar.scm Break module cycle involving (guix store) and (guix ui). 2014-10-09 23:51:19 +02:00
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 pki: Introduce 'write-acl', and fix wrong conversion in 'ensure-acl'. 2014-04-04 00:23:17 +02:00
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 Break module cycle involving (guix store) and (guix ui). 2014-10-09 23:51:19 +02:00
store.scm store: default to serial "scheduler" 2014-11-23 21:48:47 +01:00
svn-download.scm download: Allow use of substitutes. 2014-10-16 23:40:10 +02:00
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