packages: Improve detection for guix.

This commit is contained in:
Arjan Adriaanse 2022-01-02 15:06:24 +01:00
parent ccd5d9f526
commit 58509bf20b
No known key found for this signature in database
GPG key ID: BEA76A8D4DE08DF4

View file

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