From 090fe64dece21dd49c309e29c46327c723a3d202 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sat, 28 Sep 2019 12:57:23 +0300 Subject: [PATCH] guix: simpler package list --- pfetch | 7 +------ 1 file changed, 1 insertion(+), 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