mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-20 12:42:24 +00:00
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 = ''
|
||||
cd tools/perf
|
||||
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"
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue