unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* invoke instead of (system* ...
@ 2018-01-12 19:16 Catonano
  2018-01-12 19:35 ` Leo Famulari
  0 siblings, 1 reply; 4+ messages in thread
From: Catonano @ 2018-01-12 19:16 UTC (permalink / raw)
  To: guix-devel

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

recently I read that we should move to using this invoke procedure instead
of the (system* some-script) in defining little scripts in packages and
services definitions

But I can't remember where exactly

Where is this invoke procedure defined ?

I'm specifically interested in an exception to be raised in case my script
goes awry

In fact I discovered just today that I was overlooking a problem in my
service because one of my scripts was failing

Thanks

[-- Attachment #2: Type: text/html, Size: 578 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: invoke instead of (system* ...
  2018-01-12 19:16 invoke instead of (system* Catonano
@ 2018-01-12 19:35 ` Leo Famulari
  2018-01-13  0:50   ` ng0
  0 siblings, 1 reply; 4+ messages in thread
From: Leo Famulari @ 2018-01-12 19:35 UTC (permalink / raw)
  To: Catonano; +Cc: guix-devel

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

On Fri, Jan 12, 2018 at 08:16:40PM +0100, Catonano wrote:
> recently I read that we should move to using this invoke procedure instead
> of the (system* some-script) in defining little scripts in packages and
> services definitions
> 
> But I can't remember where exactly
> 
> Where is this invoke procedure defined ?

It's in guix/build/utils.scm

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: invoke instead of (system* ...
  2018-01-12 19:35 ` Leo Famulari
@ 2018-01-13  0:50   ` ng0
  2018-01-13  3:39     ` Kei Kebreau
  0 siblings, 1 reply; 4+ messages in thread
From: ng0 @ 2018-01-13  0:50 UTC (permalink / raw)
  To: Leo Famulari; +Cc: guix-devel

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

Leo Famulari transcribed 1.4K bytes:
> On Fri, Jan 12, 2018 at 08:16:40PM +0100, Catonano wrote:
> > recently I read that we should move to using this invoke procedure instead

Could you tell me where you've read this? It's news to me aswell.

> > of the (system* some-script) in defining little scripts in packages and
> > services definitions
> > 
> > But I can't remember where exactly
> > 
> > Where is this invoke procedure defined ?
> 
> It's in guix/build/utils.scm



-- 
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
GnuPG: https://c.n0.is/ng0_pubkeys/tree/keys
  WWW: https://n0.is/a/  ::  https://ea.n0.is

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: invoke instead of (system* ...
  2018-01-13  0:50   ` ng0
@ 2018-01-13  3:39     ` Kei Kebreau
  0 siblings, 0 replies; 4+ messages in thread
From: Kei Kebreau @ 2018-01-13  3:39 UTC (permalink / raw)
  To: Leo Famulari; +Cc: guix-devel

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

ng0 <ng0@n0.is> writes:

> Leo Famulari transcribed 1.4K bytes:
>> On Fri, Jan 12, 2018 at 08:16:40PM +0100, Catonano wrote:
>> > recently I read that we should move to using this invoke procedure instead
>
> Could you tell me where you've read this? It's news to me aswell.
>

You can check out this thread:
https://lists.gnu.org/archive/html/guix-devel/2017-12/msg00278.html

>> > of the (system* some-script) in defining little scripts in packages and
>> > services definitions
>> > 
>> > But I can't remember where exactly
>> > 
>> > Where is this invoke procedure defined ?
>> 
>> It's in guix/build/utils.scm

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-01-13  3:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-12 19:16 invoke instead of (system* Catonano
2018-01-12 19:35 ` Leo Famulari
2018-01-13  0:50   ` ng0
2018-01-13  3:39     ` Kei Kebreau

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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