mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
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:
parent
af8d7003cf
commit
f595677418
@ -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" ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user