[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Appropriate way to use Guix API from a Guile program
From: |
Konrad Hinsen |
Subject: |
Re: Appropriate way to use Guix API from a Guile program |
Date: |
Tue, 26 May 2020 18:00:00 +0200 |
Konrad Hinsen <address@hidden> writes:
> Unfortunately, it doesn't look as straightforward as I thought.
> A standard Guile script retrieves command line arguments using
> (command-line). "guix repl" should ideally manipulate the return
> value of (command-line) to make things just work, but I haven't
> found a way to do this.
Reading the Guile manual helps, of course, once you know where to look.
It's (set-program-arguments ...), which starts to make sense once you
figure out that (program-arguments) is a synonym for (command-line).
I'll see if I can do something with that.
Cheers,
Konrad
- Re: Appropriate way to use Guix API from a Guile program, (continued)
- Re: Appropriate way to use Guix API from a Guile program, Efraim Flashner, 2020/05/21
- Re: Appropriate way to use Guix API from a Guile program, Marius Bakke, 2020/05/21
- Re: Appropriate way to use Guix API from a Guile program, sirgazil, 2020/05/21
- Re: Appropriate way to use Guix API from a Guile program, sirgazil, 2020/05/21
- Re: Appropriate way to use Guix API from a Guile program, Marius Bakke, 2020/05/21
- Re: Appropriate way to use Guix API from a Guile program, sirgazil, 2020/05/21
- Re: Appropriate way to use Guix API from a Guile program, zimoun, 2020/05/21
- Re: Appropriate way to use Guix API from a Guile program, Konrad Hinsen, 2020/05/22
- Re: Appropriate way to use Guix API from a Guile program, zimoun, 2020/05/22
- Re: Appropriate way to use Guix API from a Guile program, Konrad Hinsen, 2020/05/26
- Re: Appropriate way to use Guix API from a Guile program,
Konrad Hinsen <=
- Re: Appropriate way to use Guix API from a Guile program, Alex Sassmannshausen, 2020/05/22
- Re: Appropriate way to use Guix API from a Guile program, sirgazil, 2020/05/22
- Re: Appropriate way to use Guix API from a Guile program, sirgazil, 2020/05/22