We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9bde04d commit b1e98acCopy full SHA for b1e98ac
.devcontainer/first-run-setup.sh
@@ -98,7 +98,7 @@ fi
98
99
echo "Installing Nix..."
100
# Check if Nix is already installed
101
-if [ -e "/nix" ]; then
+if command -v nix >/dev/null 2>&1; then
102
echo "Nix already installed. Skipping..."
103
else
104
# Install Nix
@@ -186,4 +186,4 @@ fi
186
echo "Installing asdf plugins and packages..."
187
# Install asdf plugins and packages from .tool-versions file
188
ln -sf "$HOME/.codespaces/.tool-versions" "$HOME/.tool-versions"
189
-cut -d ' ' -f1 "$HOME/.tool-versions" | xargs -I {} sh -c 'echo "Installing {}..."; asdf plugin add {} && asdf install {}'
+cut -d ' ' -f1 "$HOME/.tool-versions" | xargs -I {} sh -c 'echo "Installing {}..."; asdf plugin add {} && asdf install {}'
0 commit comments