[PR] dylanaraps/neofetch#2021 from arjanadriaanse - packages: Improve detection for guix.
Upstream PR: https://github.com/dylanaraps/neofetch/pull/2021 Thanks to @arjanadriaanse Co-authored-by: Arjan Adriaanse <arjan@adriaan.se>
This commit is contained in:
@@ -1635,8 +1635,9 @@ get_packages() {
|
|||||||
has kpm-pkg && ((packages+=$(kpm --get-selections | grep -cv deinstall$)))
|
has kpm-pkg && ((packages+=$(kpm --get-selections | grep -cv deinstall$)))
|
||||||
|
|
||||||
has guix && {
|
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-user && tot guix package -I
|
||||||
|
manager=guix-home && tot guix package -p ~/.guix-home/profile -I
|
||||||
}
|
}
|
||||||
|
|
||||||
has nix-store && {
|
has nix-store && {
|
||||||
|
|||||||
Reference in New Issue
Block a user