mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
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;
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook nukeReferences ]
|
||||
++ optional (kernel != null) kernel.moduleBuildDependencies;
|
||||
++ optional buildUser kernel.moduleBuildDependencies;
|
||||
buildInputs =
|
||||
optionals buildKernel [ spl ]
|
||||
++ optionals buildUser [ zlib libuuid python attr ]
|
||||
|
Loading…
Reference in New Issue
Block a user