Merge pull request #100891 from lukebfox/patch-2

powertop: strip hcitool FSH path
This commit is contained in:
Sandro 2020-11-27 14:50:30 +01:00 committed by GitHub
commit be36f6f0a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -25,6 +25,7 @@ stdenv.mkDerivation rec {
postPatch = '' postPatch = ''
substituteInPlace src/main.cpp --replace "/sbin/modprobe" "modprobe" substituteInPlace src/main.cpp --replace "/sbin/modprobe" "modprobe"
substituteInPlace src/calibrate/calibrate.cpp --replace "/usr/bin/xset" "xset" substituteInPlace src/calibrate/calibrate.cpp --replace "/usr/bin/xset" "xset"
substituteInPlace src/tuning/bluetooth.cpp --replace "/usr/bin/hcitool" "hcitool"
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {