From 3bd26af129ce1d039a51a825a758fe6e6cffb85e Mon Sep 17 00:00:00 2001 From: Renaud Date: Sat, 16 Nov 2019 15:27:38 +0100 Subject: [PATCH] efitools: fix build with gnu-efi >= 3.0.11 (#73503) --- pkgs/tools/security/efitools/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/tools/security/efitools/default.nix b/pkgs/tools/security/efitools/default.nix index 8a64a019fef0..33b6c3b672da 100644 --- a/pkgs/tools/security/efitools/default.nix +++ b/pkgs/tools/security/efitools/default.nix @@ -26,6 +26,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 + substituteInPlace lib/console.c --replace "EFI_WARN_UNKOWN_GLYPH" "EFI_WARN_UNKNOWN_GLYPH" patchShebangs . '';