GNU bug report logs - #30130
Add ‘guix whereis’ command

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Severity: wishlist; Reported by: Mathieu Lirzin <mthl@HIDDEN>; dated Mon, 15 Jan 2018 17:17:02 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at 30130 <at> debbugs.gnu.org:


Received: (at 30130) by debbugs.gnu.org; 17 Dec 2018 20:55:56 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Dec 17 15:55:56 2018
Received: from localhost ([127.0.0.1]:52291 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gYzvg-0002Fo-1T
	for submit <at> debbugs.gnu.org; Mon, 17 Dec 2018 15:55:56 -0500
Received: from flashner.co.il ([178.62.234.194]:50284)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <efraim@HIDDEN>) id 1gYzve-0002FX-CR
 for 30130 <at> debbugs.gnu.org; Mon, 17 Dec 2018 15:55:54 -0500
Received: from localhost (unknown [141.226.9.73])
 by flashner.co.il (Postfix) with ESMTPSA id 1EE1840041;
 Mon, 17 Dec 2018 20:55:48 +0000 (UTC)
Date: Mon, 17 Dec 2018 22:55:47 +0200
From: Efraim Flashner <efraim@HIDDEN>
To: Ricardo Wurmus <rekado@HIDDEN>
Subject: Re: bug#30130: Add =?utf-8?B?4oCYZ3VpeCB3?= =?utf-8?B?aGVyZWlz4oCZ?=
 command
Message-ID: <20181217205547.GA2581@macbook41>
References: <871sirf3fo.fsf@HIDDEN>
 <65446f307809a0e20ba595e2008eb3da@HIDDEN>
 <87va3suzqd.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
 protocol="application/pgp-signature"; boundary="mYCpIKhGyMATD0i+"
Content-Disposition: inline
In-Reply-To: <87va3suzqd.fsf@HIDDEN>
User-Agent: Mutt/1.11.0 (2018-11-25)
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 30130
Cc: swedebugia@HIDDEN, 30130 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


--mYCpIKhGyMATD0i+
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Dec 17, 2018 at 01:03:38PM +0100, Ricardo Wurmus wrote:
>=20
> > This could be solved by a new field in the package-record: (provides
> > '("list of commands provided"))
>=20
> 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.
>=20
> Another approach is to shift this task to substitute servers.

This is Debian's aproach, with 'apt-file'. Another option that would
keep it more local would be a custom updatedb command that would look in
bin/sbin/libexec in the store for binaries and keep track of that. The
downside of course being that you'd only know about binaries you had in
your store.

>=20
> > E.g. right now in my guixsd I have no "file" command. I have no idea
> > which package installs it. :p
>=20
> The confusingly named =E2=80=9Cfile=E2=80=9D package provides the =E2=80=
=9Cfile=E2=80=9D executable ;)

This works for file, but it's not obvious that 'clear' is in ncurses.

--=20
Efraim Flashner   <efraim@HIDDEN>   =D7=90=D7=A4=D7=A8=D7=99=D7=9D =
=D7=A4=D7=9C=D7=A9=D7=A0=D7=A8
GPG key =3D A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

--mYCpIKhGyMATD0i+
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAlwYDU8ACgkQQarn3Mo9
g1Hb+xAAwSFBzpgQlYT6KtcPpKUvEWqjFOdrKTs++bofrXU7YD9x5KoAOez0haEE
7ySRQG284u3CCBX5Wqxb4Bians2haBridHfa3lpm+hitwB9Zn/ximV+M2znAfgNj
gheuPQTHsDrDVeG8lG0BUfh3BuycJzbZI+bSvxs0uWPeFs3zCtdLS4BFGzsdHHzD
9QwFwwAkYUEnLJQ47ReeqrPjzhuQmDH4i/BSthUIo9J816420iobnu7VO+6K/YmS
LsaCGSIOC3kbqsm3OThjbP2X0Ii1x7f4c2EJzdQNkdG3aoYWBxxa0dPJ+h+nbDyv
p50BuyXyzPmzmrnDpiT33mQyj0Lg1Xhks5Ot/vjxy1GbYPsEcv7TveF4cGzopXYW
+J4+hZv1WG/LqwUUDS51HjKNJEh6lWsy99WSqxM3DMyT4CAgkJBJUDIwLQZemOcQ
hE3DDXWAZw7zNOPHnhH8B+JerFBxyxpZ3+/kunl0qjeQ4SgjC1qYIWVpeRQcrBIj
c05d+T1ZAfGWDza8/JFE1j0hz5+k4Hj/lQVe5ZXgCs8AtkPp1akZplc40YBjpQ3S
TodzAriz+IYbm9u6xyliUZIG1LZyuZHYQqCQPYR7oLMl4cxfA+Z/hbKXkrR/9LLj
p8caN8K4BLJtYzW5pt801whMVsFOgKmqp5VUnvBTEVBNt/axFqo=
=daxm
-----END PGP SIGNATURE-----

