git.iko.soy/typeable/nixpkgs
on master help sign in
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

commitf5956774188194c8f5b5acbfe4392f91ece6a593 authorVladimír Čunát <v@cunat.cz> dateTue 18 Feb 2020, 10:19 (7 years ago) parentaf8d700
1 file changed+2
pkgs/tools/system/efibootmgr/default.nix+2
pkgs/tools/system/efibootmgr/default.nix+2
@@ -22,6 +22,8 @@ stdenv.mkDerivation rec {
2222 sha256 = "1sbijvlpv4khkix3vix9mbhzffj8lp8zpnbxm9gnzjz8yssz9p5h";
2323 })
2424 ];
25+ # We have no LTO here since commit 22284b07.
26+ postPatch = if stdenv.isi686 then "sed '/^CFLAGS/s/-flto//' -i Make.defaults" else null;
2527
2628 makeFlags = [ "EFIDIR=nixos" ];
2729