[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: command-not-found
From: |
Ludovic Courtès |
Subject: |
Re: command-not-found |
Date: |
Sat, 23 Jan 2016 12:03:54 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Ricardo Wurmus <address@hidden> skribis:
> Ben Woodcroft <address@hidden> writes:
>
>> Seeing as guix is becoming more and more complete, it would be great to
>> have 'command-not-found' [1] or similar available, so that typing in the
>> name of an uninstalled binary begets a suggestion on which package(s) to
>> install, like Ubuntu gives:
>>
>> $ gitk
>> The program 'gitk' is currently not installed. You can install it by typing:
>> sudo apt-get install gitk
>
> For the record: I never liked this feature (and the delay it caused) and
> I’m not too keen on having something like this for Guix.
+1
>> The database for this I imagine could be generated by hydra, no?
>
> It wouldn’t be good to rely on Hydra. We are trying to encourage
> alternative distribution models (via “guix publish” and eventually via
> GNUnet), and it would be a step in the opposite direction (in my
> opinion) to rely more on Hydra.
OTOH, for those who want it, ‘guix publish’ could provide such a file
lookup service. It would probably need to build its own database
though.
> If the package expressions themselves contained information about the
> contents of their “bin/” directories then it wouldn’t *have* to be
> generated by Hydra.
Too ugly! :-)
Thanks,
Ludo’.