summary refs log tree commit diff
path: root/pkgs/os-specific/linux/open-iscsi/default.nix
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2014-01-05 07:13:19 -0500
committerShea Levy <shea@shealevy.com>2014-01-05 07:13:19 -0500
commit139f8949e6a5898aa8f245b49c18a6c523dce24e (patch)
tree07eaae3112af64386c3dea40e27a15a85f798f76 /pkgs/os-specific/linux/open-iscsi/default.nix
parent010e63c69d4e240d01e319af392fbf6b03cf7490 (diff)
parentac2035287fbec30d92165fd3839d1bf71b8edd47 (diff)
downloadnixlib-139f8949e6a5898aa8f245b49c18a6c523dce24e.tar
nixlib-139f8949e6a5898aa8f245b49c18a6c523dce24e.tar.gz
nixlib-139f8949e6a5898aa8f245b49c18a6c523dce24e.tar.bz2
nixlib-139f8949e6a5898aa8f245b49c18a6c523dce24e.tar.lz
nixlib-139f8949e6a5898aa8f245b49c18a6c523dce24e.tar.xz
nixlib-139f8949e6a5898aa8f245b49c18a6c523dce24e.tar.zst
nixlib-139f8949e6a5898aa8f245b49c18a6c523dce24e.zip
Merge branch 'merge-kernel-builds' into upstream-master
This is a second attempt at unifying the generic and manual-config
kernel builds (see #412 for the last time).

The set of working kernel packages is a superset of those that work on
master, and as the only objection last time was the size of the $dev
closure and now both $out and $dev combined are 20M smaller than $out on
master (see message for ac2035287fbec30d92165fd3839d1bf71b8edd47), this
should be unobjectionable.

Signed-off-by: Shea Levy <shea@shealevy.com>
Diffstat (limited to 'pkgs/os-specific/linux/open-iscsi/default.nix')
-rw-r--r--pkgs/os-specific/linux/open-iscsi/default.nix14
1 files changed, 8 insertions, 6 deletions
diff --git a/pkgs/os-specific/linux/open-iscsi/default.nix b/pkgs/os-specific/linux/open-iscsi/default.nix
index 60e0e4d189c0..e28593d02522 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, kernelDev}:
-
-stdenv.mkDerivation rec {
-  name = "open-iscsi-2.0-871-${kernelDev.version}";
+{ stdenv, fetchurl, kernel}:
+let
+  pname = "open-iscsi-2.0-871";
+in stdenv.mkDerivation {
+  name = "${pname}-${kernel.version}";
   
   src = fetchurl {
-    url = "http://www.open-iscsi.org/bits/${name}.tar.gz";
+    url = "http://www.open-iscsi.org/bits/${pname}.tar.gz";
     sha256 = "1jvx1agybaj4czhz41bz37as076spicsmlh5pjksvwl2mr38gsmw";
   };
   
-  KSRC = "${kernelDev}/lib/modules/*/build";
+  KSRC = "${kernel.dev}/lib/modules/*/build";
   DESTDIR = "$(out)";
   
   preConfigure = ''
@@ -21,5 +22,6 @@ stdenv.mkDerivation rec {
     description = "A high performance, transport independent, multi-platform implementation of RFC3720";
     license = "GPLv2+";
     homepage = http://www.open-iscsi.org;
+    broken = true;
   };
 }