linuxPackages.acpi_call: fix build with 4.14+ kernels
This commit is contained in:
parent
3d692437c4
commit
0ea0e3cf71
@ -18,6 +18,8 @@ stdenv.mkDerivation {
|
||||
|
||||
hardeningDisable = [ "pic" ];
|
||||
|
||||
nativeBuildInputs = kernel.moduleBuildDependencies;
|
||||
|
||||
preBuild = ''
|
||||
sed -e 's/break/true/' -i examples/turn_off_gpu.sh
|
||||
sed -e 's@/bin/bash@.bin/sh@' -i examples/turn_off_gpu.sh
|
||||
|
Loading…
Reference in New Issue
Block a user