summary refs log tree commit diff
path: root/pkgs/os-specific/linux/powertop
diff options
context:
space:
mode:
authorLuke Bentley-Fox <git@lukebentleyfox.net>2020-10-17 22:43:23 +0100
committerLuke Bentley-Fox <git@lukebentleyfox.net>2020-10-17 22:48:38 +0100
commit41e9a5305bd805ba227377d1b572c1ac30211c0b (patch)
tree5a4eaf432edefe38fe0e672fab8972c065e2d051 /pkgs/os-specific/linux/powertop
parent8133b9cb5f7c00d4fe31c8c2c4b525bc2650bfc0 (diff)
downloadnixpkgs-41e9a5305bd805ba227377d1b572c1ac30211c0b.tar
nixpkgs-41e9a5305bd805ba227377d1b572c1ac30211c0b.tar.gz
nixpkgs-41e9a5305bd805ba227377d1b572c1ac30211c0b.tar.bz2
nixpkgs-41e9a5305bd805ba227377d1b572c1ac30211c0b.tar.lz
nixpkgs-41e9a5305bd805ba227377d1b572c1ac30211c0b.tar.xz
nixpkgs-41e9a5305bd805ba227377d1b572c1ac30211c0b.tar.zst
nixpkgs-41e9a5305bd805ba227377d1b572c1ac30211c0b.zip
powertop: strip hcitool FSH path
Fixes #99492
Diffstat (limited to 'pkgs/os-specific/linux/powertop')
-rw-r--r--pkgs/os-specific/linux/powertop/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/powertop/default.nix b/pkgs/os-specific/linux/powertop/default.nix
index 4bf318d743e..22e70fc0b65 100644
--- a/pkgs/os-specific/linux/powertop/default.nix
+++ b/pkgs/os-specific/linux/powertop/default.nix
@@ -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; {