Browse Source

[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>
Azalea (on HyDEV-Daisy) 3 years ago
parent
commit
312db60001
1 changed files with 2 additions and 1 deletions
  1. 2 1
      neofetch

+ 2 - 1
neofetch

@@ -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 && {