about summary refs log tree commit diff
path: root/modules/core/tests.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/core/tests.nix')
-rw-r--r--modules/core/tests.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/core/tests.nix b/modules/core/tests.nix
index 05123ae1..5a0a0cb4 100644
--- a/modules/core/tests.nix
+++ b/modules/core/tests.nix
@@ -831,11 +831,11 @@ let
       path  = ["nixos" "yggdrasil"];
     }
     { check = config.boot.supportedFilesystems.zfs or false
-           && !config.boot.zfs.enableUnstable;
+           && config.boot.zfs.package.version == pkgs.zfs.version;
       path  = ["nixos" "zfs" "stable"];
     }
     { check = config.boot.supportedFilesystems.zfs or false
-           && config.boot.zfs.enableUnstable;
+           && config.boot.zfs.package.version == pkgs.zfs_unstable.version;
       path  = ["nixos" "zfs" "unstable"];
     }
     { check = config.programs.zsh.enable;