Re: Does define-command automatically add the subcommand to the guix CLI?

2022-11-16 Thread zimoun
Hi, On Tue, 15 Nov 2022 at 16:42, "(" wrote: > On Tue Nov 15, 2022 at 3:15 PM GMT, Ricardo Wurmus wrote: >> No, you need to set GUIX_EXTENSIONS_PATH. > > You don't need to anymore, because of commit bbc1735, no? Assuming the extension is installed, no? If the extension is a package and

Re: Does define-command automatically add the subcommand to the guix CLI?

2022-11-16 Thread zimoun
Hi, On Tue, 15 Nov 2022 at 13:04, jgart wrote: > On Tue, 15 Nov 2022 18:08:23 + "(" wrote: >> Heya, >> >> On Tue Nov 15, 2022 at 6:05 PM GMT, jgart wrote: >> it installs the extension code to #$output/share/guix/extensions. When it's >> installed that directory should be added to

Re: Does define-command automatically add the subcommand to the guix CLI?

2022-11-15 Thread jgart
On Tue, 15 Nov 2022 18:08:23 + "(" wrote: > Heya, > > On Tue Nov 15, 2022 at 6:05 PM GMT, jgart wrote: > it installs the extension code to #$output/share/guix/extensions. When it's > installed that directory should be added to GUIX_EXTENSIONS_PATH > automatically. There's no examples

Re: Does define-command automatically add the subcommand to the guix CLI?

2022-11-15 Thread (
Heya, On Tue Nov 15, 2022 at 6:05 PM GMT, jgart wrote: > On Tue, 15 Nov 2022 16:42:29 + "(" wrote: > Does bbc1735 work on foreign distros also or ¯\_(ツ)_/¯? I think so. What you need to do is package up your extension, and make sure it installs the extension code to

Re: Does define-command automatically add the subcommand to the guix CLI?

2022-11-15 Thread jgart
On Tue, 15 Nov 2022 16:42:29 + "(" wrote: > You don't need to anymore, because of commit bbc1735, no? hi paren, Does bbc1735 work on foreign distros also or ¯\_(ツ)_/¯?

Re: Does define-command automatically add the subcommand to the guix CLI?

2022-11-15 Thread (
On Tue Nov 15, 2022 at 3:15 PM GMT, Ricardo Wurmus wrote: > No, you need to set GUIX_EXTENSIONS_PATH. You don't need to anymore, because of commit bbc1735, no? -- (

Re: Does define-command automatically add the subcommand to the guix CLI?

2022-11-15 Thread Ricardo Wurmus
jgart writes: > Does define-command automagically add the subcommand to the guix CLI? > > For example, guix-format: > > https://github.com/bqv/rc/blob/live/guix/scripts/format.scm#L21 No, you need to set GUIX_EXTENSIONS_PATH. -- Ricardo

Does define-command automatically add the subcommand to the guix CLI?

2022-11-15 Thread jgart
hi, Does define-command automagically add the subcommand to the guix CLI? For example, guix-format: https://github.com/bqv/rc/blob/live/guix/scripts/format.scm#L21