|
| 1 | +#!/bin/bash |
| 2 | + |
| 3 | +# Source Nix environment |
| 4 | +. /home/vscode/.nix-profile/etc/profile.d/nix.sh |
| 5 | + |
| 6 | +# Verify Nix is available |
| 7 | +if ! command -v nix &>/dev/null; then |
| 8 | + echo "Error: Nix is not installed properly" |
| 9 | + exit 1 |
| 10 | +fi |
| 11 | + |
| 12 | +echo "✅ Nix is installed and available" |
| 13 | +echo "" |
| 14 | +echo "📦 claudecode.nvim Development Container Ready!" |
| 15 | +echo "" |
| 16 | +echo "To enter the development shell with all dependencies, run:" |
| 17 | +echo " nix develop" |
| 18 | +echo "" |
| 19 | +echo "This will provide:" |
| 20 | +echo " - Neovim" |
| 21 | +echo " - Lua and LuaJIT" |
| 22 | +echo " - busted (test framework)" |
| 23 | +echo " - luacheck (linter)" |
| 24 | +echo " - stylua (formatter)" |
| 25 | +echo " - All other development tools" |
| 26 | +echo "" |
| 27 | +echo "You can also run development commands directly:" |
| 28 | +echo " - make # Run full validation (format, lint, test)" |
| 29 | +echo " - make test # Run tests" |
| 30 | +echo " - make check # Run linter" |
| 31 | +echo " - make format # Format code" |
0 commit comments