unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Efraim Flashner <efraim@flashner.co.il>
To: zimoun <zimon.toutoune@gmail.com>
Cc: help-guix@gnu.org, Anthony Quizon <anthoq88@gmail.com>
Subject: Re: Building packages in REPL
Date: Fri, 26 Jun 2020 17:26:05 +0300	[thread overview]
Message-ID: <20200626142605.GE21908@E5400> (raw)
In-Reply-To: <86wo3u9mfi.fsf@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1055 bytes --]

On Fri, Jun 26, 2020 at 12:00:17PM +0200, zimoun wrote:
> Dear,
> 
> On Fri, 26 Jun 2020 at 09:25, Konrad Hinsen <konrad.hinsen@fastmail.net> wrote:
> > Anthony Quizon <anthoq88@gmail.com> 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   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  parent reply	other threads:[~2020-06-26 14:27 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-26  5:13 Building packages in REPL Anthony Quizon
2020-06-26  7:25 ` Konrad Hinsen
2020-06-26 10:00   ` zimoun
2020-06-26 10:17     ` Julien Lepiller
2020-06-26 10:44       ` zimoun
2020-07-24 14:38         ` Ludovic Courtès
2020-07-27 14:13           ` Pierre Neidhardt
2020-07-27 23:30           ` zimoun
2021-03-20 10:57           ` Xinglu Chen
2020-06-26 14:26     ` Efraim Flashner [this message]
2020-06-30  7:58       ` Anthony Quizon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200626142605.GE21908@E5400 \
    --to=efraim@flashner.co.il \
    --cc=anthoq88@gmail.com \
    --cc=help-guix@gnu.org \
    --cc=zimon.toutoune@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).