--- Begin Message ---
Subject: |
guix pull to old commit fails due to unsupported manifest format |
Date: |
Sat, 20 Aug 2022 15:07:31 +0530 |
When I guix pull to 6f75565b4ec3b8a7247699c327a3b3196c787f76, activate
the profile and run guix describe, it fails with an "unsupported
manifest format" error.
--8<---------------cut here---------------start------------->8---
$ guix pull --commit=6f75565b4ec3b8a7247699c327a3b3196c787f76 -p
/tmp/test
$ source /tmp/test/etc/profile
$ guix describe
guix describe: error: unsupported manifest format
--8<---------------cut here---------------end--------------->8---
This happens because my guix-daemon writes a version 4 manifest and the
guix from commit 6f75565b4ec3b8a7247699c327a3b3196c787f76 only
understands a version 3 manifest.
This may be related to https://issues.guix.gnu.org/56545
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#57306: guix pull to old commit fails due to unsupported manifest format |
Date: |
Wed, 31 Aug 2022 13:06:20 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) |
Hi,
Arun Isaac <arunisaac@systemreboot.net> skribis:
>> I do not think it is related to guix-daemon and I think it is expected;
>> indeed it could be considered as a bug. The command-line,
>>
>> guix pull --commit=xyz -p /tmp/test
>>
>> writes /tmp/test/manifest using the current Guix (say manifest 4) and
>> not using Guix at commit xyz (say manifest 3). Contrary to “guix
>> time-machine --commit=xyz”.
>
> Ah, that makes sense! Any ideas as to how this issue might be fixed?
I fixed it in 67a6828b2bb821274757f686f7c685b664339a96 using the same
trick as earlier.
Thanks!
Ludo’.
--- End Message ---