Merge pull request #122478 from hmenke/zfs
Fix ofborg evaluation failure for zfs with unsupported kernels
This commit is contained in:
commit
74399aadaf
@ -182,13 +182,9 @@ let
|
||||
license = licenses.cddl;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ hmenke jcumming jonringer wizeman fpletz globin mic92 ];
|
||||
broken = if
|
||||
buildKernel && (kernelCompatible != null) && !kernelCompatible
|
||||
then builtins.trace ''
|
||||
Linux v${kernel.version} is not yet supported by zfsonlinux v${version}.
|
||||
${lib.optionalString (!isUnstable) "Try zfsUnstable or set the NixOS option boot.zfs.enableUnstable."}
|
||||
'' true
|
||||
else false;
|
||||
# If your Linux kernel version is not yet supported by zfs, try zfsUnstable.
|
||||
# On NixOS set the option boot.zfs.enableUnstable.
|
||||
broken = buildKernel && (kernelCompatible != null) && !kernelCompatible;
|
||||
};
|
||||
};
|
||||
in {
|
||||
|
Loading…
x
Reference in New Issue
Block a user