diff options
author | Franz Pletz <fpletz@fnordicwalking.de> | 2018-01-01 22:03:53 +0100 |
---|---|---|
committer | Franz Pletz <fpletz@fnordicwalking.de> | 2018-01-01 22:04:25 +0100 |
commit | 0ea0e3cf719e2a238ecd5e9918cc30e2b642cce4 (patch) | |
tree | f0b8e6e6d140d1853bc206e55267aaa49858ba81 /pkgs/os-specific/linux/acpi-call | |
parent | 3d692437c4a8bdab86d8640d12aad437b007b84c (diff) |
linuxPackages.acpi_call: fix build with 4.14+ kernels
Diffstat (limited to 'pkgs/os-specific/linux/acpi-call')
-rw-r--r-- | pkgs/os-specific/linux/acpi-call/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/acpi-call/default.nix b/pkgs/os-specific/linux/acpi-call/default.nix index a04d1decbd8b..bd12373da884 100644 --- a/pkgs/os-specific/linux/acpi-call/default.nix +++ b/pkgs/os-specific/linux/acpi-call/default.nix @@ -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 |