about summary refs log tree commit diff
path: root/nixos/tests/zfs.nix
diff options
context:
space:
mode:
authorAtemu <atemu.main@gmail.com>2021-01-10 13:23:32 +0100
committerAtemu <atemu.main@gmail.com>2021-01-10 13:24:53 +0100
commit61c0e8e6570e32bb3fd6259359b39b4c9e7045b8 (patch)
tree364e90001011b768fd47f6de7b4523dca7a1ad6e /nixos/tests/zfs.nix
parent257cbbcd3ab7bd96f5d24d50adc807de7c82e06d (diff)
tests/zfs: test stable with stable linuxPackages
Only unstable is supposed to be compatible with linuxPackages_latest
Diffstat (limited to 'nixos/tests/zfs.nix')
-rw-r--r--nixos/tests/zfs.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/zfs.nix b/nixos/tests/zfs.nix
index e05cd540227a6..2ef89fd2ad04f 100644
--- a/nixos/tests/zfs.nix
+++ b/nixos/tests/zfs.nix
@@ -8,7 +8,7 @@ with import ../lib/testing-python.nix { inherit system pkgs; };
 let
 
   makeZfsTest = name:
-    { kernelPackage ? pkgs.linuxPackages_latest
+    { kernelPackage ? if enableUnstable then pkgs.linuxPackages_latest else pkgs.linuxPackages
     , enableUnstable ? false
     , extraTest ? ""
     }: