Unverified Commit 5c9774c3 authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

linuxPackages.hpuefi-mod: fix build (#493240)

parents 1717d538 e1b090a6
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 = {