mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
lkl: fixup build after PR #78994
This commit is contained in:
parent
c6f02f028c
commit
627a9ff433
@ -21,6 +21,8 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
# Fix a /usr/bin/env reference in here that breaks sandboxed builds
|
# Fix a /usr/bin/env reference in here that breaks sandboxed builds
|
||||||
prePatch = "patchShebangs arch/lkl/scripts";
|
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 = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin $lib/lib $dev
|
mkdir -p $out/bin $lib/lib $dev
|
||||||
|
Loading…
Reference in New Issue
Block a user