From mboxrd@z Thu Jan 1 00:00:00 1970 From: swedebugia@riseup.net Subject: bug#30130: Add =?UTF-8?Q?=E2=80=98guix_?= =?UTF-8?Q?whereis=E2=80=99?= command Date: Mon, 17 Dec 2018 01:39:08 -0800 Message-ID: <65446f307809a0e20ba595e2008eb3da@riseup.net> References: <871sirf3fo.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51594) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gYpYc-0003Ap-4T for bug-guix@gnu.org; Mon, 17 Dec 2018 04:51:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gYpNb-0003HL-Bg for bug-guix@gnu.org; Mon, 17 Dec 2018 04:40:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:46582) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gYpNa-0003Gp-MH for bug-guix@gnu.org; Mon, 17 Dec 2018 04:40:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gYpNa-0004K1-IL for bug-guix@gnu.org; Mon, 17 Dec 2018 04:40:02 -0500 In-Reply-To: <871sirf3fo.fsf@gnu.org> Sender: "Debbugs-submit" Resent-Message-ID: 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: 30130@debbugs.gnu.org Hi This could be solved by a new field in the package-record: (provides '("list of commands provided")) What do you think? This could allow us to quickly let guile search the list of provided commands and return the package name. E.g. right now in my guixsd I have no "file" command. I have no idea which package installs it. :p -- Cheers Swedebugia