summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/packages.sh3
-rw-r--r--modules/30-rust/install.sh2
2 files changed, 5 insertions, 0 deletions
diff --git a/lib/packages.sh b/lib/packages.sh
index 05fac0a..f5d4ae5 100644
--- a/lib/packages.sh
+++ b/lib/packages.sh
@@ -3,6 +3,9 @@ function packages::install() {
"archlinux")
sudo pacman -S --needed $@
;;
+ "debian")
+ sudo apt install $@
+ ;;
*)
echo "Unknown distro, cannot install packages"
;;
diff --git a/modules/30-rust/install.sh b/modules/30-rust/install.sh
index 76df8df..0c15c51 100644
--- a/modules/30-rust/install.sh
+++ b/modules/30-rust/install.sh
@@ -13,4 +13,6 @@ function preinstall() {
function install() {
log info "installing stable rust"
rustup install stable
+ log info "installing nightly rust"
+ rustup install nightly
}