Skip to content

Commit

Permalink
linuxPackages.acpi_call: add patch for 4.12 compat
Browse files Browse the repository at this point in the history
(cherry picked from commit 65f9631)
  • Loading branch information
fpletz committed Aug 18, 2017
1 parent b590b82 commit 2ef4001
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion pkgs/os-specific/linux/acpi-call/default.nix
@@ -1,4 +1,4 @@
{ stdenv, fetchgit, kernel }:
{ stdenv, fetchgit, fetchpatch, kernel }:

stdenv.mkDerivation {
name = "acpi-call-${kernel.version}";
Expand All @@ -9,6 +9,13 @@ stdenv.mkDerivation {
sha256 = "0jl19irz9x9pxab2qp4z8c3jijv2m30zhmnzi6ygbrisqqlg4c75";
};

patches = [
(fetchpatch {
url = "https://github.com/mkottman/acpi_call/pull/67.patch";
sha256 = "0z07apvdl8nvl8iwfk1sl1iidfjyx12fc0345bmp2nq1537kpbri";
})
];

hardeningDisable = [ "pic" ];

preBuild = ''
Expand Down

0 comments on commit 2ef4001

Please sign in to comment.