Commit e1b090a6 authored by Nivayu's avatar Nivayu
Browse files

linuxPackages.hpuefi-mod: fix build

parent 82d15e20
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -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 = {