From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tobias Geerinckx-Rice Subject: Re: Having a problem invoking curl only when using guix pull Date: Fri, 17 May 2019 03:04:36 +0200 Message-ID: <87v9y97uxn.fsf@nckx> References: <98FF32C2-9951-45EE-A08D-DBED578C004A@inskydata.com> <4F8CD8F8-47AF-4C3D-8FD4-95B2ABF40AA6@asu.edu> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:56384) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hRRIx-0007BP-0K for help-guix@gnu.org; Thu, 16 May 2019 21:04:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hRRIu-0003M0-Qw for help-guix@gnu.org; Thu, 16 May 2019 21:04:58 -0400 Received: from tobias.gr ([2001:470:7405::1]:54472) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hRRIr-0003CA-9w for help-guix@gnu.org; Thu, 16 May 2019 21:04:55 -0400 In-reply-to: <4F8CD8F8-47AF-4C3D-8FD4-95B2ABF40AA6@asu.edu> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: John Soo Cc: help-guix@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable John, John Soo wrote: > Others may correct me if I=E2=80=99m wrong here, but during the build=20 > phase, network io is off limits. This is since there is not way=20 > to reliably guarantee the contents of things gotten over the=20 > network remain unchanged between builds, and so would break the=20 > immutability guarantees of the package system.=20 > > Again, I could be wrong, I hope others will correct me.=20 You are one hundred percent correct. The exception to this rule are =E2=80=98fixed-output derivations=E2=80=99 s= uch as=20 url-fetch, which may fetch whatever they want from anywhere as=20 long as the end result matches a provided hash. These same restrictions do not apply to =E2=80=98host-side=E2=80=99 Scheme = code,=20 however. One can use the phase of the moon to generate a package=20 record. Kind regards, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQT12iAyS4c9C3o4dnINsP+IT1VteQUCXN4IpQAKCRANsP+IT1Vt eUIDAQDCRWkLGqaxlhwmlrceN/XKEYQCiCN9s9GkUWgARGzSyQD/XLLHhT4O6Qzw ogAaLDhIU5DlclRdfJS/xiC4TvacgAg= =m8ZV -----END PGP SIGNATURE----- --=-=-=--