From 2d3b4575a7596c54a72a2c8dc29e8758c80a2bdb Mon Sep 17 00:00:00 2001 From: Michael Raskin <7c6f434c@mail.ru> Date: Mon, 6 Oct 2014 12:15:46 +0400 Subject: [PATCH] Try to fix acpi_call for 3.17 --- pkgs/os-specific/linux/acpi-call/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/os-specific/linux/acpi-call/default.nix b/pkgs/os-specific/linux/acpi-call/default.nix index 63c55341b143..289b54f1b54c 100644 --- a/pkgs/os-specific/linux/acpi-call/default.nix +++ b/pkgs/os-specific/linux/acpi-call/default.nix @@ -13,6 +13,7 @@ stdenv.mkDerivation { 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@/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 = ''