docs: add critical warning about nix-env usage

- Add warning to never run nix-env as it can break Nix environments
- Include recommended alternatives (nix-shell, nix develop)
This commit is contained in:
2025-09-15 22:22:10 +02:00
parent 6f0193f411
commit 2b797b400c

View File

@@ -54,3 +54,7 @@ This file provides guidelines for AI coding agents operating within this reposit
- Document complex logic with comments - Document complex logic with comments
- Test locally before cloud deployment - Test locally before cloud deployment
- Maintain feature parity between USB/VM environments where possible - Maintain feature parity between USB/VM environments where possible
## ⚠️ Critical Warnings
- **NEVER RUN `nix-env`** - This can break your Nix environment. Use `nix-shell`, `nix develop`, or declarative approaches instead.