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

@@ -50,7 +50,11 @@ This file provides guidelines for AI coding agents operating within this reposit
## General Guidelines ## General Guidelines
- Keep code concise and readable - Keep code concise and readable
- Prefer declarative over imperative approaches - Prefer declarative over imperative approaches
- 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.