aboutsummaryrefslogtreecommitdiff
path: root/NEWS
blob: 79c80cf949d3a992b4586bf126251cdba988a2b3 (about) (plain)
blob size (373KB) exceeds display size limit (100KB).
:42 +0100'>2023-01-25packages: Adjust 'generate-package-cache' for Guile 3.0.9.Ludovic Courtès * gnu/packages.scm (generate-package-cache): Adjust for Guile 3.0.9. 2022-06-06packages: Use SRFI-71 instead of SRFI-11.Ludovic Courtès * gnu/packages.scm (%package-module-path): Use 'let*' instead of 'let*-values'. (specification->package, specification->location) (specification->package+output): Use 'let' instead of 'let-values'. 2022-06-06packages: Add 'specifications->packages'.Antero Mejr * gnu/packages.scm (specifications->packages): New procedure. * guix/scripts/home/import.scm (manifest+configuration-files->code): Use it. * tests/home-import.scm (match-home-environment-no-services) (match-home-environment-no-services-nor-packages) (match-home-environment-bash-service) (match-home-environment-bash-service-with-alias): Adjust 'packages' field accordingly. Co-authored-by: Ludovic Courtès <ludo@gnu.org> 2022-04-04packages: Add 'package-unique-version-prefix'.Ludovic Courtès * gnu/packages.scm (package-unique-version-prefix): New procedure. * guix/scripts/package.scm (manifest-entry-version-prefix): Use it. * tests/packages.scm ("package-unique-version-prefix, gcc@8") ("package-unique-version-prefix, grep"): New tests. 2022-01-11shell: Cache profiles even when using package specs.Ludovic Courtès 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.