mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 19:55:41 +03:00
efitools: fix build (#369551)
This commit is contained in:
commit
a88b7533e3
1 changed files with 1 additions and 0 deletions
|
@ -39,6 +39,7 @@ stdenv.mkDerivation rec {
|
|||
sed -i -e 's#/usr/include/efi#${gnu-efi}/include/efi/#g' Make.rules
|
||||
sed -i -e 's#/usr/lib64/gnuefi#${gnu-efi}/lib/#g' Make.rules
|
||||
sed -i -e 's#$(DESTDIR)/usr#$(out)#g' Make.rules
|
||||
sed -i '$asign-efi-sig-list.o flash-var.o: CFLAGS += -D_GNU_SOURCE' Makefile
|
||||
substituteInPlace lib/console.c --replace "EFI_WARN_UNKOWN_GLYPH" "EFI_WARN_UNKNOWN_GLYPH"
|
||||
patchShebangs .
|
||||
'';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue