diff options
author | Michael Raskin <7c6f434c@mail.ru> | 2012-08-03 16:20:24 +0400 |
---|---|---|
committer | Michael Raskin <7c6f434c@mail.ru> | 2012-08-03 16:20:24 +0400 |
commit | f82c864a4b627fb1c3769243de9dcc5966b22a27 (patch) | |
tree | 45f872e4935fc32f100a5061bccca8e349f9549f /pkgs/os-specific/linux/acpi-call | |
parent | 51c95330b323345ce5605e2d9cf0832735119aea (diff) |
acpi-call: update and fix kernel version handling
Diffstat (limited to 'pkgs/os-specific/linux/acpi-call')
-rw-r--r-- | pkgs/os-specific/linux/acpi-call/default.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/os-specific/linux/acpi-call/default.nix b/pkgs/os-specific/linux/acpi-call/default.nix index 301a8054557c..082cd869ab7e 100644 --- a/pkgs/os-specific/linux/acpi-call/default.nix +++ b/pkgs/os-specific/linux/acpi-call/default.nix @@ -5,19 +5,19 @@ stdenv.mkDerivation { src = fetchgit { url = "git://github.com/mkottman/acpi_call.git"; - rev = "4f71ce83392bc52b3497"; - sha256 = "1f20516dc7d42bc7d9d71eaa54f48f38cd56b8683062f81d6f3857990056bdd3"; + rev = "b570c3b6c7016174107558464e864391d8bbd176"; + sha256 = "a89c62d391b721bb87a094f81cefc77d9c80de4bb314bb6ea449c3ef2decad5e"; }; preBuild = '' sed -e 's/break/true/' -i test_off.sh sed -e 's@/bin/bash@.bin/sh@' -i test_off.sh - sed -e "s@/lib/modules/\$(.*)@${kernel}/lib/modules/${kernel.version}@" -i Makefile + sed -e "s@/lib/modules/\$(.*)@${kernel}/lib/modules/${kernel.modDirVersion}@" -i Makefile ''; installPhase = '' - mkdir -p $out/lib/modules/${kernel.version}/misc - cp acpi_call.ko $out/lib/modules/${kernel.version}/misc + mkdir -p $out/lib/modules/${kernel.modDirVersion}/misc + cp acpi_call.ko $out/lib/modules/${kernel.modDirVersion}/misc mkdir -p $out/bin cp test_off.sh $out/bin/test_discrete_video_off.sh ''; |