about summary refs log tree commit diff
path: root/nixos/tests
diff options
context:
space:
mode:
authorAndrew Marshall <andrew@johnandrewmarshall.com>2024-01-28 09:19:21 -0500
committerAndrew Marshall <andrew@johnandrewmarshall.com>2024-01-28 09:19:21 -0500
commit39ba1b4145516d98689f8ce60655e5679ecc0c1c (patch)
tree50c85460c85d1d4a83ac34407b447bbbf01e7266 /nixos/tests
parentfb346a879191cf05f3b54bc8fc77859426dec7c1 (diff)
nixos/tests/zfs: improve naming
It is not one package, but the package set, and so is plural.
Diffstat (limited to 'nixos/tests')
-rw-r--r--nixos/tests/zfs.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/nixos/tests/zfs.nix b/nixos/tests/zfs.nix
index ed3b6c23ce414..dd3c68fd095c9 100644
--- a/nixos/tests/zfs.nix
+++ b/nixos/tests/zfs.nix
@@ -8,9 +8,9 @@ with import ../lib/testing-python.nix { inherit system pkgs; };
 let
 
   makeZfsTest = name:
-    { kernelPackage ? if enableUnstable
-                      then pkgs.zfsUnstable.latestCompatibleLinuxPackages
-                      else pkgs.linuxPackages
+    { kernelPackages ? if enableUnstable
+                       then pkgs.zfsUnstable.latestCompatibleLinuxPackages
+                       else pkgs.linuxPackages
     , enableUnstable ? false
     , enableSystemdStage1 ? false
     , zfsPackage ? if enableUnstable then pkgs.zfsUnstable else pkgs.zfs
@@ -35,7 +35,7 @@ let
         boot.loader.timeout = 0;
         boot.loader.efi.canTouchEfiVariables = true;
         networking.hostId = "deadbeef";
-        boot.kernelPackages = kernelPackage;
+        boot.kernelPackages = kernelPackages;
         boot.zfs.package = zfsPackage;
         boot.supportedFilesystems = [ "zfs" ];
         boot.initrd.systemd.enable = enableSystemdStage1;