unofficial mirror of help-guix@gnu.org 
 help / color / Atom feed
From: Anthony Quizon <anthoq88@gmail.com>
To: Efraim Flashner <efraim@flashner.co.il>
Cc: "help-guix@gnu.org" <help-guix@gnu.org>
Subject: Re: Building packages in REPL
Date: Tue, 30 Jun 2020 17:58:29 +1000
Message-ID: <CAPHgq+K2v52k9_LGMCW8Udk-R76f8O58MnBV9tvSDr2z65Q_YQ@mail.gmail.com> (raw)
In-Reply-To: <20200626142605.GE21908@E5400>

Cool thanks. I'll try these out

On Saturday, June 27, 2020, Efraim Flashner <efraim@flashner.co.il> wrote:

> 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
>

      reply index

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-26  5:13 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-06-26 14:26     ` Efraim Flashner
2020-06-30  7:58       ` Anthony Quizon [this message]

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=CAPHgq+K2v52k9_LGMCW8Udk-R76f8O58MnBV9tvSDr2z65Q_YQ@mail.gmail.com \
    --to=anthoq88@gmail.com \
    --cc=efraim@flashner.co.il \
    --cc=help-guix@gnu.org \
    /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

unofficial mirror of help-guix@gnu.org 

Archives are clonable:
	git clone --mirror https://yhetil.org/guix-user/0 guix-user/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 guix-user guix-user/ https://yhetil.org/guix-user \
		help-guix@gnu.org
	public-inbox-index guix-user

Example config snippet for mirrors

Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.gnu.guix.user
	nntp://news.gmane.io/gmane.comp.gnu.guix.user


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git