Hi,
For more context, see:
https://issues.guix.gnu.org/issue/34651
Because Debbugs sunset, I’m closing this issue and open a fresh one on
Codeberg. See:
https://codeberg.org/guix/guix/issues/7084
On Mon, 25 Feb 2019 at 17:24, Björn Höfling <[email protected]>
wrote:
> I noticed that if you call "guix COMMAND" for some COMMANDs without any
> options given, they produce something which is not very useful to the
> user. I first noticed it with guix pack:
>
> When "guix pack" is run without any options, it builds an empty pack:
>
> $ guix pack
> /gnu/store/2ys9fn6h95209piqhyxli5pf2c4mp7zp-tarball-pack.tar.gz
> $ tar tzvf /gnu/store/2ys9fn6h95209piqhyxli5pf2c4mp7zp-tarball-pack.tar.gz
> drwxrwxr-t root/root 0 1970-01-01 01:00 ./gnu/store/
> dr-xr-xr-x root/root 0 1970-01-01 01:00
> ./gnu/store/w659mjmzwyhv62sd35y2pv5nrg5xkl7j-profile/
> dr-xr-xr-x root/root 0 1970-01-01 01:00
> ./gnu/store/w659mjmzwyhv62sd35y2pv5nrg5xkl7j-profile/etc/
> -r--r--r-- root/root 414 1970-01-01 01:00
> ./gnu/store/w659mjmzwyhv62sd35y2pv5nrg5xkl7j-profile/etc/profile
> -r--r--r-- root/root 37 1970-01-01 01:00
> ./gnu/store/w659mjmzwyhv62sd35y2pv5nrg5xkl7j-profile/manifest
>
> I think from a user perspective it would be better to print a help
> message and not build an empty pack.
>
> On the other hand, I tried out other guix commands and at least it is a
> consistent behaviour, they start with the default values, like "guix
> graph" outputs just an empty graph.
>
> "guix system" complains it needs a subcommand, which is a different
> case.
>
> But then again we have this complaint:
>
> guix system container
> guix system: error: wrong number of arguments for action 'container'
Running 7ee95d4, it’s still the case:
--8<---------------cut here---------------start------------->8---
$ guix pack
guix pack: warning: no packages specified; building an empty pack
substitute: looking for substitutes on 'https://ci.guix.gnu.org'... 100.0%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'...
0.0%guix substitute: warning: bordeaux.guix.gnu.org: connection failed:
Connection refused
substitute:
substitute: looking for substitutes on 'https://guix.bordeaux.inria.fr'...
100.0%
The following derivation will be built:
/gnu/store/kcxsl65z1jh8mhw3hsl2fmqbljpmvaf3--tarball-pack.tar.gz.drv
0.4 MB will be downloaded
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 0.0%
module-import-compiled 376KiB
531KiB/s 00:01 ▕██████████████████▏ 100.0%
building /gnu/store/kcxsl65z1jh8mhw3hsl2fmqbljpmvaf3--tarball-pack.tar.gz.drv...
/gnu/store/hwpfmxcs6fqkhrpqxh389796ri57hl9i--tarball-pack.tar.gz
--8<---------------cut here---------------end--------------->8---
Cheers,
simon