all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* error: %guix-register-program: unbound variable on guix time-machine
@ 2023-06-01  1:15 Maxim Cournoyer
  2023-06-19 16:19 ` Simon Tournier
  0 siblings, 1 reply; 4+ messages in thread
From: Maxim Cournoyer @ 2023-06-01  1:15 UTC (permalink / raw)
  To: help-guix

Hello,

Attempting to navigate to a relatively distant past (Wed Jan 25 23:42:11
2017 -0500) with commit 9b9e147117e6009451d7acc1f8f156e041263e32, I hit:

--8<---------------cut here---------------start------------->8---
$ LANG=C guix time-machine --commit=9b9e147117e6009451d7acc1f8f156e041263e32 -- shell --pure -D openconnect autoconf automake libtool
Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
Updating channel 'sfl-packages' from Git repository at 'https://gitlab.com/Apteryks/sfl-guix-channel'...
Backtrace:
In guix/store.scm:
   659:37 19 (thunk)
In guix/status.scm:
    839:4 18 (call-with-status-report _ _)
In guix/store.scm:
   1298:8 17 (call-with-build-handler #<procedure 7f9f1de51270 at g?> ?)
  2168:25 16 (run-with-store #<store-connection 256.99 7f9f1ddff4b0> ?)
In guix/inferior.scm:
    927:8 15 (_ _)
In guix/channels.scm:
    975:2 14 (_ _)
    917:2 13 (_ _)
In ./guix/monads.scm:
    487:9 12 (_ _)
In guix/store.scm:
   1996:8 11 (_ _)
In guix/channels.scm:
   793:19 10 (_ _)
In guix/store.scm:
   1996:8  9 (_ _)
In guix/channels.scm:
   668:36  8 (_ #<store-connection 256.99 7f9f1ddff4b0>)
   729:11  7 (_)
In ice-9/eval.scm:
    619:8  6 (_ #(#(#(#<directory (build-self) 7f9f1de8fa00>) # ?) ?))
   626:19  5 (_ #(#(#(#<directory (build-self) 7f9f1de8fa00>) # ?) ?))
    155:9  4 (_ #(#(#(#<directory (build-self) 7f9f1de8fa00>) # ?) ?))
   223:20  3 (proc #(#(#(#<directory (build-self) 7f9f1de8fa00>) ?) ?))
In unknown file:
           2 (%resolve-variable (7 . %guix-register-program) #<direc?>)
In ice-9/boot-9.scm:
  1685:16  1 (raise-exception _ #:continuable? _)
  1685:16  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1685:16: In procedure raise-exception:
error: %guix-register-program: unbound variable
--8<---------------cut here---------------end--------------->8---

Is this expected?  info '(guix) Invoking guix time-machine' does not
mention of any point "too far" in the past to travel to.

-- 
Thanks,
Maxim


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: error: %guix-register-program: unbound variable on guix time-machine
  2023-06-01  1:15 error: %guix-register-program: unbound variable on guix time-machine Maxim Cournoyer
@ 2023-06-19 16:19 ` Simon Tournier
  2023-07-20  3:39   ` Maxim Cournoyer
  0 siblings, 1 reply; 4+ messages in thread
From: Simon Tournier @ 2023-06-19 16:19 UTC (permalink / raw)
  To: Maxim Cournoyer, help-guix

Hi Maxim,

On Wed, 31 May 2023 at 21:15, Maxim Cournoyer <maxim.cournoyer@gmail.com> wrote:
> Hello,
>
> Attempting to navigate to a relatively distant past (Wed Jan 25 23:42:11
> 2017 -0500) with commit 9b9e147117e6009451d7acc1f8f156e041263e32, I hit:

[...]

> Is this expected?  info '(guix) Invoking guix time-machine' does not
> mention of any point "too far" in the past to travel to.

It’s expected.  It’s not possible to travel so far back.  The zero for
time-traveling is the introduction of “inferiors” mechanism around 2019.

Well, since the question is recurrent, I agree that:

 1. the manual needs to be improved;
 2. the command “guix time-machine” should raise a gentle error when the
    specification is unreachable.


Cheers,
simon


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: error: %guix-register-program: unbound variable on guix time-machine
  2023-06-19 16:19 ` Simon Tournier
@ 2023-07-20  3:39   ` Maxim Cournoyer
  2023-08-16 15:54     ` Simon Tournier
  0 siblings, 1 reply; 4+ messages in thread
From: Maxim Cournoyer @ 2023-07-20  3:39 UTC (permalink / raw)
  To: Simon Tournier; +Cc: help-guix

Hi Simon,

Simon Tournier <zimon.toutoune@gmail.com> writes:

> Hi Maxim,
>
> On Wed, 31 May 2023 at 21:15, Maxim Cournoyer <maxim.cournoyer@gmail.com> wrote:
>> Hello,
>>
>> Attempting to navigate to a relatively distant past (Wed Jan 25 23:42:11
>> 2017 -0500) with commit 9b9e147117e6009451d7acc1f8f156e041263e32, I hit:
>
> [...]
>
>> Is this expected?  info '(guix) Invoking guix time-machine' does not
>> mention of any point "too far" in the past to travel to.
>
> It’s expected.  It’s not possible to travel so far back.  The zero for
> time-traveling is the introduction of “inferiors” mechanism around 2019.
>
> Well, since the question is recurrent, I agree that:
>
>  1. the manual needs to be improved;
>  2. the command “guix time-machine” should raise a gentle error when the
>     specification is unreachable.

I've sent a patch doing both 1 and 2 above to guix-patches; you were
CC'd on it.  Let me know what you think!

-- 
Thanks,
Maxim


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: error: %guix-register-program: unbound variable on guix time-machine
  2023-07-20  3:39   ` Maxim Cournoyer
@ 2023-08-16 15:54     ` Simon Tournier
  0 siblings, 0 replies; 4+ messages in thread
From: Simon Tournier @ 2023-08-16 15:54 UTC (permalink / raw)
  To: Maxim Cournoyer; +Cc: help-guix

Hi Maxim,

On Wed, 19 Jul 2023 at 23:39, Maxim Cournoyer <maxim.cournoyer@gmail.com> wrote:

>>  1. the manual needs to be improved;
>>  2. the command “guix time-machine” should raise a gentle error when the
>>     specification is unreachable.
>
> I've sent a patch doing both 1 and 2 above to guix-patches; you were
> CC'd on it.  Let me know what you think!

Really cool!  Thanks!  The patch LTGM except minor detail I am
discussing in the dedicated patch#64746 thread. :-)

Cheers,
simon

1: https://issues.guix.gnu.org/issue/64746


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-08-16 17:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-01  1:15 error: %guix-register-program: unbound variable on guix time-machine Maxim Cournoyer
2023-06-19 16:19 ` Simon Tournier
2023-07-20  3:39   ` Maxim Cournoyer
2023-08-16 15:54     ` Simon Tournier

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.