Commit 9ce88102 authored by Andrew Marshall's avatar Andrew Marshall
Browse files

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".
parent 2491be0a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -221,7 +221,7 @@ in
        type = lib.types.package;
        default = 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 {
+0 −2
Original line number Diff line number Diff line
@@ -237,8 +237,6 @@ let

      inherit maintainers;
      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);
    };
  };