linuxPackages.hpuefi-mod: fix build

This commit is contained in:
Nivayu
2026-02-23 09:28:33 +01:00
parent 82d15e20c0
commit e1b090a65c
@@ -31,7 +31,12 @@ stdenv.mkDerivation (finalAttrs: {
prePatch = ''
substituteInPlace "Makefile" \
--replace depmod \#
--replace-fail depmod \#
'';
postPatch = ''
substituteInPlace hpuefi.h \
--replace-fail '&((p)->flags)' '(unsigned long *)&((p)->flags)'
'';
meta = {