packages: Count nix-default. Closes #1317

This commit is contained in:
Dylan Araps 2020-01-23 01:47:14 +02:00
parent 6ae64c5990
commit 7fdaed2f94
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
1 changed files with 3 additions and 2 deletions

View File

@ -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.