diff options
author | Shea Levy <shea@shealevy.com> | 2014-01-05 07:13:19 -0500 |
---|---|---|
committer | Shea Levy <shea@shealevy.com> | 2014-01-05 07:13:19 -0500 |
commit | 139f8949e6a5898aa8f245b49c18a6c523dce24e (patch) | |
tree | 07eaae3112af64386c3dea40e27a15a85f798f76 /pkgs/os-specific/linux/zfs/default.nix | |
parent | 010e63c69d4e240d01e319af392fbf6b03cf7490 (diff) | |
parent | ac2035287fbec30d92165fd3839d1bf71b8edd47 (diff) | |
download | nixlib-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/zfs/default.nix')
-rw-r--r-- | pkgs/os-specific/linux/zfs/default.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/os-specific/linux/zfs/default.nix b/pkgs/os-specific/linux/zfs/default.nix index 06615d170a17..67ed1312826a 100644 --- a/pkgs/os-specific/linux/zfs/default.nix +++ b/pkgs/os-specific/linux/zfs/default.nix @@ -1,7 +1,7 @@ -{ stdenv, fetchurl, kernelDev, spl, perl, autoconf, automake, libtool, zlib, libuuid, coreutils, utillinux }: +{ stdenv, fetchurl, kernel, spl, perl, autoconf, automake, libtool, zlib, libuuid, coreutils, utillinux }: stdenv.mkDerivation { - name = "zfs-0.6.2-${kernelDev.version}"; + name = "zfs-0.6.2-${kernel.version}"; src = fetchurl { url = http://archive.zfsonlinux.org/downloads/zfsonlinux/zfs/zfs-0.6.2.tar.gz; @@ -10,7 +10,7 @@ stdenv.mkDerivation { patches = [ ./mount_zfs_prefix.patch ./nix-build.patch ]; - buildInputs = [ kernelDev spl perl autoconf automake libtool zlib libuuid coreutils ]; + buildInputs = [ spl perl autoconf automake libtool zlib libuuid coreutils ]; # for zdb to get the rpath to libgcc_s, needed for pthread_cancel to work NIX_CFLAGS_LINK = "-lgcc_s"; @@ -28,8 +28,8 @@ stdenv.mkDerivation { ''; configureFlags = '' - --with-linux=${kernelDev}/lib/modules/${kernelDev.modDirVersion}/build - --with-linux-obj=${kernelDev}/lib/modules/${kernelDev.modDirVersion}/build + --with-linux=${kernel.dev}/lib/modules/${kernel.modDirVersion}/source + --with-linux-obj=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build --with-spl=${spl}/libexec/spl ''; |