mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 21:50:55 +00:00
perf: Allow proceeding in build even if patch fails.
Patching fails for linux 3.13 but it builds OK.
This commit is contained in:
parent
6b2533c48f
commit
70e4f8f928
|
@ -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"
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue