mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-10-04 17:09:21 +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 && {
|
||||
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-system && tot nix-store -q --requisites /run/current-system/sw
|
||||
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.
|
||||
|
Reference in New Issue
Block a user