wdyt if we show the bin folder in `guix show` output like in fedora? $ guix show sbase name: sbase version: 0-0.2c2a7f5 outputs: + out: everything bin: + cols ed head md5sum paste sed sleep tftp unlink basename + comm env hostname mkdir pathchk seq sort time uudecode cal cp + expand install mkfifo printenv setsid split touch uuencode cat + cron expr join mknod printf sha1sum sponge tr wc chgrp cut + false kill mktemp pwd sha224sum strings true which chmod date + find link mv readlink sha256sum sync tsort whoami chown dd + flock ln nice renice sha384sum tail tty xargs chroot dirname + fold logger nl rev sha512 224sum tar uname yes cksum du + getconf logname nohup rm sha512 256sum tee unexpand cmp echo + grep ls od rmdir sha512sum test uniq systems: x86_64-linux i686-linux dependencies: location: gnu/packages/suckless.scm:1022:4 homepage: https://core.suckless.org/sbase/ license: Expat synopsis: Collection of UNIX tools description: `sbase' is a collection of UNIX tools similar to those of GNU Coreutils, containing utilities + commands such as `grep', `cp', `rm', etc.
[-- Attachment #1: Type: text/plain, Size: 209 bytes --] jgart <jgart@dismail.de> writes: > wdyt if we show the bin folder in `guix show` output like in fedora? How would you implement that? Would the guix show command build the package if it isn't in the store? [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 987 bytes --]
Hi, On Mon, 21 Nov 2022 at 08:56, Christopher Baines <mail@cbaines.net> wrote: > jgart <jgart@dismail.de> writes: > >> wdyt if we show the bin folder in `guix show` output like in fedora? > > How would you implement that? Would the guix show command build the > package if it isn't in the store? In addition to Chris’s comment, please give a look at the “guix filesearch” old proposal [1]. Be able to list the executable binary files by “guix show” requires to get the list from the substitute servers, so they need to somehow expose new features. 1: <https://lists.gnu.org/archive/html/guix-devel/2019-03/msg00236.html> Cheers, simon
Hi, jgart <jgart@dismail.de> skribis: > wdyt if we show the bin folder in `guix show` output like in fedora? It’s not possible because the list of binaries is not known until the package has been built. However, a worthy avenue is a tool and/or service to search for packages that provide a given file or program: https://lists.gnu.org/archive/html/guix-devel/2022-01/msg00354.html Ludo’.