From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tobias Geerinckx-Rice Subject: Re: 01/01: services: Add SRFI-26 to Nix activation gexp. Date: Wed, 12 Jun 2019 18:08:20 +0200 Message-ID: <87ef3yeqh7.fsf@nckx> References: <20190611191005.14930.97243@vcs0.savannah.gnu.org> <20190611191006.B2385204DB@vcs0.savannah.gnu.org> <87pnnjxb2i.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:48044) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hb5nj-00087Z-EI for guix-devel@gnu.org; Wed, 12 Jun 2019 12:08:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hb5ni-00042T-Fz for guix-devel@gnu.org; Wed, 12 Jun 2019 12:08:39 -0400 In-reply-to: <87pnnjxb2i.fsf@gnu.org> 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: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Ludo', Ludovic Court=C3=A8s wrote: > (srfi srfi-26) must not be added to the imported modules: it=20 > would > import it from the host Guile, but the host Guile version may=20 > differ > between users I looked at =E2=80=98G-Expressions=E2=80=99 in the manual before but I didn= 't see=20 this documented. Did I miss it, or is this tribal knowledge? Assuming there's at least a probably-good and definitely-bad set=20 of modules that should(n't) be imported this way: can we at least=20 print a warning when a non-(guix) module is listed, or whatever=20 the rule would be? > , and thus the resulting derivation would also differ. Just to make sure I follow, it's obviously wrong it both cases:=20 this would only be exposed if Guile's CUT suddenly changed its=20 *behaviour* in a visible (and likely very unintentional) way,=20 right? Or does with-imported-modules pull in (and hash) the=20 actual object code (/closure)? > The right thing is to just (use-modules (srfi srfi-26)), which=20 > has the > effect of using that module from the Guile being used for=20 > builds. > > Could you adjust it accordingly? Please take a second to check whether 79d19d7d does what you=20 meant. > Thanks, and thanks for the bug fix! Thank you for answering my many questions, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQT12iAyS4c9C3o4dnINsP+IT1VteQUCXQEjdAAKCRANsP+IT1Vt eZtdAQCr1a6k/vkKjU1wO4sZ94c9v3p1PLXeFQa6X9QZ9DWR4wD9GadXrihDM+/2 LHwy3NHIvahbWvig1zaErUrcopcZuws= =DLtB -----END PGP SIGNATURE----- --=-=-=--