-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rebuilding NixOS on Raspberry Pi 4 fails after commit 4014fb6 #155925
Comments
I think the problem is that the new type causes multiple definitions to be merged (concatenated as strings), and since you're probably generating an SD image your config has Now I wonder why this succeeded before this commit. EDIT: it's because |
Correct, my configuration.nix has: |
Legacy types.attrs has really bad merging behavior and does not support priorities. f build
As @ncfavier correctly pointed out: The configs were clashing and that was causing the issue. After fixing the configuration.nix (by removing the raspberryPi specific config) I'm now able to upgrade past commit 4014fb6 to unstable. So I'm closing the issue. Thanks @samueldr @ncfavier for the support in solving this issue. |
`unspecified` will happily concatenate strings together from two unrelated modules, causing spurious errors (see NixOS#155925).
Rebuilding NixOS on Raspberry Pi 4 fails after commit: 4014fb6 (PR #151082)
Errors as:
My configuration.nix has:
Question:
nixos-rebuild build-vm
) #151082)?@roberth @ncfavier @samueldr
The text was updated successfully, but these errors were encountered: