Bash tool breaks on NixOS with version >=1.0.49
- Lenguaje dominante
- Shell
- Estrellas
- 11.2k
- Forks
- 1.9k
- Merge medio
- 14 h 16 min
- PR fusionados (30 d)
- 6
Descripción
### Describe the bug
Bash tool breaks on NixOS when updated to version >=1.0.49 (also present on 1.0.50). When the agent tries to run any command, it errors with:
```
```
Running copilot-cli with strace -f gives the following output:
```
[pid 2803] execve("/bin/bash", ["/bin/bash", "--norc", "--noprofile"], 0x5480bd70 /* 75 vars */
```
This seems to be the only relevant syscall related to the tool call.
NixOS does not have `/bin/bash`, only `/bin/sh`.
### Affected version
GitHub Copilot CLI 1.0.50.
### Steps to reproduce the behavior
1. Start a session, tell the agent to run anything in a shell.
### Expected behavior
1. The command gets executed.
### Additional context
_No response_
Guía de contribución
Línea de trabajo
Reproduce el fallo en NixOS iniciando una sesión y pidiendo al agente que ejecute un comando de shell; después, inspecciona el punto de entrada de lanzamiento de procesos de la herramienta Bash. Usa la llamada execve de strace informada como pista inicial; se considera terminado cuando los comandos de shell se ejecutan correctamente en las versiones 1.0.49 y posteriores de NixOS sin que se produzca el fallo por la ausencia de /bin/bash.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- bash, nixos
- Área
- cli, operating-systems
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Tranquilo
- Claridad
- Bastante claro
- Aptitud para principiantes
- 58/100