You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The NixOS core container build is currently failing during the Docker image build process with the following error:
error: path '/home/builder/sys-config/hardware-configuration.nix' does not exist
This occurs at step 14/25 of the Dockerfile when running nixos-setup.sh.
Context
From issue #330, user @senpro-ingwersenk reported this issue when testing the updated docker-nixos repository (version 25.05) on Raspberry Pi 5.
The build process attempts to use nix-build '<nixpkgs/nixos>' -A system -I nixos-config=configuration.nix but the configuration references a hardware-configuration.nix file that doesn't exist in the build context.
Problem
The NixOS core container build is currently failing during the Docker image build process with the following error:
This occurs at step 14/25 of the Dockerfile when running
nixos-setup.sh.Context
From issue #330, user @senpro-ingwersenk reported this issue when testing the updated docker-nixos repository (version 25.05) on Raspberry Pi 5.
The build process attempts to use
nix-build '<nixpkgs/nixos>' -A system -I nixos-config=configuration.nixbut the configuration references ahardware-configuration.nixfile that doesn't exist in the build context.Steps to Reproduce
export SKIFF_CONFIG=pi/5,core/nixosmake configure compilejournalctl -D ./skiff/journalExpected Behavior
The NixOS container should build successfully on first boot, providing a working NixOS environment.
Related Work
Potential Solutions
Priority
High - This is blocking users from using NixOS core containers on any platform.