guix: simpler package list
This commit is contained in:
parent
fddfe5435c
commit
090fe64dec
7
pfetch
7
pfetch
|
@ -406,18 +406,13 @@ get_pkgs() {
|
||||||
has rpm && rpm -qa
|
has rpm && rpm -qa
|
||||||
has xbps-query && xbps-query -l
|
has xbps-query && xbps-query -l
|
||||||
has apk && apk info
|
has apk && apk info
|
||||||
|
has guix && guix package --list-installed
|
||||||
|
|
||||||
# Directories containing packages.
|
# Directories containing packages.
|
||||||
has brew && printf '%s\n' "$(brew --cellar)/"*
|
has brew && printf '%s\n' "$(brew --cellar)/"*
|
||||||
has emerge && printf '%s\n' /var/db/pkg/*/*/
|
has emerge && printf '%s\n' /var/db/pkg/*/*/
|
||||||
has pkgtool && printf '%s\n' /var/log/packages/*
|
has pkgtool && printf '%s\n' /var/log/packages/*
|
||||||
|
|
||||||
# GUIX requires two commands.
|
|
||||||
has guix && {
|
|
||||||
guix package -p /run/current-system/profile -I
|
|
||||||
guix package -I
|
|
||||||
}
|
|
||||||
|
|
||||||
# NIX requires two commands.
|
# NIX requires two commands.
|
||||||
has nix-store && {
|
has nix-store && {
|
||||||
nix-store -q --requisites /run/current-system/sw
|
nix-store -q --requisites /run/current-system/sw
|
||||||
|
|
Loading…
Reference in New Issue
Block a user