nixos/tests/zfs: improve naming
It is not one package, but the package set, and so is plural.
This commit is contained in:
parent
fb346a8791
commit
39ba1b4145
@ -8,9 +8,9 @@ with import ../lib/testing-python.nix { inherit system pkgs; };
|
|||||||
let
|
let
|
||||||
|
|
||||||
makeZfsTest = name:
|
makeZfsTest = name:
|
||||||
{ kernelPackage ? if enableUnstable
|
{ kernelPackages ? if enableUnstable
|
||||||
then pkgs.zfsUnstable.latestCompatibleLinuxPackages
|
then pkgs.zfsUnstable.latestCompatibleLinuxPackages
|
||||||
else pkgs.linuxPackages
|
else pkgs.linuxPackages
|
||||||
, enableUnstable ? false
|
, enableUnstable ? false
|
||||||
, enableSystemdStage1 ? false
|
, enableSystemdStage1 ? false
|
||||||
, zfsPackage ? if enableUnstable then pkgs.zfsUnstable else pkgs.zfs
|
, zfsPackage ? if enableUnstable then pkgs.zfsUnstable else pkgs.zfs
|
||||||
@ -35,7 +35,7 @@ let
|
|||||||
boot.loader.timeout = 0;
|
boot.loader.timeout = 0;
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
networking.hostId = "deadbeef";
|
networking.hostId = "deadbeef";
|
||||||
boot.kernelPackages = kernelPackage;
|
boot.kernelPackages = kernelPackages;
|
||||||
boot.zfs.package = zfsPackage;
|
boot.zfs.package = zfsPackage;
|
||||||
boot.supportedFilesystems = [ "zfs" ];
|
boot.supportedFilesystems = [ "zfs" ];
|
||||||
boot.initrd.systemd.enable = enableSystemdStage1;
|
boot.initrd.systemd.enable = enableSystemdStage1;
|
||||||
|
Loading…
Reference in New Issue
Block a user