diff options
author | Vladimir Still <vl.still@gmail.com> | 2014-02-07 18:16:24 +0100 |
---|---|---|
committer | Vladimir Still <vl.still@gmail.com> | 2014-02-07 18:16:24 +0100 |
commit | 70e4f8f928f8cc29414b3d49d92cb328f85a4437 (patch) | |
tree | f014eabc8f27ba9cae26d07a32932472021ad4a3 | |
parent | 6b2533c48f738963b15a27782bff2201de6fdf03 (diff) | |
download | nixlib-70e4f8f928f8cc29414b3d49d92cb328f85a4437.tar nixlib-70e4f8f928f8cc29414b3d49d92cb328f85a4437.tar.gz nixlib-70e4f8f928f8cc29414b3d49d92cb328f85a4437.tar.bz2 nixlib-70e4f8f928f8cc29414b3d49d92cb328f85a4437.tar.lz nixlib-70e4f8f928f8cc29414b3d49d92cb328f85a4437.tar.xz nixlib-70e4f8f928f8cc29414b3d49d92cb328f85a4437.tar.zst nixlib-70e4f8f928f8cc29414b3d49d92cb328f85a4437.zip |
perf: Allow proceeding in build even if patch fails.
Patching fails for linux 3.13 but it builds OK.
-rw-r--r-- | pkgs/os-specific/linux/kernel/perf.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/kernel/perf.nix b/pkgs/os-specific/linux/kernel/perf.nix index 0a92e39c153a..f486f55654e6 100644 --- a/pkgs/os-specific/linux/kernel/perf.nix +++ b/pkgs/os-specific/linux/kernel/perf.nix @@ -12,7 +12,7 @@ stdenv.mkDerivation { preConfigure = '' cd tools/perf sed -i s,/usr/include/elfutils,$elfutils/include/elfutils, Makefile - patch -p1 < ${./perf.diff} + patch -p1 < ${./perf.diff} || true [ -f bash_completion ] && sed -i 's,^have perf,_have perf,' bash_completion export makeFlags="DESTDIR=$out $makeFlags" ''; |