lkl: fixup build after PR #78994
This commit is contained in:
parent
c6f02f028c
commit
627a9ff433
1 changed files with 2 additions and 0 deletions
|
@ -21,6 +21,8 @@ stdenv.mkDerivation rec {
|
|||
|
||||
# Fix a /usr/bin/env reference in here that breaks sandboxed builds
|
||||
prePatch = "patchShebangs arch/lkl/scripts";
|
||||
# Fixup build with newer Linux headers: https://github.com/lkl/linux/pull/484
|
||||
postPatch = "sed '1i#include <linux/sockios.h>' -i tools/lkl/lib/hijack/xlate.c";
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin $lib/lib $dev
|
||||
|
|
Loading…
Reference in a new issue