Hi,

Nikita Karetnikov <nik...@karetnikov.org> skribis:

>>> +(define (roll-back)
>>> +  "Roll back to the previous profile."
>
>> Please add a ‘profile’ parameter, as for the other functions.
>>
>> It should be possible to run:
>> 
>>   $ guix-package -p foo --roll-back
>
> Should I add any profile-related sanity checks to 'roll-back'?

What kind of sanity check?

> Should 'roll-back' only work for 'guix-profile-*-link' and
> 'default-*-link'? If not, then we have a problem because 'profile-rx'
> can't handle something like '42-custom-profile'. Is it possible to
> create such a profile?

Yes, but I think the regexp handles it just fine, no?

Thanks,
Ludo’.

Reply via email to