Skip to content

Commit

Permalink
Merge pull request NixOS#94153 from dtzWill/update/powertop-2.13
Browse files Browse the repository at this point in the history
powertop: 2.10 -> 2.13
  • Loading branch information
xeji authored Jul 30, 2020
2 parents ee06b30 + 8565fc7 commit 1a0b9e6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 20 deletions.
11 changes: 4 additions & 7 deletions pkgs/os-specific/linux/powertop/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

stdenv.mkDerivation rec {
pname = "powertop";
version = "2.10";
version = "2.13";

src = fetchurl {
url = "https://01.org/sites/default/files/downloads/${pname}-v${version}.tar.gz";
sha256 = "0xaazqccyd42v2q532dxx40nqhb9sfsa6cyx8641rl57mfg4bdyk";
url = "https://01.org/sites/default/files/downloads/${pname}-${version}.tar.gz";
sha256 = "0y1ixw8v17fdb1ima0zshrd0rh4zxdh10r93nrrvq6d4lhn9jpx6";
};

outputs = [ "out" "man" ];
Expand All @@ -20,10 +20,7 @@ stdenv.mkDerivation rec {
url = "https://git.alpinelinux.org/aports/plain/main/powertop/strerror_r.patch?id=3b9214d436f1611f297b01f72469d66bfe729d6e";
sha256 = "1kzddhcrb0n2iah4lhgxwwy4mkhq09ch25jjngyq6pdj6pmfkpfw";
}
) ++ [
# Fix vertical scrolling, see: https://lists.01.org/pipermail/powertop/2019-March/002046.html
./fix-vertical-scrolling.patch
];
);

postPatch = ''
substituteInPlace src/main.cpp --replace "/sbin/modprobe" "modprobe"
Expand Down
13 changes: 0 additions & 13 deletions pkgs/os-specific/linux/powertop/fix-vertical-scrolling.patch

This file was deleted.

0 comments on commit 1a0b9e6

Please sign in to comment.