Subject: Re: [bug#72928] [PATCH] time-machine: Print profile path if no command is given.

From: Simon Tournier <[email-masked]>
Date: Fri, 20 Sep 2024 17:49:10 +0200

Hi,

On dim., 15 sept. 2024 at 23:29, Ludovic Courtès <[email-masked]> wrote:

>> Printing directory gives nice symmetry between
>>
>> $ $(guix build guix)/bin/guix describe

[...]

>> $ $(guix time-machine -q --commit=9a2ddcc8f5a6f64b475eeb13a3f1034aa6a4a49a)/bin/guix describe

[...]

>> And in some cases you need the store item (guix copy?), and in my
>> opinion it is easier to go from directory to binary than other way
>> around.

Well, I do not have a strong opinion.  And indeed the symmetry looks
nice.  However, just to be sure: what’s the use case?  Because

    $(guix time-machine -q --commit=9a2ddcc8f5a6f64b475eeb13a3f1034aa6a4a49a)/bin/guix describe

is equivalent to:

    guix time-machine -q --commit=9a2ddcc8f5a6f64b475eeb13a3f1034aa6a4a49a -- describe

Cheers,
simon