mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-01 08:25:55 +03:00
efibootmgr: Fix the cross compilation
This commit is contained in:
parent
1ce06d2448
commit
5afd967d70
@ -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 New Issue
Block a user