aboutsummaryrefslogtreecommitdiff
path: root/tests/upstream.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2022-07-08 12:31:25 +0200
committerLudovic Courtès <ludo@gnu.org>2022-07-08 23:58:11 +0200
commitc9fbd40785a99e13a59d8e530830ce85220a9871 (patch)
tree71183ca4de4d1105aea6efb330343157a73dc24e /tests/upstream.scm
parent89e22887510ba5d546a4d7e391462e648942a7b6 (diff)
downloadguix-c9fbd40785a99e13a59d8e530830ce85220a9871.tar.gz
guix-c9fbd40785a99e13a59d8e530830ce85220a9871.zip
channels: Emit version 3 profiles.
Fixes <https://issues.guix.gnu.org/56441>. Reported by zimoun <zimon.toutoune@gmail.com>. Fixes a bug introduced in 4ff12d1de7cd617b791996ee7ca1240660b4c20e with version 4 of the manifest format. A new 'guix time-machine' would create a v4 manifest; when targeting an old revision (v3), 'generate-package-cache' would fail to read that manifest and abort. Furthermore, an old Guix living in a new profile with a v4 manifest would be unable to describe itself via (guix describe). * guix/channels.scm (package-cache-file): Add 'format-version' field to PROFILE. (channel-instances->derivation): Pass #:format-version to 'profile-derivation'.
Diffstat (limited to 'tests/upstream.scm')
0 files changed, 0 insertions, 0 deletions