Ludovic Courtès schreef op vr 15-07-2022 om 17:41 [+0200]:
> Hi!
>
> Thanks all for your support. :-)
>
> I’ve pushed these new REPL commands as
> 4ce7f1fb24a111f3e92d5b889d1271bebf109d09, including a new “Using Guix
> Interactively” section in the manual to document it. Feedback welcome!
>
>
Hi!
Thanks all for your support. :-)
I’ve pushed these new REPL commands as
4ce7f1fb24a111f3e92d5b889d1271bebf109d09, including a new “Using Guix
Interactively” section in the manual to document it. Feedback welcome!
I’m sure we can add more REPL commands as we better see what useful
shorthand
Whoops. I sent my original message to the list, not directly to ya'll.
,build and ,lower are awesome! I reccomend that we add ludo's proposed
patch into guix. It's awesome!
Thanks,
Joshua
I was playing around with this today, and it is awesome!
I think it should be merged, because it has already helped me with my opensmtpd
records project.
Thanks,
Joshua
Hi,
On Tue, 5 Jul 2022 at 09:57, Ludovic Courtès wrote:
> I don’t take comments about unrelated things. ;-)
So one more. ;-)
> As someone who writes gexps and manipulates “file-like objects”, it
> doesn’t matter whether a thing lowers to a derivation or to a plain
> store item. What matters
Hi,
zimoun skribis:
> My comment was about an unrelated thing.
I don’t take comments about unrelated things. ;-)
> Well, I do not use every day G-exp nor ’plain-file’ and the like. The
> interface appears to me unexpected each time I use it but hey I can
> live with it. :-) However, the docu
Hi,
On Mon, 04 Jul 2022 at 22:13, Ludovic Courtès wrote:
> I explicitly made “,build” hide that difference; I thought one would
> just want “,build” to do the right thing and display the resulting store
> item regardless of that kind of detail.
>
> Conversely, “,lower” is for die-hard hackers an
Hello!
zimoun skribis:
> However, note that,
>
> scheme@(guix-user)> ,build (plain-file "foo" "bar")
> $1 = "/gnu/store/798sxvdgr0680czdggbls7rd3sfwk2yx-foo"
> scheme@(guix-user)> ,lower (plain-file "foo" "bar")
> $2 = "/gnu/store/798sxvdgr0680czdggbls7rd3sfwk2yx-foo"
>
>
> which is confusing, e
Hi,
If I read correctly, this snippet from the manual,
>> scheme@(guile-user)> ,run-in-store (package->derivation hello)
>> $1 = # ...>
becomes
scheme@(guile-user)> ,lower hello
and this snippet,
> scheme@(guix-user)> ,run-in-store (lower-object (plain-file "foo" "bar"))
> $15 =
Hi Maxime,
Maxime Devos skribis:
> Seems like we are missing a general & documented & simple to use
> 'lower-object-completely' (or maybe 'compile-object'?) procedure for
> this ... And maybe also a ,build-object REPL command?
How about the attached patch?
Sample session:
--8<---
Variants of this appear repeatedly on #guix every now and then,
and also sometimes unasked by me not posted anywhere.
How do I run compile a package, computed-file or more generally a
lowerable object from the REPL? Let's look in the manual:
> Note that the ‘(guix monad-repl)’ module extends the
11 matches
Mail list logo