mirror of
https://github.com/dylanaraps/neofetch.git
synced 2026-01-05 22:59:06 +00:00
packages: Count nix-default. Closes #1317
This commit is contained in:
5
neofetch
5
neofetch
@@ -1459,8 +1459,9 @@ get_packages() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
has nix-store && {
|
has nix-store && {
|
||||||
manager=nix-system && tot nix-store -q --requisites "/run/current-system/sw"
|
manager=nix-system && tot nix-store -q --requisites /run/current-system/sw
|
||||||
manager=nix-user && tot nix-store -q --requisites "$HOME/.nix-profile"
|
manager=nix-user && tot nix-store -q --requisites ~/.nix-profile
|
||||||
|
manager=nix-default && tot nix-store -q --requisites /nix/var/nix/profiles/default
|
||||||
}
|
}
|
||||||
|
|
||||||
# pkginfo is also the name of a python package manager which is painfully slow.
|
# pkginfo is also the name of a python package manager which is painfully slow.
|
||||||
|
|||||||
Reference in New Issue
Block a user