guix-play/guix/scripts
Ludovic Courtès 5fbdc9a5aa
channels: Compute a package cache and use it.
* gnu/packages.scm (cache-is-authoritative?, load-package-cache)
(cache-lookup, generate-package-cache): New procedures.
(%package-cache-file): New variable.
(find-packages-by-name): Rename to...
(find-packages-by-name/direct): ... this.
(find-packages-by-name): Rewrite to use the package cache when
'cache-is-authoritative?' returns true.
* tests/packages.scm ("find-packages-by-name + version, with cache")
("find-packages-by-name with cache"): New tests.
* guix/channels.scm (package-cache-file): New procedure.
(%channel-profile-hooks): New variable.
(channel-instances->derivation): Use it in #:hooks.
* guix/scripts/package.scm (build-and-use-profile): Add #:hooks and
honor it.
* guix/scripts/pull.scm (build-and-install): Pass #:hooks to
UPDATE-PROFILE.
2019-01-15 20:24:09 +01:00
..
container
import import: opam: Add recursive option. 2019-01-07 22:05:43 +01:00
system
archive.scm guix build: Re-purpose '--verbosity' and add '--debug'. 2019-01-11 12:14:38 +01:00
authenticate.scm Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
build.scm guix build: Re-purpose '--verbosity' and add '--debug'. 2019-01-11 12:14:38 +01:00
challenge.scm
container.scm
copy.scm copy: Add '--verbosity'. 2019-01-14 23:43:49 +01:00
describe.scm describe: In 'channels' format, quote the channel name. 2018-12-07 15:14:12 +01:00
download.scm Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
edit.scm
environment.scm guix build: Re-purpose '--verbosity' and add '--debug'. 2019-01-11 12:14:38 +01:00
gc.scm
graph.scm graph: Add '--system'. 2018-09-16 23:00:44 +02:00
hash.scm guix hash: Fix version and help messages 2018-11-28 10:39:58 +01:00
import.scm
lint.scm guix: lint: Warn only if GitHub URI is not same as the package URI. 2019-01-10 15:39:35 +05:30
offload.scm offload: Remove unnecessary locking on machine slots. 2018-12-26 18:40:49 +01:00
pack.scm guix build: Re-purpose '--verbosity' and add '--debug'. 2019-01-11 12:14:38 +01:00
package.scm channels: Compute a package cache and use it. 2019-01-15 20:24:09 +01:00
perform-download.scm perform-download: Optionally report a "download-progress" trace. 2018-09-27 23:21:53 +02:00
processes.scm Add 'guix processes'. 2018-10-29 00:13:38 +01:00
publish.scm publish: Add a 'Cache-Control' header on /nar responses. 2018-12-17 23:33:42 +01:00
pull.scm channels: Compute a package cache and use it. 2019-01-15 20:24:09 +01:00
refresh.scm refresh: Suggest input changes when updating. 2019-01-12 23:35:11 +01:00
repl.scm repl: Load user's initialization file. 2018-12-03 08:04:51 +03:00
size.scm Remove most references to hydra.gnu.org. 2018-12-04 10:57:56 +01:00
substitute.scm Remove most uses of the _IO*F constants. 2019-01-09 14:47:53 +01:00
system.scm guix build: Re-purpose '--verbosity' and add '--debug'. 2019-01-11 12:14:38 +01:00
weather.scm