diff options
author | Ludovic Courtès <ludo@gnu.org> | 2022-08-31 12:34:10 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-08-31 12:34:10 +0200 |
commit | 67a6828b2bb821274757f686f7c685b664339a96 (patch) | |
tree | 72738378b7a7015ffc6e2d9082f2da215f872a89 /guix/profiles.scm | |
parent | 270e1b9e1ea2b3e41067a38b094b0656ceb56838 (diff) | |
download | guix-patches-67a6828b2bb821274757f686f7c685b664339a96.tar guix-patches-67a6828b2bb821274757f686f7c685b664339a96.tar.gz |
pull: Create a version 3 manifest.
This makes the profile readable by older Guix instances. This is a
followup to c9fbd40785a99e13a59d8e530830ce85220a9871.
Fixes <https://issues.guix.gnu.org/57306>.
Reported by Arun Isaac <arunisaac@systemreboot.net>.
* guix/profiles.scm (%manifest-format-version): Export.
* guix/scripts/package.scm (build-and-use-profile): Add #:format-version
and pass it to 'profile-derivation'.
* guix/scripts/pull.scm (build-and-install): Pass #:format-version 3.
Diffstat (limited to 'guix/profiles.scm')
-rw-r--r-- | guix/profiles.scm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/guix/profiles.scm b/guix/profiles.scm index d1dfa13e98..5d0a1081c9 100644 --- a/guix/profiles.scm +++ b/guix/profiles.scm @@ -128,6 +128,7 @@ packages->manifest ca-certificate-bundle %default-profile-hooks + %manifest-format-version profile-derivation profile-search-paths load-profile |