From mboxrd@z Thu Jan 1 00:00:00 1970 From: zerodaysfordays@sdf.lonestar.org (Jakob L. Kreuze) Subject: Re: Go importer - help with git-fetch Date: Tue, 06 Aug 2019 09:04:02 -0400 Message-ID: <8736iezbr1.fsf@sdf.lonestar.org> References: <4c2f5f76-b431-57ce-3697-ac2cbb48f395@riseup.net> <87zhkmxxjl.fsf@elephly.net> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:53255) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1huzBV-0006jG-77 for guix-devel@gnu.org; Tue, 06 Aug 2019 09:07:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1huzBU-0004tA-Ct for guix-devel@gnu.org; Tue, 06 Aug 2019 09:07:25 -0400 Received: from mx.sdf.org ([205.166.94.20]:59629) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1huzBT-0004sF-J3 for guix-devel@gnu.org; Tue, 06 Aug 2019 09:07:24 -0400 In-Reply-To: <87zhkmxxjl.fsf@elephly.net> (Ricardo Wurmus's message of "Tue, 06 Aug 2019 14:56:14 +0200") 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: swedebugia Cc: guix-devel@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ricardo Wurmus writes: > The error means that you tried to use #T as a procedure. > =E2=80=9Crun-with-store=E2=80=9D expects a monadic value. =E2=80=9Cgit-fe= tch=E2=80=9D returns #T, > though, not a monadic value. Yes -- my apologies, I probably should have clarified in the earlier email thread. 'git-fetch' from (guix git-download) needs to be run in the store monad, but 'git-fetch' from (guix build git) doesn't. You can get rid of 'with-store' and 'run-with-store'. Regards, Jakob --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEa1VJLOiXAjQ2BGSm9Qb9Fp2P2VoFAl1JesIACgkQ9Qb9Fp2P 2VrIjQ//UaUdPFWPGx6dh64XI69H8Yap48ca6V9CQ6ncn20gmZGtA+PyycVUQaiV kSIYrFfLMDc/godLRFj9nDJRkxcVdXMOcyCOmLP0/AUI4X65LmYpkIJzDxeJJNpu Ch7rd4YdUJrKH9YhzMCfiFBEZ1j15bTLIspuUpeRDD2L9DQFks82y0RHKptzPHaG f87e+Po+q2A2nUAYzhPvJMScFM2MK1zQmYnKzsZVe+pJFSajn+a7tIDq5bMUoX6L GmlSWqYVuqlXWBPp8gZliYmth397BnaxHzH5ALt1JNOVxFVuremW7fC2DpZxdmET T3eo6t1WBKFK5cKJNlrFkBWWFO9ZwblJBh3xFeLYmbJTZPFVktgVMrpS1fRZBBwr QESowOI/+yhfOXStSZun+7Rr3AG61q1NB5421KCtjCAA+b/v3iEjpLRM0Xts1fFt yuxwxPnKpKUGSZ8mP0HKwxN3ErPT1oQjrSHmrr8ZDtTAH7UBHEer0uJSE2mNj/7A BbcJTr21ut5GbdezMpH9Xx1xgsMNtA2OUDoOBonDhxEfl0LJNw01zBh/m9KFb8pC iS6d0LQfA4bz7trM/2LgKJYyWv5VcZFSEdNpnDgRUeBOBQN/82Se0lSqVH5x+V+y +av9OUQkE/qzwsjk5SLsdeVMTMUL92o2ZPiE3n/MM7hdUMOebhU= =helM -----END PGP SIGNATURE----- --=-=-=--