Skip to content

Commit

Permalink
[PR] dylanaraps/neofetch#2021 from arjanadriaanse - packages: Improve…
Browse files Browse the repository at this point in the history
… detection for guix.

Upstream PR: dylanaraps/neofetch#2021
Thanks to @arjanadriaanse

Co-authored-by: Arjan Adriaanse <arjan@adriaan.se>
  • Loading branch information
hykilpikonna and arjanadriaanse committed Jul 31, 2022
2 parents 4e64260 + 58509bf commit 312db60
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion neofetch
Original file line number Diff line number Diff line change
Expand Up @@ -1635,8 +1635,9 @@ get_packages() {
has kpm-pkg && ((packages+=$(kpm --get-selections | grep -cv deinstall$)))

has guix && {
manager=guix-system && tot guix package -p "/run/current-system/profile" -I
manager=guix-system && tot guix package -p /run/current-system/profile -I
manager=guix-user && tot guix package -I
manager=guix-home && tot guix package -p ~/.guix-home/profile -I
}

has nix-store && {
Expand Down

0 comments on commit 312db60

Please sign in to comment.