Merge pull request #1062 from alyssais/mac_nix

Add support for Nix packages on macOS
This commit is contained in:
M. Herdiansyah 2018-07-27 10:23:38 +07:00 committed by GitHub
commit 085bba208a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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")