Commit d4cba42d authored by Vitaly Lipatov's avatar Vitaly Lipatov

distr_info: add NixOS support

parent f16c329d
...@@ -189,6 +189,9 @@ case $DISTRIB_ID in ...@@ -189,6 +189,9 @@ case $DISTRIB_ID in
GNU/Linux/Guix) GNU/Linux/Guix)
CMD="guix" CMD="guix"
;; ;;
NixOS)
CMD="nix"
;;
Android) Android)
CMD="android" CMD="android"
# TODO: CMD="termux-pkg" # TODO: CMD="termux-pkg"
...@@ -224,7 +227,7 @@ case $DISTRIB_ID in ...@@ -224,7 +227,7 @@ case $DISTRIB_ID in
is_command "apt-get" && echo "apt-dpkg" && return is_command "apt-get" && echo "apt-dpkg" && return
fi fi
echo "We don't support yet DISTRIB_ID $DISTRIB_ID" >&2 echo "pkgmanager(): We don't support yet DISTRIB_ID $DISTRIB_ID" >&2
;; ;;
esac esac
echo "$CMD" echo "$CMD"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment