Open ppenguin opened 2 months ago
This affects 32 bit systems in general, including e.g. native compilation on i686-linux.
This affects 32 bit systems in general, including e.g. native compilation on i686-linux.
I made a naive fix here (sorry for the auto-reformat, don't know what the original formatter was), it built fine but I didn't get to test it, because in the end it was not the last problem...
I'm also affected by this issue, cross-compiling an armv7l boot image on x64 using nix.
@gcoremans I also hit this just two days ago, doing the same. Since your armv7l image probably won't be using EFI, you can probably safely remove it:
nixpkgs.overlays = [
(self: super: {
efivar = pkgs.runCommand "empty-efivar" { } "touch $out";
efibootmgr = pkgs.runCommand "empty-efibootmgr" { } "touch $out";
})
];
But then you'll hit many other issues, like I did.
Error log: