From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 4FUmA7Xw+l4WEAAA0tVLHw (envelope-from ) for ; Tue, 30 Jun 2020 07:58:45 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id oNmgOrTw+l79SAAAbx9fmQ (envelope-from ) for ; Tue, 30 Jun 2020 07:58:44 +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 717B0940701 for ; Tue, 30 Jun 2020 07:58:44 +0000 (UTC) Received: from localhost ([::1]:41106 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jqBAA-0004v9-3v for larch@yhetil.org; Tue, 30 Jun 2020 03:58:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51868) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jqBA2-0004uo-Ag for help-guix@gnu.org; Tue, 30 Jun 2020 03:58:34 -0400 Received: from mail-lj1-x229.google.com ([2a00:1450:4864:20::229]:45666) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jqBA0-0000mY-NT for help-guix@gnu.org; Tue, 30 Jun 2020 03:58:34 -0400 Received: by mail-lj1-x229.google.com with SMTP id t25so16767243lji.12 for ; Tue, 30 Jun 2020 00:58:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=p1kwejH31IEUq8A13SnLEvEFhOzWPLUznON5NdenSDw=; b=uXRdF1KqtKFErYAlpsQclx3Wdw4HNzSA2Z+RwgH8TOQNpSOay/VfWH2Zcj1VRd3JYl MNUZEdWAtQ58ydLyVHPq5sZg1zhajTAkSe83h+kaHAmwOmmi3kRhmJgFmuAoSny/Nfrm U1/dqVLcea56V7YVLcEWIvC/cXOSJv1ybu9/mFMrtJP/pI9tYYmB77sxap4C4PYPJOrR NzPRmiDhKRhWDUGLMQ+qvVpj98/3g5wCsPl0vcGenSKGghG/jxDHAt7Yo5H6Mhly2WgA 8G2IfI1Ab2H59nxkEdc4qYXZTKChYCnme89hfgIjr/Km0bQ0NuMOkZkSl1rLPF3vH0co ZgSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=p1kwejH31IEUq8A13SnLEvEFhOzWPLUznON5NdenSDw=; b=IRKaWXFRQ4+V+s/0M7ksJ31bzvoeAM3hb3vSRffbwlFeqXvTJyCf49jbPNmjUrNzc0 TvAmIIJF4dPkx/YIUmpvxBjyvXogr391BZH7Uvg0j9a5mGLEyFQ1nuFnev0xYFbm6yKo SL/aMV7BkVp7TtBoSAKs2e3KBjVmHvzNOP9IpXSQAn8A+w5oL2zxgu615uTJsvW8hU7h iWhzCCir+zSZugIcKRpBhldG2XlD0hSAWkjdkeBJCKPm8DyvqcRVkv5ZIsP3/GTlaDMI kS0rLphNZqIYHkhysa9bViTmjYlAVYyatYLIXwPbkEVFmRo02afI6YZ4ctjccBfSM5+O 5jIw== X-Gm-Message-State: AOAM5325xj8TK4VH29/CMTkaVvpROh3DAlCuHMd9Su2mNZm/So7xGXrG uutRic2l33n+JcqVWj0e1Ojk9s6x8g1Go3tWuGo= X-Google-Smtp-Source: ABdhPJyDERD0AeSetoR8Pv34aDF5EGipmg6Mx2BIEa6OXaYmsclyD7Yi3Max+CxI9N7o1WDiVdc2MZsZZUzGvEyc1As= X-Received: by 2002:a2e:b054:: with SMTP id d20mr9375897ljl.55.1593503910159; Tue, 30 Jun 2020 00:58:30 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a2e:9c19:0:0:0:0:0 with HTTP; Tue, 30 Jun 2020 00:58:29 -0700 (PDT) In-Reply-To: <20200626142605.GE21908@E5400> References: <86wo3u9mfi.fsf@gmail.com> <20200626142605.GE21908@E5400> From: Anthony Quizon Date: Tue, 30 Jun 2020 17:58:29 +1000 Message-ID: Subject: Re: Building packages in REPL To: Efraim Flashner Received-SPF: pass client-ip=2a00:1450:4864:20::229; envelope-from=anthoq88@gmail.com; helo=mail-lj1-x229.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 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" Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (body hash did not verify) header.d=gmail.com header.s=20161025 header.b=uXRdF1Kq; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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: 0.09 X-TUID: MXYfjqRwg5ca Cool thanks. I'll try these out On Saturday, June 27, 2020, Efraim Flashner wrote: > On Fri, Jun 26, 2020 at 12:00:17PM +0200, zimoun wrote: > > Dear, > > > > 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? > > > > Well, it is not what you are asking I guess, but it is possible: > > > > --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--- > > > > 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. > > -- > 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 unencrypt= ed >