From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id EKGACtEF9l5pGgAA0tVLHw (envelope-from ) for ; Fri, 26 Jun 2020 14:27:29 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id uNtgBtEF9l5zSQAAB5/wlQ (envelope-from ) for ; Fri, 26 Jun 2020 14:27:29 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 730959401D0 for ; Fri, 26 Jun 2020 14:27:28 +0000 (UTC) Received: from localhost ([::1]:49662 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jopKA-00028b-VX for larch@yhetil.org; Fri, 26 Jun 2020 10:27:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50018) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jopK1-00026Y-JF for help-guix@gnu.org; Fri, 26 Jun 2020 10:27:17 -0400 Received: from flashner.co.il ([178.62.234.194]:34048) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jopJz-0002Me-PU for help-guix@gnu.org; Fri, 26 Jun 2020 10:27:17 -0400 Received: from localhost (unknown [31.210.181.184]) by flashner.co.il (Postfix) with ESMTPSA id 30AEE4007B; Fri, 26 Jun 2020 14:26:43 +0000 (UTC) Date: Fri, 26 Jun 2020 17:26:05 +0300 From: Efraim Flashner To: zimoun Subject: Re: Building packages in REPL Message-ID: <20200626142605.GE21908@E5400> References: <86wo3u9mfi.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="f61P+fpdnY2FZS1u" Content-Disposition: inline In-Reply-To: <86wo3u9mfi.fsf@gmail.com> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Received-SPF: pass client-ip=178.62.234.194; envelope-from=efraim@flashner.co.il; helo=flashner.co.il X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/26 10:26:43 X-ACL-Warn: Detected OS = ??? X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix@gnu.org, Anthony Quizon Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Spam-Score: -2.61 X-TUID: 9QGsZZBYmhQb --f61P+fpdnY2FZS1u Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jun 26, 2020 at 12:00:17PM +0200, zimoun wrote: > Dear, >=20 > On Fri, 26 Jun 2020 at 09:25, Konrad Hinsen = wrote: > > Anthony Quizon writes: > > > >> Is there a way that I can build a package via the repl? >=20 > Well, it is not what you are asking I guess, but it is possible: >=20 > --8<---------------cut here---------------start------------->8--- > $ guix repl > scheme@(guix-user)> (use-modules (guix scripts build)) > scheme@(guix-user)> (guix-build "-L" "." "bonjour") > /gnu/store/m658csbnly6zywfl5nax9glya3rzhbdy-bonjour-2.10 > --8<---------------cut here---------------end--------------->8--- >=20 As a side note, the various guix-foo commands from guix/scripts/* have an undefined return value so you can't check for #t or anything to see if a package built. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --f61P+fpdnY2FZS1u Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl72BXkACgkQQarn3Mo9 g1GkQg/7BY1GSNVsAGF27G2gbrF/XrqInNS0zleLLKsydrPqyDXuFCkHxqGBK+L9 Jz3Mhl/YMH+SQZQzbJzctxq4mV4+ESaxDt+UzWEef6Ez8XwYbHHZ5ZKwB61X0/Z1 X8j7HguUEWX0WKicG8a3lq97/i0G53MRBr3pjwEWeYvzA5mRkJLnyZWtovTkHXaM KEQVFZMALnZB+TIdtdYkLAz6q8oL0StWINGrqO4zyC0NeXw1Jchlv5RIN32JxnHI zL/p3siOypYNRXkAh1ITA/H9/leMokgR3MYvxvbSWADbjqr1nyBjdYlo2g54mKGz PgH5yNFSXcK6Pldahz1iKXfCTXibUgLMMorud7YCZ9Xwnnd3dTdTzJAVUqd7u9aA 4Drf0oRGTLN+bZe4Il9T9tk7OhCDBlCxZlI+ts7dl90/Z58Sllzy8pVvN3eWdlJB vjAPoCvCTEBaM/5RzE+/VlinHbTx+v+/guVqb4O4aDcE14l6J+PO+Nn8wUjXA10O 3FRzv8ZW3mbtn2bmk1CTkta5OcR+qtrUDhiEGb6/cjhW8PdPCLPL7OMa6DFRl6qo tR3gtYn7JZrsO0I98l+1ZtDIqK3YyKjaOFWHprG2rubroFTRUoeTycl9r8vWB0nW 2Xud8esdXjsubh82OjgdWHsP8ZbFhrbq3jGscB1LP0rzK6Pv8AE= =j6EP -----END PGP SIGNATURE----- --f61P+fpdnY2FZS1u--