From ed83ec1b65f2923914e2fe97cc4f8214fc0e1d07 Mon Sep 17 00:00:00 2001 From: Dan Peebles Date: Wed, 25 Jan 2017 21:30:46 +0000 Subject: [PATCH] lkl: fix impure reference to /usr/bin/env --- pkgs/applications/virtualization/lkl/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/applications/virtualization/lkl/default.nix b/pkgs/applications/virtualization/lkl/default.nix index b1b3c3aebeef..a307099783eb 100644 --- a/pkgs/applications/virtualization/lkl/default.nix +++ b/pkgs/applications/virtualization/lkl/default.nix @@ -13,6 +13,9 @@ stdenv.mkDerivation rec { sha256 = "0x1hdjsrj6hfk1sgfw11ihm00fmp6g158sr2q3cgjy2b6jnsr4hp"; }; + # Fix a /usr/bin/env reference in here that breaks sandboxed builds + prePatch = "patchShebangs arch/lkl/scripts"; + installPhase = '' mkdir -p $out/{bin,lib}