From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: Re: native-inputs ending up as run-time references [was: ISO image available for testing!] Date: Tue, 5 Dec 2017 22:18:09 -0500 Message-ID: <20171206031809.GB28118@jasmine.lan> References: <87infv54m3.fsf@gnu.org> <87efqgnn7x.fsf@elephly.net> <878teo59tb.fsf@gnu.org> <20171201183042.GB2504@jasmine.lan> <87tvxadz11.fsf@elephly.net> <87lgiirhsf.fsf_-_@gnu.org> <874lp618iy.fsf@cbaines.net> <87shcoaj2w.fsf@gnu.org> <87bmjcvft3.fsf@netris.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="aVD9QWMuhilNxW9f" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33257) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eMQEd-0008WT-Gv for guix-devel@gnu.org; Tue, 05 Dec 2017 22:19:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eMQEY-0001Mp-IB for guix-devel@gnu.org; Tue, 05 Dec 2017 22:18:59 -0500 Content-Disposition: inline In-Reply-To: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Tobias Geerinckx-Rice Cc: guix-devel@gnu.org --aVD9QWMuhilNxW9f Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Dec 06, 2017 at 03:16:45AM +0100, Tobias Geerinckx-Rice wrote: > Hold on. I thought this happened *all the actual time*. >=20 > To me, the output of =E2=80=98guix graph=E2=80=99 implies that ghc[*] ref= ers directly to > perl, and ghc-haddock-library to hspec-discover, and that both of those > are native inputs. >=20 > These are just the first two examples of packages with native inputs > that I happened to pull out of my haskell.scm. While Haskell does seem > particularly naughty, I've no reason to believe it's unique. >=20 > Are these not =E2=80=98run-time references=E2=80=99? Is your use of the t= erm narrower > than mine? I think of "run-time references" as explicit store references (file-names) found in the build output by the post-build reference scanner and recorded in /var/guix/db. These references are what grafting rewrites. `guix gc --references` can be used to query the database for a given store item. `guix graph`, on the other hand, shows the graphs of package definitions. That is, the list of inputs, native-inputs, propagated-inputs, etc. Some of these inputs could be totally superfluous, and the build output would ideally not contain any explicit references to them at all. The term "reference" has a few meanings in Guix, but I think that Mark is talking about explicit store paths. --aVD9QWMuhilNxW9f Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlonYW4ACgkQJkb6MLrK fwhryBAA3ip84OBIPWyM7poINNNLPSE01pZwJvnYihpKVz1YLqhx5Wie2z5foUvZ w7X0tsLtCnsxIp6JThRhKUNwP3KIi1Sq3RXTzt7h7HYrkLho4M/etI+yTvpsFs91 Ugh/lBkMZ+LyzpTVorfKelQ3cIqHR3Swq7kyepGJLZhqBolNw+IVYxGSW07YP/WM tCmq6nfU2Yob+ZIEkF7Owx3U4Q6FtKhWah5sZ9UZLIDRtKPN1Px48zX23sU9Wz1I JildVv6MXhc/OYe1avkl72zopdognsy1gD+y1x2v88VxZYpaNpiRsJs+9lrxkja0 rbfIv8xu2KAzTpWsSRsOZaCh9czVKejwfMdcEaB7GMKXm6moTMOYbcsXQSnjDv8C aX3B/Ebr6fPndKNjsI1od+2cZNfS1JFsvPO81ntJFQxBDklUqEldPIDYuAazCfVr 9m2khOb5si+qXPtfOslmHOpk5pCH6Hq6es4bSiEJQXxbexNr4vvzobpAFaoUk34p IWT8GDlOER4DBXTVryKrrgND19Cs+2oavf1iAMlJFkXYaNy4FZuKyF4pALellkcy hLc6hk1CjHutVRvVbJrbemPqAe2K8FEbhZ12RbrnLPotDCqFRvCZTL/boy9TABpR J3Bcq0Ae58m+I0uF7GnOsfNomtEiAozg9BdXd/XD/U3qmDH3pPI= =d20K -----END PGP SIGNATURE----- --aVD9QWMuhilNxW9f--