From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:56820) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hsVSp-0005wP-3q for guix-patches@gnu.org; Tue, 30 Jul 2019 12:59:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hsVSo-0005xQ-5n for guix-patches@gnu.org; Tue, 30 Jul 2019 12:59:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42269) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hsVSo-0005xE-3N for guix-patches@gnu.org; Tue, 30 Jul 2019 12:59:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hsVSo-0004v2-0Q for guix-patches@gnu.org; Tue, 30 Jul 2019 12:59:02 -0400 Subject: [bug#36555] [PATCH v4 1/3] guix system: Add 'reconfigure' module. Resent-Message-ID: From: zerodaysfordays@sdf.lonestar.org (Jakob L. Kreuze) References: <87imsci9sj.fsf@sdf.lonestar.org> <87ef30i9fl.fsf@sdf.lonestar.org> <87y3129qsn.fsf@gnu.org> <87sgr9bziq.fsf@sdf.lonestar.org> <87pnmc7nt1.fsf@gnu.org> <8736j7nwcb.fsf@sdf.lonestar.org> <87muhfjm14.fsf@gnu.org> <87ftn63l7d.fsf@sdf.lonestar.org> <87v9w1zgon.fsf_-_@sdf.lonestar.org> <87y30v3qke.fsf@sdf.lonestar.org> <871rylrjt8.fsf_-_@sdf.lonestar.org> <87wogdq575.fsf_-_@sdf.lonestar.org> <874l3g7p9h.fsf@gnu.org> Date: Tue, 30 Jul 2019 12:55:18 -0400 In-Reply-To: <874l3g7p9h.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Sat, 20 Jul 2019 16:29:46 +0200") Message-ID: <87v9vjv4w9.fsf@sdf.lonestar.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 36555@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Ludovic, Ludovic Court=C3=A8s writes: > I wonder it we should just use > > #~(begin (use-modules (guix build utils)) (invoke =E2=80=A6)) > > here and in other places. > > That=E2=80=99s probably better longer-term (for example when we switch to > Guile=C2=A03, that could ease the transition since the right Guile would = be > used) but we can keep it this way and revisit it later. I've been playing with this for a little while now, and I'm having second thoughts regarding the use of 'invoke'. Any exceptions thrown in the callee are swallowed into an '&invoke-error', so context for failure in i.e. the activation script is lost. Also, does it really matter that the "right" Guile is being used for the activation scripts if the daemon is still going to be running the old Guile? WDYT? Regards, Jakob --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEa1VJLOiXAjQ2BGSm9Qb9Fp2P2VoFAl1AdnYACgkQ9Qb9Fp2P 2VrKiA//WbZ7AUTHpEz7ov2kBJ2DfXMoTvqCCYrjLLS8+TpbqO6tyiG5bI1CmPe5 vpqhI++YP1WLQSunk7tmYhUoHNMWiHXPN5VTFEseS49lNp/riyq1yoiMhnDw6+LI xwJVBGCt52ri8HUc+GeQGUXsukIUHemBGIXmTvzDJdk8httzsyHnq/P+bPDHwIzU XVlEXqDXEiARvnSOetU5xAh8L8w5QsfL4BXvWlIS4mh1gK2li85w8ry7Ctx4UtVP fxECek7IeHtfLlYTWYE9qnjlD+ZYPLNJjcvL2JVx9n5Tte2eXb0dJmdCYPoHfrpf 05Q0sBu8q5YiyNg6Wm+gcF8v3QnUHwZfHqdIvEtDq+P68KxijbysyNR0ZOqUJur/ mSbV7Ko5Hc7WdngUDrLBi2umewEU2VyQr6ZXS/vJkY3g1pkxd3E23DTmv1psiVyp OzjSFAHPW+5+/KVB/dFIVhvQsiFIFNFYrrQdiEJDOoShqpM82F/DzeA/Zo3NjuQl kruMZLzsVC+W7ogCOkF/TNrT6vSTau1/ug8DozOGiGeWiUWUVBxaCcSiZDT2zBQm eKuKsL2dlqV6cXYetN4zfmAtHAZ94cQTK+Sl4Csw6pu8mWjybZAtPnPasY0XkAVe kejJ855CPrADeNJayafhmBHFJJtA81wHQZ5FDsyYlUF+VaPmjEo= =yDhe -----END PGP SIGNATURE----- --=-=-=--