--mYCpIKhGyMATD0i+--




Information forwarded to bug-guix@HIDDEN:
bug#30130; Package guix. Full text available.

Message received at 30130 <at> debbugs.gnu.org:


Received: (at 30130) by debbugs.gnu.org; 17 Dec 2018 12:04:06 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Dec 17 07:04:06 2018
Received: from localhost ([127.0.0.1]:50951 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gYrcz-00087Q-Rw
	for submit <at> debbugs.gnu.org; Mon, 17 Dec 2018 07:04:06 -0500
Received: from sender-of-o53.zoho.com ([135.84.80.218]:21753)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rekado@HIDDEN>) id 1gYrcy-00086v-JU
 for 30130 <at> debbugs.gnu.org; Mon, 17 Dec 2018 07:04:05 -0500
ARC-Seal: i=1; a=rsa-sha256; t=1545048224; cv=none; d=zoho.com; s=zohoarc; 
 b=FjrNU7MIRX3R3kpnOW7I8EBG4XXtbgd5wDut56YZ0I1FTP7r15km4tEuY2iDQxPC6ynpyQfalkQj8Xio28g1CgTDnoH0DHxDL8cM2GlXa36rb3yNw/sDmySoCZtq5t0I18XhYIpe833hKg4ieNAjaZVxfiLiSOJSrCy1+H0JDjg=
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com;
 s=zohoarc; t=1545048224;
 h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To:ARC-Authentication-Results;
 bh=Vvc7A98lImtqNVNfR7XT8Nfc9w9gk44K4rZ01YmQSb4=; 
 b=CsRksSSrDR6ZtQN8+3VtY3LPrfqRUUr32RzXltBJ486yeqUAikVtOgVDLlsHegMqVbNv+QbxrApTT8vj3LMLjj2JcVFaTS1ckc3Wl6hv/aiWt19p0DrgOmV7mvbhFfSCm1EQmfcu5C5Cl8p+4P4cAjEiaC5nZ4MoYInwL3EZ7VY=
ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass  header.i=elephly.net;
 spf=pass  smtp.mailfrom=rekado@HIDDEN;
 dmarc=pass header.from=<rekado@HIDDEN> header.from=<rekado@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1545048224; 
 s=zoho; d=elephly.net; i=rekado@HIDDEN;
 h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding;
 l=721; bh=Vvc7A98lImtqNVNfR7XT8Nfc9w9gk44K4rZ01YmQSb4=;
 b=JscuUkmZeOae/sBLXNpyAsLmmxjio4AvBxNfUuT2V7argJEjmnf3w8ZBBEs3AlPk
 dPZZHSkFcwJr7KRLfioMHziskJPUxiC/OaXRSx9wzda4i1VMtRAuGyhilxTBhtr2PK0
 /aPgwWCuh9EASP95fLm8+eEysBiWa84ShWmyOe2E=
Received: from localhost (141.80.247.176 [141.80.247.176]) by mx.zohomail.com
 with SMTPS id 1545048221753104.84097927461733;
 Mon, 17 Dec 2018 04:03:41 -0800 (PST)
References: <871sirf3fo.fsf@HIDDEN>
 <65446f307809a0e20ba595e2008eb3da@HIDDEN>
User-agent: mu4e 1.0; emacs 26.1
From: Ricardo Wurmus <rekado@HIDDEN>
To: swedebugia@HIDDEN
Subject: Re: bug#30130: Add =?utf-8?Q?=E2=80=98guix_whereis=E2=80=99?= command
In-reply-to: <65446f307809a0e20ba595e2008eb3da@HIDDEN>
X-URL: https://elephly.net
X-PGP-Key: https://elephly.net/rekado.pubkey
X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
Date: Mon, 17 Dec 2018 13:03:38 +0100
Message-ID: <87va3suzqd.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-ZohoMailClient: External
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 30130
Cc: 30130 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


