error: attribute 'buildDTBs' missing
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 48/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Tranquilo
- Área
- operating-systems
Línea de trabajo
Start by reproducing the reported nixos-rebuild switch --flake . failure with --show-trace, then inspect nixos/modules/hardware/device-tree.nix around line 126 and compare the referenced nixpkgs commit with the working revision. Done means the snowflake configuration evaluates and builds successfully without the missing buildDTBs error.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Looks like https://github.com/NixOS/nixpkgs/commit/31d1d80b3fb5ca92da5836376cae81fa523da428 introduces a change that breaks kernel-related stuff in snowflake lib
[user@snowflakeos:/etc/nixos]$ sudo nixos-rebuild switch --flake .
evaluation warning: fold has been deprecated, use foldr instead
building the system configuration...
evaluation warning: fold has been deprecated, use foldr instead
error:
… while calling the 'head' builtin
at «github:nixos/nixpkgs/753cc8a3a87467296ddd1fa93f0cc3e81120ee46?narHash=sha256-KesHgItiZPgGX740axSiQLcIQ8D24MDqNpkKYWIek8k%3D»/lib/attrsets.nix:1719:13:
1718| if length values == 1 || pred here (elemAt values 1) (head values) then
1719| head values
| ^
1720| else
… while evaluating the attribute 'value'
at «github:nixos/nixpkgs/753cc8a3a87467296ddd1fa93f0cc3e81120ee46?narHash=sha256-KesHgItiZPgGX740axSiQLcIQ8D24MDqNpkKYWIek8k%3D»/lib/modules.nix:1149:7:
1148| // {
1149| value = addErrorContext "while evaluating the option `${showOption loc}':" value;
| ^
1150| inherit (res.defsFinal') highestPrio;
… while evaluating the option `system.build.toplevel':
… while evaluating definitions from `/nix/store/7hlsbdxjq2mgczhlipabzn52sarzx0yd-source/nixos/modules/system/activation/top-level.nix':
… while evaluating the option `assertions':
… while evaluating definitions from `/nix/store/7hlsbdxjq2mgczhlipabzn52sarzx0yd-source/nixos/modules/hardware/device-tree.nix':
… while evaluating the option `hardware.deviceTree.enable':
(stack trace truncated; use '--show-trace' to show the full, detailed trace)
error: attribute 'buildDTBs' missing
at «github:nixos/nixpkgs/753cc8a3a87467296ddd1fa93f0cc3e81120ee46?narHash=sha256-KesHgItiZPgGX740axSiQLcIQ8D24MDqNpkKYWIek8k%3D»/nixos/modules/hardware/device-tree.nix:126:19:
125| enable = lib.mkOption {
126| default = config.boot.kernelPackages.kernel.buildDTBs;
| ^
127| defaultText = lib.literalExpression "config.boot.kernelPackages.kernel.buildDTBs";
Command 'nix --extra-experimental-features 'nix-command flakes' build --print-out-paths '.#nixosConfigurations."snowflakeos".config.system.build.toplevel' --no-link' returned non-zero exit status 1.
- Lenguaje dominante
- Nix
- Estrellas
- 627
- Forks
- 65
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
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 snowfallorg/lib
-
Documentation: `/homes/${system}/${user}` vs `/homes/${system}/${user}@${host}` capabilitiesAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
snowfallorg/lib#159 · 3 reacciones ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
snowfallorg/lib#192 · 3 reacciones ·
-
`_modules.args` is not respectedAbierto
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
snowfallorg/lib#188 · 1 comentario ·
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
snowfallorg/lib#186 ·
-
nixos-generators is deprecatedAbierto
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
snowfallorg/lib#185 · 5 comentarios ·
Todos los issues de snowfallorg/lib
Issues similares
-
backport 1.14 GC
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
Los mantenedores suelen responder en 1 día
-
hadron: run0 always fails with status 224/PAM, because the image ships no /etc/pam.d/systemd-run0Abiertoarea/hadron bug chore
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 62/100
coreos/fedora-coreos-tracker#2251 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
Assignment of a signed value 'str' to a bigger unsigned variable 'ucs4' at /Objects/unicodeobject.cPosiblemente ocupada @divya-git03 la tomó hoy. Abiertointerpreter-core type-bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
python/cpython#161429 · 3 comentarios ·
Los mantenedores suelen responder en 1 día