diff options
author | Jörg Thalheim <joerg@thalheim.io> | 2018-04-06 16:17:25 +0100 |
---|---|---|
committer | Jörg Thalheim <joerg@thalheim.io> | 2018-04-06 16:18:26 +0100 |
commit | 0af5b254ab6b3a54037ebab6fa09a85f52568d7f (patch) | |
tree | 373e11ad87f9122dd82f466c45e9e44462c756d3 /pkgs/os-specific/linux/zfs | |
parent | f8fe297ff1dd7caebee4b923ce2178da090564ac (diff) |
zfsUnstable: fix evaluation of error message
Diffstat (limited to 'pkgs/os-specific/linux/zfs')
-rw-r--r-- | pkgs/os-specific/linux/zfs/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/zfs/default.nix b/pkgs/os-specific/linux/zfs/default.nix index 8330981323992..ae51d3d4f9897 100644 --- a/pkgs/os-specific/linux/zfs/default.nix +++ b/pkgs/os-specific/linux/zfs/default.nix @@ -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}"}"; |