diff options
| author | Ben Wolsieffer <benwolsieffer@gmail.com> | 2025-04-28 21:21:19 -0400 |
|---|---|---|
| committer | Ben Wolsieffer <benwolsieffer@gmail.com> | 2025-05-07 20:24:48 -0400 |
| commit | 3aff7b471c61b26a0be6f1bdc35ee8871d0168b7 (patch) | |
| tree | 81012f20ded96cc9853c4700d08e9524b2599665 /pkgs/development/python-modules/rangehttpserver | |
| parent | 61f968627eaba23f587fb9166df3fe5d50f4132c (diff) | |
linux/common-config: enable EFI on supported platforms
Currently, is it possible for stdenv.hostPlatform.isEfi to be true but
the kernel to have no EFI support. This mainly occurs on armv6l and
causes systemd in initrd to fail to build because it attempts to include
the non-existent efivarfs module in the initrd.
To fix this, automatically enable CONFIG_EFI on platforms where isEfi is
true. An alternative would be to make isEfi false on armv6l, but EFI is
in fact usable on that platform.
To prove this, I successfully booted NixOS on a Raspberry Pi Zero using
systemd-boot and U-Boot's EFI support. I confirmed that efivarfs works
as well.
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions
