1
0
Fork 1
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:
Aristid Breitkreuz 2013-07-01 21:04:46 +02:00 committed by Rok Garbas
parent f925c5ae7f
commit c222c31745

View file

@ -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"
'';