Add support for Nix packages on macOS

This commit is contained in:
Alyssa Ross 2018-07-26 15:19:03 +01:00
parent 2afc5a27af
commit 2cc7b84189
No known key found for this signature in database
GPG Key ID: C4844408C0657052
1 changed files with 4 additions and 3 deletions

View File

@ -1309,9 +1309,10 @@ get_packages() {
;; ;;
"Mac OS X" | "MINIX") "Mac OS X" | "MINIX")
has "port" && tot port installed && ((packages-=1)) has "port" && tot port installed && ((packages-=1))
has "brew" && dir /usr/local/Cellar/* has "brew" && dir /usr/local/Cellar/*
has "pkgin" && tot pkgin list has "pkgin" && tot pkgin list
has "nix-env" && dir /nix/store/*/
;; ;;
"AIX"| "FreeMiNT") "AIX"| "FreeMiNT")