* 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
This commit is contained in:
Eelco Dolstra
2012-02-17 14:32:28 +00:00
parent d27f8787f7
commit b23126fcc3
17 changed files with 55 additions and 100 deletions
+8 -7
View File
@@ -1,13 +1,14 @@
{stdenv, fetchgit, kernel, ...}:
{ stdenv, fetchgit, kernel }:
stdenv.mkDerivation {
src = fetchgit {
url="git://github.com/mkottman/acpi_call.git";
rev="4f71ce83392bc52b3497";
sha256="1f20516dc7d42bc7d9d71eaa54f48f38cd56b8683062f81d6f3857990056bdd3";
};
name = "acpi-call";
name = "acpi-call-${kernel.version}";
src = fetchgit {
url = "git://github.com/mkottman/acpi_call.git";
rev = "4f71ce83392bc52b3497";
sha256 = "1f20516dc7d42bc7d9d71eaa54f48f38cd56b8683062f81d6f3857990056bdd3";
};
preBuild = ''
kernelVersion=$(cd ${kernel}/lib/modules && ls)
sed -e 's/break/true/' -i test_off.sh