powertop: strip hcitool FSH path

Fixes #99492
This commit is contained in:
Luke Bentley-Fox 2020-10-17 22:43:23 +01:00
parent 8133b9cb5f
commit 41e9a5305b
No known key found for this signature in database
GPG key ID: A02C35CAD21C9BC4

View file

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