GNU bug report logs -
#56428
[PATCH] home: Add -I, --list-installed option.
Previous Next
Reported by: Antero Mejr <antero <at> mailbox.org>
Date: Wed, 6 Jul 2022 19:15:01 UTC
Severity: normal
Tags: patch
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #31 received at 56428 <at> debbugs.gnu.org (full text, mbox):
Andrew Tropin <andrew <at> trop.in> writes:
> -I --list-installed works great, thank you. Just a thought for future:
> Maybe it would be useful to have another option to list all the packages
> in profile, including propagated.
Not sure I fully understand.
For example, if a profile's package "foo" has input "bar" and
propagated-input "baz":
- would you want both "bar" and "baz" listed?
- would you want to know the relationships between the packages?
Could this could be done with 'guix graph' by adding an ascii backend,
like this:
guix graph --backend=ascii -t references $(readlink -f \
~/.guix-home/profile)
to get this:
+------------+-------+-----------------+------+
| package |parent |type |etc...|
+------------+-------+-----------------+------+
| foo |profile|parent | |
+------------+-------+-----------------+------+
| bar |foo |input | |
+------------+-------+-----------------+------+
| baz |foo |propagated-input | |
+------------+-------+-----------------+------+
or this:
foo
├── bar (input)
└── baz (propagated-input)
Maybe a 'guix sbom' subcommand, for "Software Bill of Materials", would
be better for displaying lists like this. Having an SBOM exporter would
make Guix great for regulated applications like medical device software.
This bug report was last modified 2 years and 286 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.