diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-02-17 14:32:28 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-02-17 14:32:28 +0000 |
commit | b23126fcc3bca0072f68b576178aee263182ba71 (patch) | |
tree | 70cb6062c9353474867b15d624da5ae7431ee77e /pkgs/os-specific/linux/acpi-call | |
parent | d27f8787f7a30a96a10f6129482b32dad818e7ae (diff) |
* Include the kernel version in kernel-specific packages so that they
can be distinguished in nix-env -qa output. svn path=/nixpkgs/trunk/; revision=32352
Diffstat (limited to 'pkgs/os-specific/linux/acpi-call')
-rw-r--r-- | pkgs/os-specific/linux/acpi-call/default.nix | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/pkgs/os-specific/linux/acpi-call/default.nix b/pkgs/os-specific/linux/acpi-call/default.nix index 1a9b3cbf74dc9..d7c9e2c3695e3 100644 --- a/pkgs/os-specific/linux/acpi-call/default.nix +++ b/pkgs/os-specific/linux/acpi-call/default.nix @@ -1,13 +1,14 @@ -{stdenv, fetchgit, kernel, ...}: +{ stdenv, fetchgit, kernel }: stdenv.mkDerivation { + name = "acpi-call-${kernel.version}"; + src = fetchgit { - url="git://github.com/mkottman/acpi_call.git"; - rev="4f71ce83392bc52b3497"; - sha256="1f20516dc7d42bc7d9d71eaa54f48f38cd56b8683062f81d6f3857990056bdd3"; + url = "git://github.com/mkottman/acpi_call.git"; + rev = "4f71ce83392bc52b3497"; + sha256 = "1f20516dc7d42bc7d9d71eaa54f48f38cd56b8683062f81d6f3857990056bdd3"; }; - name = "acpi-call"; - + preBuild = '' kernelVersion=$(cd ${kernel}/lib/modules && ls) sed -e 's/break/true/' -i test_off.sh |