Re: IWBC guix derivation pretty printer

2022-11-02 Thread zimoun
Hi, On ven., 28 oct. 2022 at 13:58, jgart 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

Re: IWBC guix derivation pretty printer

2022-11-02 Thread Ludovic Courtès
Hi, jgart 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, hype

Re: IWBC guix derivation pretty printer

2022-10-28 Thread jgart
On Fri, 28 Oct 2022 15:10:26 -0400 Jack Hill 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

Re: IWBC guix derivation pretty printer

2022-10-28 Thread Jack Hill
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 t

IWBC guix derivation pretty printer

2022-10-28 Thread jgart
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...