From ca041b9a4844a82434d8940b4c2cce9403059891 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Eug=C3=AAnio?= Date: Mon, 24 Apr 2023 12:16:47 -0300 Subject: [PATCH] rust: remove rustup --- user/fish/default.nix | 6 ++++-- user/home.nix | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/user/fish/default.nix b/user/fish/default.nix index ca88feb..e51d9f0 100644 --- a/user/fish/default.nix +++ b/user/fish/default.nix @@ -16,8 +16,10 @@ in { if not test -f "$HOME/.ssh/id_rsa" echo "SSH keys not yet setup" end - if not command -qs rustc; or not rustc --version &> /dev/null - rustup default stable &>/dev/null & + if command -qs rustup &> /dev/null + if not command -qs rustc; or not rustc --version &> /dev/null + rustup default stable &>/dev/null & + end end set_color normal diff --git a/user/home.nix b/user/home.nix index ff3ba51..5e13377 100644 --- a/user/home.nix +++ b/user/home.nix @@ -102,7 +102,7 @@ ## Programming vscode - rustup + # rustup docker-compose gnumake