zfsUnstable: fix evaluation of error message
This commit is contained in:
parent
f8fe297ff1
commit
0af5b254ab
@ -27,7 +27,7 @@ let
|
|||||||
versionAtLeast kernel.version incompatibleKernelVersion then
|
versionAtLeast kernel.version incompatibleKernelVersion then
|
||||||
throw ''
|
throw ''
|
||||||
Linux v${kernel.version} is not yet supported by zfsonlinux v${version}.
|
Linux v${kernel.version} is not yet supported by zfsonlinux v${version}.
|
||||||
${stdenv.lib.optional (!isUnstable) "Try zfsUnstable or set the NixOS option boot.zfs.enableUnstable."}
|
${stdenv.lib.optionalString (!isUnstable) "Try zfsUnstable or set the NixOS option boot.zfs.enableUnstable."}
|
||||||
''
|
''
|
||||||
else stdenv.mkDerivation rec {
|
else stdenv.mkDerivation rec {
|
||||||
name = "zfs-${configFile}-${version}${optionalString buildKernel "-${kernel.version}"}";
|
name = "zfs-${configFile}-${version}${optionalString buildKernel "-${kernel.version}"}";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user