Pārlūkot izejas kodu

packages: Improve detection for guix.

Arjan Adriaanse 3 gadi atpakaļ
vecāks
revīzija
58509bf20b
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. 2 1
      neofetch

+ 2 - 1
neofetch

@@ -1600,8 +1600,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 && {