zfs: remove recommendations to use unstable

`pkgs.zfs_unstable` is pre-release software and may very well have
critical bugs that make it unsuitable for general use. As such, we
should not recommend it as a general solution to the problem of "my
Kernel is too new for stable ZFS".
This commit is contained in:
Andrew Marshall 2024-10-30 10:00:33 -04:00
parent 2491be0a6d
commit 9ce881027b
2 changed files with 1 additions and 3 deletions

View File

@ -221,7 +221,7 @@ in
type = lib.types.package; type = lib.types.package;
default = pkgs.zfs; default = pkgs.zfs;
defaultText = lib.literalExpression "pkgs.zfs"; defaultText = lib.literalExpression "pkgs.zfs";
description = "Configured ZFS userland tools package, use `pkgs.zfs_unstable` if you want to track the latest staging ZFS branch."; description = "Configured ZFS userland tools package.";
}; };
modulePackage = lib.mkOption { modulePackage = lib.mkOption {

View File

@ -237,8 +237,6 @@ let
inherit maintainers; inherit maintainers;
mainProgram = "zfs"; mainProgram = "zfs";
# If your Linux kernel version is not yet supported by zfs, try zfs_unstable.
# On NixOS set the option `boot.zfs.package = pkgs.zfs_unstable`.
broken = buildKernel && (kernelCompatible != null) && !(kernelCompatible kernel); broken = buildKernel && (kernelCompatible != null) && !(kernelCompatible kernel);
}; };
}; };