summary refs log tree commit diff
path: root/pkgs/os-specific/linux/powertop/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/os-specific/linux/powertop/default.nix')
-rw-r--r--pkgs/os-specific/linux/powertop/default.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/powertop/default.nix b/pkgs/os-specific/linux/powertop/default.nix
index e0575b33c49..7c66556df29 100644
--- a/pkgs/os-specific/linux/powertop/default.nix
+++ b/pkgs/os-specific/linux/powertop/default.nix
@@ -6,7 +6,10 @@ stdenv.mkDerivation {
     url = http://www.lesswatts.org/projects/powertop/download/powertop-1.13.tar.gz;
     sha256 = "164dqp6msdaxpi2bmvwawasyrf1sfvanlc9ddp97v1wnjh46dj1b";
   };
-  patches = [./powertop-1.13.patch];
+  patches = [
+    ./powertop-1.13.patch
+    ./0001-CONFIG_INOTIFY_USER-instead-of-CONFIG_INOTIFY.patch
+  ];
   buildInputs = [ncurses gettext];
   meta = {
     description = "Analyze power consumption on Intel-based laptops";