guix/doc
Ludovic Courtès 0552dcb294
shell: Cache profiles even when using package specs.
This enables profile caching not just when '-m' or '-f' is used, but
also when package specs are passed on the command line, as in:

  guix shell -D guix git

It also changes profile cache keys to include the system type, which was
previously ignored.

* guix/scripts/shell.scm (options-with-caching)[single-file-for-caching]:
Remove.
Call 'profile-cached-gc-root' instead; adjust to accept two values.
(profile-cache-primary-key): New procedure.
(profile-cache-key): Remove.
(profile-file-cache-key, profile-spec-cache-key): New procedures.
(profile-cached-gc-root): Rewrite to include functionality formally in
'single-file-for-caching', but extend to handle package specs.
* gnu/packages.scm (cache-is-authoritative?): Export.
* guix/transformations.scm (transformation-option-key?): New procedure.
* doc/guix.texi (Invoking guix shell): Move '--rebuild-cache'
documentation to the bottom, just above '--root'.  Explain caching and
how these two options relate to that.
2022-01-11 20:34:59 +01:00
..
images doc: Update 'Bootstrapping' for further binary seed reduction. 2020-05-22 16:11:52 +02:00
build.scm Merge branch 'master' into core-updates-frozen 2021-12-13 11:49:15 +01:00
contributing.texi style: Add '--styling' option. 2022-01-10 14:59:26 +01:00
environment-gdb.scm
fdl-1.3.texi doc: Use HTTPS for external links. 2020-03-10 20:26:52 +01:00
guix-cookbook.texi doc: cookbook: Update custom kernel guide. 2021-12-30 15:58:24 -05:00
guix.texi shell: Cache profiles even when using package specs. 2022-01-11 20:34:59 +01:00
he-config-bare-bones.scm Move (gnu home-services) to (gnu home services). 2021-10-09 19:24:18 +03:00
htmlxref.cnf doc: Update htmlxref.cnf. 2021-10-04 16:36:58 +02:00
local.mk nls: Update translations. 2022-01-09 11:35:59 +01:00
package-hello.json doc: Document building and installing from JSON files. 2020-04-16 23:41:52 +02:00
package-hello.scm