> 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





Information forwarded to bug-guix@HIDDEN:
bug#30130; Package guix. Full text available.

Message received at 30130 <at> debbugs.gnu.org:


Received: (at 30130) by debbugs.gnu.org; 17 Dec 2018 09:39:12 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Dec 17 04:39:12 2018
Received: from localhost ([127.0.0.1]:50840 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gYpMm-0004Ic-Gr
	for submit <at> debbugs.gnu.org; Mon, 17 Dec 2018 04:39:12 -0500
Received: from mx1.riseup.net ([198.252.153.129]:39111)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <swedebugia@HIDDEN>) id 1gYpMk-0004IR-5F
 for 30130 <at> debbugs.gnu.org; Mon, 17 Dec 2018 04:39:10 -0500
Received: from cotinga.riseup.net (cotinga-pn.riseup.net [10.0.1.164])
 (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (Client CN "*.riseup.net",
 Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK))
 by mx1.riseup.net (Postfix) with ESMTPS id 4609B1A2889
 for <30130 <at> debbugs.gnu.org>; Mon, 17 Dec 2018 01:39:08 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak;
 t=1545039549; bh=HX4frj1iMuI/MBXzNh4ac6f6ys3LpUdmkDRXgiLDz+U=;
 h=Date:From:To:Subject:From;
 b=RFAwJhPKvsV7aT1OcEilDfu1jCujcy4ikPlT8w2MILo2zCFL3LpFPXmpO5fsz4rAQ
 lSqeyVG6KX0+qjbKsyZoSP6OPo4+nXFJLP7uXBHyJdj34rL4i0cdwzbkn26496brIg
 Tuj1rcBmBmdKPkXACAGgyBTqj3f9GYp4uh9627sA=
X-Riseup-User-ID: C5FC83F955C2CE9A854D4FAF5E285CA3BB8512C74DBD4149A37093556D6DAECD
Received: from [127.0.0.1] (localhost [127.0.0.1])
 by cotinga.riseup.net with ESMTPSA id 917B7EB2F6
 for <30130 <at> debbugs.gnu.org>; Mon, 17 Dec 2018 01:39:08 -0800 (PST)
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Date: Mon, 17 Dec 2018 01:39:08 -0800
From: swedebugia@HIDDEN
To: 30130 <at> debbugs.gnu.org
Subject: =?UTF-8?Q?Add_=E2=80=98guix_whereis=E2=80=99_command?=
Message-ID: <65446f307809a0e20ba595e2008eb3da@HIDDEN>
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 30130
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

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




Information forwarded to bug-guix@HIDDEN:
bug#30130; Package guix. Full text available.

Message received at 30130 <at> debbugs.gnu.org:


Received: (at 30130) by debbugs.gnu.org; 17 Jan 2018 14:05:47 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jan 17 09:05:47 2018
Received: from localhost ([127.0.0.1]:59566 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1eboLZ-0001tp-Uk
	for submit <at> debbugs.gnu.org; Wed, 17 Jan 2018 09:05:47 -0500
Received: from hera.aquilenet.fr ([185.233.100.1]:43332)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1eboLY-0001ti-Bo
 for 30130 <at> debbugs.gnu.org; Wed, 17 Jan 2018 09:05:44 -0500
Received: from localhost (localhost [127.0.0.1])
 by hera.aquilenet.fr (Postfix) with ESMTP id DA64F10FEB;
 Wed, 17 Jan 2018 15:05:43 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at aquilenet.fr
Received: from hera.aquilenet.fr ([127.0.0.1])
 by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id tmPPynQKfmqS; Wed, 17 Jan 2018 15:05:43 +0100 (CET)
Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465])
 by hera.aquilenet.fr (Postfix) with ESMTPSA id CB78C10FD2;
 Wed, 17 Jan 2018 15:05:42 +0100 (CET)
From: ludo@HIDDEN (Ludovic =?utf-8?Q?Court=C3=A8s?=)
To: Mathieu Lirzin <mthl@HIDDEN>
Subject: Re: bug#30130: Add =?utf-8?Q?=E2=80=98guix_whereis=E2=80=99?= command
References: <871sirf3fo.fsf@HIDDEN>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 28 =?utf-8?Q?Niv=C3=B4se?= an 226 de la =?utf-8?Q?R?=
 =?utf-8?Q?=C3=A9volution?=
