Skip to content

Commit

Permalink
lkl: fixup build after PR NixOS#78994
Browse files Browse the repository at this point in the history
(cherry picked from commit 627a9ff)
  • Loading branch information
vcunat authored and dtzWill committed Feb 21, 2020
1 parent 1638382 commit 7fdb7bb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkgs/applications/virtualization/lkl/default.nix
Expand Up @@ -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
Expand Down

0 comments on commit 7fdb7bb

Please sign in to comment.