guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#41253] [PATCH v4] guix repl: Add script execution.


From: Konrad Hinsen
Subject: [bug#41253] [PATCH v4] guix repl: Add script execution.
Date: Sun, 14 Jun 2020 09:02:48 +0200

Hi Ludo,

> Oh right, that’s because we’re using ‘load’.  We should instead do:
>
>   (load-in-vicinity "." file)

Nice! That makes it cleaner indeed, since...

>>  - The script filename is also the first item of (command-line)
>>    when called inside the script, and that's useful only it it's
>>    an absolute filename.
>
> In what way is it useful?

I though it was a POSIX requirement, but (1) I didn't find anything on
that topic and (2) plaing Guile just passes on what I type on the
command line, so I won't try to do "better".

v6 is on the way!

Cheers,
  Konrad





reply via email to

[Prev in Thread] Current Thread [Next in Thread]