`devbox shell` command fails on x86_64-darwin: "nixpkgs 26.11 has dropped support for x86_64-darwin"
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 48/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- shell
- Área
- build-system, tooling
Línea de trabajo
Start by tracing how Devbox selects the nixpkgs revision used to generate .devbox/gen/flake/flake.nix for the x86_64-darwin system; the issue provides that generated file and a working nixpkgs-26.05-darwin commit as references. Check the relevant tests for platform-specific revision selection, then verify that devbox shell succeeds on Intel macOS without a manual nixpkgs.commit pin.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
What happened?
On x86_64-darwin, devbox shell fails in both existing projects and newly initialized ones. It fails even when packages is empty, so Devbox is currently unusable on this platform.
devbox shell
Info: Ensuring packages are installed.
✓ Computed the Devbox environment.
Error: nix: command error: nix --extra-experimental-features ca-derivations --option experimental-features 'nix-command flakes fetch-closure' print-dev-env --json path:~/ws/nix-fix-x86darwin/.devbox/gen/flake: Nixpkgs 26.11 has dropped support for x86_64-darwin.: exit code 1
The generated .devbox/gen/flake/flake.nix pins a nixpkgs revision from the
26.11 line, which no longer supports this platform:
{
description = "A devbox shell";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/38a4887411571457d700c51c64a6e49ead2ed5ab?narHash=sha256-kh35kIx7el4Jk8Ki3BH9%2FPn1eZYSYLJ6LMALos0zOy0%3D";
};
outputs = {
self,
nixpkgs,
}:
let
pkgs = nixpkgs.legacyPackages.x86_64-darwin;
in
{
devShells.x86_64-darwin.default = pkgs.mkShell {
buildInputs = [
];
};
};
}
As a local workaround, adding "nixpkgs.commit": "329c3d2af6d1b618705150ea39f72c15eb4e613e" that indicates current nixpkgs-26.05-darwin branch to the devbox.json.
{
"$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.17.5/.schema/devbox.schema.json",
"packages": [],
"shell": {
"init_hook": [
"echo 'Welcome to devbox!' > /dev/null"
],
"scripts": {
"test": [
"echo \"Error: no test specified\" && exit 1"
]
}
+ },
+ "nixpkgs": {
+ "commit": "329c3d2af6d1b618705150ea39f72c15eb4e613e"
}
}
.devbox/gen/flake/flake.nix generated from the devbox.json above
{
description = "A devbox shell";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/329c3d2af6d1b618705150ea39f72c15eb4e613e";
};
outputs = {
self,
nixpkgs,
}:
let
pkgs = nixpkgs.legacyPackages.x86_64-darwin;
in
{
devShells.x86_64-darwin.default = pkgs.mkShell {
buildInputs = [
];
};
};
}
Could Devbox select a nixpkgs-26.05-darwin revision for x86_64-darwin, so that existing projects keep working without each user pinning nixpkgs.commit by hand?
Nixpkgs 26.05 is supported until the end of 2026, so this would cover the remaining lifetime of the platform.
Steps to reproduce
devbox initonx86_64-darwinsystem.devbox shell
Command
shell
devbox.json
Devbox version
0.17.5
Nix version
No response
What system does this bug occur on?
macOS (Intel)
Debug logs
No response
- Lenguaje dominante
- Go
- Estrellas
- 12.4k
- Forks
- 358
- Merge medio
- 17 h 12 min
- PR fusionados (30 d)
- 31
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de jetify-com/devbox
-
feature triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
jetify-com/devbox#3038 ·
Los mantenedores suelen responder en 1 día
-
pulumi is outdatedAbiertobug p4 package processed triage unrelated
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
jetify-com/devbox#2898 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
p4 processed unrelated
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
jetify-com/devbox#2750 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
StorydenAbiertop4 package processed triage unrelated
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
jetify-com/devbox#2685 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
[Plugin Request]: apacheKafkaAbiertolooks easy p4 package processed triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 60/100
jetify-com/devbox#2656 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de jetify-com/devbox
Issues similares
-
Add an MCP server: imageatAbiertoneeds-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
stacklok/toolhive-catalog#1890 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
integrations/terraform-provider-github#3719 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Wayfinder sample agents don't reach the Data Plane on the quickstart packPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. AbiertoType/Bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
thunder-id/thunderid#6402 ·
Los mantenedores suelen responder en 1 día
-
GoStratumEngineAbiertoaddition
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100
awesome-selfhosted/awesome-selfhosted-data#3290 ·
Los mantenedores suelen responder en 1 día
-
log4j2.xml from orchestration.extraConfiguration is rendered twice, and the install fails when orchestration.log4j2 is also setPosiblemente ocupada @irisfield la tomó hoy. Abiertoplatform/local
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
camunda/camunda-platform-helm#7854 ·
Los mantenedores suelen responder en 1 día