efibootmgr: fixup build on i686

Same as efivar; I believe it doesn't really needs LTO.  I checked:
nix build -f nixos/release-combined.nix nixos.iso_minimal.i686-linux
This commit is contained in:
Vladimír Čunát 2020-02-18 10:19:44 +01:00
parent af8d7003cf
commit f595677418
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -22,6 +22,8 @@ stdenv.mkDerivation rec {
sha256 = "1sbijvlpv4khkix3vix9mbhzffj8lp8zpnbxm9gnzjz8yssz9p5h";
})
];
# We have no LTO here since commit 22284b07.
postPatch = if stdenv.isi686 then "sed '/^CFLAGS/s/-flto//' -i Make.defaults" else null;
makeFlags = [ "EFIDIR=nixos" ];