[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#41253] [PATCH v3] guix repl: Add script execution.
From: |
Konrad Hinsen |
Subject: |
[bug#41253] [PATCH v3] guix repl: Add script execution. |
Date: |
Sat, 06 Jun 2020 07:22:25 +0200 |
Hi Ludo,
Patch v4 is on its way to the world impatiently waiting for it ;-)
>> That could be fixed at the price of a command line interface for "guix
>> repl" that deviates a bit from Guix conventions. For example,
>> is there's a file name argument, pass all arguments following it to the
>> script, eliminating the need for –.
>
> Yes, that makes sense to me.
I found a much simpler solution: putting "guix repl –" on the shebang
line makes it all work. This is documented in the manual and by a
test case.
> I guess ~/.cache/…/*.go exists because you first ran “guile foo.scm”,
> no? In that case, you can simply remove that .go file.
That did the job, thanks!
Cheers,
Konrad.