* 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
@@ -1,14 +1,15 @@
{ stdenv, fetchurl, kernel}:
stdenv.mkDerivation rec {
name = "open-iscsi-2.0-871";
name = "open-iscsi-2.0-871-${kernel.version}";
src = fetchurl {
url = "http://www.open-iscsi.org/bits/${name}.tar.gz";
sha256 = "1jvx1agybaj4czhz41bz37as076spicsmlh5pjksvwl2mr38gsmw";
};
KSRC = "${kernel}/lib/modules/*/build";
DESTDIR="$(out)";
DESTDIR = "$(out)";
preConfigure = ''
sed -i 's|/usr/|/|' Makefile
@@ -17,8 +18,8 @@ stdenv.mkDerivation rec {
patches = [./kernel.patch];
meta = {
description = "Open-iSCSI project is a high performance, transport independent, multi-platform implementation of RFC3720.";
description = "A high performance, transport independent, multi-platform implementation of RFC3720";
license = "GPLv2+";
homepage = http://www.open-iscsi.org ;
homepage = http://www.open-iscsi.org;
};
}