linuxPackages.zfs: use correct kernel module build flag
In this expression the boolean flags `buildUser` and `buildKernel` determine if either userspace tools or the kernel module is being built. cc #33166
This commit is contained in:
parent
84d8ef6e2f
commit
6b74d2ca07
@ -39,7 +39,7 @@ let
|
|||||||
patches = extraPatches;
|
patches = extraPatches;
|
||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook nukeReferences ]
|
nativeBuildInputs = [ autoreconfHook nukeReferences ]
|
||||||
++ optional (kernel != null) kernel.moduleBuildDependencies;
|
++ optional buildUser kernel.moduleBuildDependencies;
|
||||||
buildInputs =
|
buildInputs =
|
||||||
optionals buildKernel [ spl ]
|
optionals buildKernel [ spl ]
|
||||||
++ optionals buildUser [ zlib libuuid python attr ]
|
++ optionals buildUser [ zlib libuuid python attr ]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user