unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* IWBC guix derivation pretty printer
@ 2022-10-28 18:58 jgart
  2022-10-28 19:10 ` Jack Hill
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: jgart @ 2022-10-28 18:58 UTC (permalink / raw)
  To: Guix Devel

IWBC if we have a guix derivation pretty printer built into the Guix CLI itself.

WDYT?

I remember that nckx had one in bash but I can't seem to find it now in in log ocean...


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

* Re: IWBC guix derivation pretty printer
  2022-10-28 18:58 IWBC guix derivation pretty printer jgart
@ 2022-10-28 19:10 ` Jack Hill
  2022-10-28 21:56   ` jgart
  2022-11-02 11:09 ` Ludovic Courtès
  2022-11-02 11:59 ` zimoun
  2 siblings, 1 reply; 5+ messages in thread
From: Jack Hill @ 2022-10-28 19:10 UTC (permalink / raw)
  To: jgart; +Cc: Guix Devel

On Fri, 28 Oct 2022, jgart wrote:

> IWBC if we have a guix derivation pretty printer built into the Guix CLI itself.
>
> WDYT?

Yes, I would welcome such an addition.

> I remember that nckx had one in bash but I can't seem to find it now in in log ocean...

I've also used emacs-semantic-refactor to pretty-print derivations.

Best,
Jack


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

* Re: IWBC guix derivation pretty printer
  2022-10-28 19:10 ` Jack Hill
@ 2022-10-28 21:56   ` jgart
  0 siblings, 0 replies; 5+ messages in thread
From: jgart @ 2022-10-28 21:56 UTC (permalink / raw)
  To: Jack Hill; +Cc: Guix Devel

On Fri, 28 Oct 2022 15:10:26 -0400 Jack Hill <jackhill@jackhill.us> wrote:
> I've also used emacs-semantic-refactor to pretty-print derivations.

Hi, which function do you run to do that?

https://github.com/tuhdo/semantic-refactor/blob/master/srefactor-lisp.el#L293


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

* Re: IWBC guix derivation pretty printer
  2022-10-28 18:58 IWBC guix derivation pretty printer jgart
  2022-10-28 19:10 ` Jack Hill
@ 2022-11-02 11:09 ` Ludovic Courtès
  2022-11-02 11:59 ` zimoun
  2 siblings, 0 replies; 5+ messages in thread
From: Ludovic Courtès @ 2022-11-02 11:09 UTC (permalink / raw)
  To: jgart; +Cc: Guix Devel

Hi,

jgart <jgart@dismail.de> skribis:

> IWBC if we have a guix derivation pretty printer built into the Guix CLI itself.
>
> WDYT?

Would be nice and a rather low-hanging fruit.

Those who use Emacs can enjoy Emacs-Guix: opening a .drv file in there
brings syntax highlighting, reformatting for readability, hyperlinks,
etc.  Super handy!

Ludo’.


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

* Re: IWBC guix derivation pretty printer
  2022-10-28 18:58 IWBC guix derivation pretty printer jgart
  2022-10-28 19:10 ` Jack Hill
  2022-11-02 11:09 ` Ludovic Courtès
@ 2022-11-02 11:59 ` zimoun
  2 siblings, 0 replies; 5+ messages in thread
From: zimoun @ 2022-11-02 11:59 UTC (permalink / raw)
  To: jgart, Guix Devel

Hi,

On ven., 28 oct. 2022 at 13:58, jgart <jgart@dismail.de> wrote:
> IWBC if we have a guix derivation pretty printer built into the Guix CLI itself.

There is an Emacs mode from the package emacs-guix.  Indeed, it could be
nice to have a pretty printer for derivation.


Cheers,
simon


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

end of thread, other threads:[~2022-11-02 13:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-28 18:58 IWBC guix derivation pretty printer jgart
2022-10-28 19:10 ` Jack Hill
2022-10-28 21:56   ` jgart
2022-11-02 11:09 ` Ludovic Courtès
2022-11-02 11:59 ` zimoun

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