Skip to content

Commit

Permalink
linuxPackages.acpi_call: fix build with 4.14+ kernels
Browse files Browse the repository at this point in the history
  • Loading branch information
fpletz committed Jan 1, 2018
1 parent 3d69243 commit 0ea0e3c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkgs/os-specific/linux/acpi-call/default.nix
Expand Up @@ -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
Expand Down

0 comments on commit 0ea0e3c

Please sign in to comment.