From 7fdaed2f946c4e22a03389477f4a41761cace46e Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Thu, 23 Jan 2020 01:47:14 +0200 Subject: [PATCH] packages: Count nix-default. Closes #1317 --- neofetch | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/neofetch b/neofetch index cc17c58b..d2937d70 100755 --- a/neofetch +++ b/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.