[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:
commit
312db60001
1 changed files with 2 additions and 1 deletions
3
neofetch
3
neofetch
|
@ -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 && {
|
||||||
|
|
Loading…
Reference in a new issue