From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: bug#30130: Add =?UTF-8?Q?=E2=80=98guix_?= =?UTF-8?Q?whereis=E2=80=99?= command Date: Mon, 17 Dec 2018 13:03:38 +0100 Message-ID: <87va3suzqd.fsf@elephly.net> References: <871sirf3fo.fsf@gnu.org> <65446f307809a0e20ba595e2008eb3da@riseup.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60146) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gYre3-0003Vk-7V for bug-guix@gnu.org; Mon, 17 Dec 2018 07:05:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gYrdy-0001QZ-Up for bug-guix@gnu.org; Mon, 17 Dec 2018 07:05:10 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:46694) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gYrdu-0001KZ-9b for bug-guix@gnu.org; Mon, 17 Dec 2018 07:05:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gYrdu-00088u-3B for bug-guix@gnu.org; Mon, 17 Dec 2018 07:05:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-reply-to: <65446f307809a0e20ba595e2008eb3da@riseup.net> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: swedebugia@riseup.net Cc: 30130@debbugs.gnu.org > This could be solved by a new field in the package-record: (provides > '("list of commands provided")) The danger with doing this in a package definition is that it can easily go out of sync unless we also add a verification phase to compare the output with the list of provided executables. Another problem is that the list might not be complete and it is yet another manual thing to maintain for all packages. Another approach is to shift this task to substitute servers. > E.g. right now in my guixsd I have no "file" command. I have no idea > which package installs it. :p The confusingly named =E2=80=9Cfile=E2=80=9D package provides the =E2=80=9C= file=E2=80=9D executable ;) -- Ricardo