efibootmgr: Fix the cross compilation
This commit is contained in:
parent
1ce06d2448
commit
5afd967d70
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
|
|||
# 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" ];
|
||||
makeFlags = [ "EFIDIR=nixos" "PKG_CONFIG=${stdenv.cc.targetPrefix}pkg-config" ];
|
||||
|
||||
installFlags = [ "prefix=$(out)" ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue