mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 14:45:27 +00:00
fix bug in perf-linux installation, oops
This commit is contained in:
parent
7eea045b28
commit
38a2056f70
|
@ -12,7 +12,7 @@ stdenv.mkDerivation {
|
|||
preConfigure = ''
|
||||
cd tools/perf
|
||||
sed -i s,/usr/include/elfutils,$elfutils/include/elfutils, Makefile
|
||||
-f bash_completion && 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