summary refs log tree commit diff
path: root/pkgs/os-specific/linux/open-iscsi
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2012-02-17 14:32:28 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2012-02-17 14:32:28 +0000
commitb23126fcc3bca0072f68b576178aee263182ba71 (patch)
tree70cb6062c9353474867b15d624da5ae7431ee77e /pkgs/os-specific/linux/open-iscsi
parentd27f8787f7a30a96a10f6129482b32dad818e7ae (diff)
downloadnixpkgs-b23126fcc3bca0072f68b576178aee263182ba71.tar
nixpkgs-b23126fcc3bca0072f68b576178aee263182ba71.tar.gz
nixpkgs-b23126fcc3bca0072f68b576178aee263182ba71.tar.bz2
nixpkgs-b23126fcc3bca0072f68b576178aee263182ba71.tar.lz
nixpkgs-b23126fcc3bca0072f68b576178aee263182ba71.tar.xz
nixpkgs-b23126fcc3bca0072f68b576178aee263182ba71.tar.zst
nixpkgs-b23126fcc3bca0072f68b576178aee263182ba71.zip
* 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/open-iscsi')
-rw-r--r--pkgs/os-specific/linux/open-iscsi/default.nix9
1 files changed, 5 insertions, 4 deletions
diff --git a/pkgs/os-specific/linux/open-iscsi/default.nix b/pkgs/os-specific/linux/open-iscsi/default.nix
index 80703990778..eccdde30b13 100644
--- a/pkgs/os-specific/linux/open-iscsi/default.nix
+++ b/pkgs/os-specific/linux/open-iscsi/default.nix
@@ -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;
   };
 }