X-PGP-Key-ID: 0x090B11993D9AEBB5
X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-pc-linux-gnu
Date: Wed, 17 Jan 2018 15:05:42 +0100
In-Reply-To: <871sirf3fo.fsf@HIDDEN> (Mathieu Lirzin's message of "Mon, 15
 Jan 2018 18:16:11 +0100")
Message-ID: <877esg60nd.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: 30130
Cc: 30130 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.0 (+)

Mathieu Lirzin <mthl@HIDDEN> skribis:

> I would find really useful if Guix was providing a tool similar to what
> =E2=80=98dnf whatprovides=E2=80=99 or =E2=80=98apt-file=E2=80=99 does.  I=
 mean something to check what
> packages provides a particular file (executable/manual/library).

This has been discussed before, and can be summarized this way:

  1. Finding files that are already in your store could be done easily,
     using =E2=80=98updatedb=E2=80=99 or something similar.

  2. Finding files from packages not in your store is trickier: it
     involves getting info from a build farm server typically.

If we address #1 in a Guix-specific way (automatically populating a file
database upon build completion), then perhaps we could arrange for =E2=80=
=98guix
publish=E2=80=99 to publish that info.

Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#30130; Package guix. Full text available.
Severity set to 'wishlist' from 'normal' Request was from Mathieu Lirzin <mthl@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 15 Jan 2018 17:16:30 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jan 15 12:16:30 2018
Received: from localhost ([127.0.0.1]:57716 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1eb8N4-00015K-2L
	for submit <at> debbugs.gnu.org; Mon, 15 Jan 2018 12:16:30 -0500
Received: from eggs.gnu.org ([208.118.235.92]:48194)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mthl@HIDDEN>) id 1eb8N1-000156-NK
 for submit <at> debbugs.gnu.org; Mon, 15 Jan 2018 12:16:27 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <mthl@HIDDEN>) id 1eb8Mq-0006aY-OE
 for submit <at> debbugs.gnu.org; Mon, 15 Jan 2018 12:16:22 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:41492)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <mthl@HIDDEN>) id 1eb8Mq-0006aT-L0
 for submit <at> debbugs.gnu.org; Mon, 15 Jan 2018 12:16:16 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:39109)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <mthl@HIDDEN>) id 1eb8Mp-0002Z7-Mg
 for bug-guix@HIDDEN; Mon, 15 Jan 2018 12:16:16 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <mthl@HIDDEN>) id 1eb8Mo-0006Yt-UJ
 for bug-guix@HIDDEN; Mon, 15 Jan 2018 12:16:15 -0500
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:52045)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <mthl@HIDDEN>)
 id 1eb8Mo-0006Yd-PM
 for bug-guix@HIDDEN; Mon, 15 Jan 2018 12:16:14 -0500
Received: from [2a01:e35:2ec2:e580:7d5f:f616:fc6f:3970] (port=54074 helo=godel)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <mthl@HIDDEN>) id 1eb8Mo-0003a0-5p
 for bug-guix@HIDDEN; Mon, 15 Jan 2018 12:16:14 -0500
From: Mathieu Lirzin <mthl@HIDDEN>
To: bug-guix@HIDDEN
Subject: Add =?utf-8?Q?=E2=80=98guix_whereis=E2=80=99?= command
Date: Mon, 15 Jan 2018 18:16:11 +0100
Message-ID: <871sirf3fo.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

Hello,

I would find really useful if Guix was providing a tool similar to what
=E2=80=98dnf whatprovides=E2=80=99 or =E2=80=98apt-file=E2=80=99 does.  I m=
ean something to check what
packages provides a particular file (executable/manual/library).

My main use-case is when running a =E2=80=98configure=E2=80=99 script which=
 checks an
arbitrary program, I would like =E2=80=98guix whereis=E2=80=99 to help me f=
ind out what
package I need to install to satisfy its configuration requirement.

--=20
Mathieu Lirzin
GPG: F2A3 8D7E EB2B 6640 5761  070D 0ADE E100 9460 4D37




Acknowledgement sent to Mathieu Lirzin <mthl@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#30130; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.