Skip to content

Commit

Permalink
efitools: fix build (#369551)
Browse files Browse the repository at this point in the history
  • Loading branch information
khaneliman authored Dec 31, 2024
2 parents 60573d0 + 2f40fbd commit a88b753
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkgs/by-name/ef/efitools/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 .
'';
Expand Down

0 comments on commit a88b753

Please sign in to comment.