aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDylan Araps <dylan.araps@gmail.com>2019-09-28 12:57:23 +0300
committerDylan Araps <dylan.araps@gmail.com>2019-09-28 12:57:23 +0300
commit090fe64dece21dd49c309e29c46327c723a3d202 (patch)
tree0b78c11b2e844c53b61f3fcdb418b66a735e1267
parentfddfe5435c46c80c878e53eca1fcbadb90775d33 (diff)
downloadpfetch-090fe64dece21dd49c309e29c46327c723a3d202.tar.gz
guix: simpler package list
-rwxr-xr-xpfetch7
1 files changed, 1 insertions, 6 deletions
diff --git a/pfetch b/pfetch
index 1030158..cca642d 100755
--- a/pfetch
+++ b/pfetch
@@ -406,18 +406,13 @@ get_pkgs() {
has rpm && rpm -qa
has xbps-query && xbps-query -l
has apk && apk info
+ has guix && guix package --list-installed
# Directories containing packages.
has brew && printf '%s\n' "$(brew --cellar)/"*
has emerge && printf '%s\n' /var/db/pkg/*/*/
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.
has nix-store && {
nix-store -q --requisites /run/current-system/sw