blob: c174daad26b54d652053fb4814044bb5db28107a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
{ stdenv, fetchgit, kernel, linuxHeaders, perl }:
stdenv.mkDerivation {
name = "spl-0.6.0-rc4";
src = fetchgit {
url = git://github.com/behlendorf/spl.git;
rev = "dde6b7b137f56894a457";
sha256 = "c402517a647de0c22a69588219aa214f96d1cf9d2f8751b99c5a2795898c726b";
};
patches = [ ./install_prefix.patch ./module_prefix.patch ];
buildInputs = [ perl kernel linuxHeaders ];
configureFlags = [ "--with-linux=${kernel}/lib/modules/${kernel.version}/build"
"--with-linux-obj=${kernel}/lib/modules/${kernel.version}/build" ];
meta = {
description = "Kernel module driver for solaris porting layer (needed by in-kernel zfs)";
homepage = http://zfsonlinux.org/;
license = "CDDL";
platforms = stdenv.lib.platforms.linux;
};
}
|