mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-15 18:38:01 +00:00
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
|
||||
throw ''
|
||||
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 {
|
||||
name = "zfs-${configFile}-${version}${optionalString buildKernel "-${kernel.version}"}";
|
||||
|
Loading…
Reference in New Issue
Block a user