From 2cc7b84189a8e49c75a032c0a62fc2b16c135de4 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Thu, 26 Jul 2018 15:19:03 +0100 Subject: [PATCH] Add support for Nix packages on macOS --- neofetch | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/neofetch b/neofetch index 3ae85ee0..ea0ba8b0 100755 --- a/neofetch +++ b/neofetch @@ -1309,9 +1309,10 @@ get_packages() { ;; "Mac OS X" | "MINIX") - has "port" && tot port installed && ((packages-=1)) - has "brew" && dir /usr/local/Cellar/* - has "pkgin" && tot pkgin list + has "port" && tot port installed && ((packages-=1)) + has "brew" && dir /usr/local/Cellar/* + has "pkgin" && tot pkgin list + has "nix-env" && dir /nix/store/*/ ;; "AIX"| "FreeMiNT")