Skip to content

Commit af6aacd

Browse files
committedJan 1, 2018
linuxPackages.acpi_call: fix build with 4.14+ kernels
(cherry picked from commit 0ea0e3c)
1 parent 407e831 commit af6aacd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎pkgs/os-specific/linux/acpi-call/default.nix

+2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ stdenv.mkDerivation {
1818

1919
hardeningDisable = [ "pic" ];
2020

21+
nativeBuildInputs = kernel.moduleBuildDependencies;
22+
2123
preBuild = ''
2224
sed -e 's/break/true/' -i examples/turn_off_gpu.sh
2325
sed -e 's@/bin/bash@.bin/sh@' -i examples/turn_off_gpu.sh

0 commit comments

Comments
 (0)
Please sign in to comment.