lkl: fixup build after PR #78994

This commit is contained in:
Vladimír Čunát 2020-02-20 21:07:43 +01:00
parent c6f02f028c
commit 627a9ff433
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -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