mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
Try to fix acpi_call for 3.17
This commit is contained in:
parent
d3a7c50364
commit
2d3b4575a7
@ -13,6 +13,7 @@ stdenv.mkDerivation {
|
|||||||
sed -e 's/break/true/' -i examples/turn_off_gpu.sh
|
sed -e 's/break/true/' -i examples/turn_off_gpu.sh
|
||||||
sed -e 's@/bin/bash@.bin/sh@' -i examples/turn_off_gpu.sh
|
sed -e 's@/bin/bash@.bin/sh@' -i examples/turn_off_gpu.sh
|
||||||
sed -e "s@/lib/modules/\$(.*)@${kernel.dev}/lib/modules/${kernel.modDirVersion}@" -i Makefile
|
sed -e "s@/lib/modules/\$(.*)@${kernel.dev}/lib/modules/${kernel.modDirVersion}@" -i Makefile
|
||||||
|
sed -e 's@acpi/acpi[.]h@linux/acpi.h@g' -i acpi_call.c
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user