do not patch non-existent bash_completion for old kernels
This commit is contained in:
parent
f925c5ae7f
commit
c222c31745
|
@ -12,7 +12,7 @@ stdenv.mkDerivation {
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
cd tools/perf
|
cd tools/perf
|
||||||
sed -i s,/usr/include/elfutils,$elfutils/include/elfutils, Makefile
|
sed -i s,/usr/include/elfutils,$elfutils/include/elfutils, Makefile
|
||||||
sed -i 's,^have perf,_have perf,' bash_completion
|
-f bash_completion && sed -i 's,^have perf,_have perf,' bash_completion
|
||||||
export makeFlags="DESTDIR=$out $makeFlags"
|
export makeFlags="DESTDIR=$out $makeFlags"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue