about summary refs log tree commit diff
path: root/pkgs/os-specific/linux/powertop/default.nix
diff options
context:
space:
mode:
authorLouis Taylor <louis@kragniz.eu>2016-01-13 12:06:29 +0000
committerLouis Taylor <louis@kragniz.eu>2016-01-13 12:06:33 +0000
commit6ac550a3e9607fd4f7ab7bd808f0faa4a2af22ec (patch)
tree3d0de2cfb42f2e5af6d91cae0d245369e54b9525 /pkgs/os-specific/linux/powertop/default.nix
parentcea8ee50c7de8106d74ed66a9b54db56e3ab491e (diff)
downloadnixlib-6ac550a3e9607fd4f7ab7bd808f0faa4a2af22ec.tar
nixlib-6ac550a3e9607fd4f7ab7bd808f0faa4a2af22ec.tar.gz
nixlib-6ac550a3e9607fd4f7ab7bd808f0faa4a2af22ec.tar.bz2
nixlib-6ac550a3e9607fd4f7ab7bd808f0faa4a2af22ec.tar.lz
nixlib-6ac550a3e9607fd4f7ab7bd808f0faa4a2af22ec.tar.xz
nixlib-6ac550a3e9607fd4f7ab7bd808f0faa4a2af22ec.tar.zst
nixlib-6ac550a3e9607fd4f7ab7bd808f0faa4a2af22ec.zip
powertop: 2.7 -> 2.8
Removed patch, since an equivalent fix was made upstream and included in
the 2.8 release.
Diffstat (limited to 'pkgs/os-specific/linux/powertop/default.nix')
-rw-r--r--pkgs/os-specific/linux/powertop/default.nix8
1 files changed, 2 insertions, 6 deletions
diff --git a/pkgs/os-specific/linux/powertop/default.nix b/pkgs/os-specific/linux/powertop/default.nix
index 82ca746d6a47..ef1dbf00b52c 100644
--- a/pkgs/os-specific/linux/powertop/default.nix
+++ b/pkgs/os-specific/linux/powertop/default.nix
@@ -1,19 +1,15 @@
 { stdenv, fetchurl, gettext, libnl, ncurses, pciutils, pkgconfig, zlib }:
 
 stdenv.mkDerivation rec {
-  name = "powertop-2.7";
+  name = "powertop-2.8";
 
   src = fetchurl {
     url = "https://01.org/sites/default/files/downloads/powertop/${name}.tar.gz";
-    sha256 = "1jkqqr3l1x98m7rgin1dgfzxqwj4vciw9lyyq1kl9bdswa818jwd";
+    sha256 = "0nlwazxbnn0k6q5f5b09wdhw0f194lpzkp3l7vxansqhfczmcyx8";
   };
 
   buildInputs = [ gettext libnl ncurses pciutils pkgconfig zlib ];
 
-  # Fix --auto-tune bug:
-  # https://lists.01.org/pipermail/powertop/2014-December/001727.html
-  patches = [ ./auto-tune.patch ];
-
   postPatch = ''
     substituteInPlace src/main.cpp --replace "/sbin/modprobe" "modprobe"
   '';