From 3671047632b9dd3632d483f5171a2611cd748b5f Mon Sep 17 00:00:00 2001 From: Aristid Breitkreuz Date: Sat, 9 Mar 2019 11:39:22 +0100 Subject: [PATCH] virtualbox-host module: fix warnings syntax --- nixos/modules/virtualisation/virtualbox-host.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/virtualisation/virtualbox-host.nix b/nixos/modules/virtualisation/virtualbox-host.nix index 3523997ce84e..6f7370181740 100644 --- a/nixos/modules/virtualisation/virtualbox-host.nix +++ b/nixos/modules/virtualisation/virtualbox-host.nix @@ -84,7 +84,7 @@ in config = mkIf cfg.enable (mkMerge [{ warnings = mkIf (config.nixpkgs.config.virtualbox.enableExtensionPack or false) - "'nixpkgs.virtualbox.enableExtensionPack' has no effect, please use 'virtualisation.virtualbox.host.enableExtensionPack'"; + ["'nixpkgs.virtualbox.enableExtensionPack' has no effect, please use 'virtualisation.virtualbox.host.enableExtensionPack'"]; boot.kernelModules = [ "vboxdrv" "vboxnetadp" "vboxnetflt" ]; boot.extraModulePackages = [ kernelModules ]; environment.systemPackages = [ virtualbox ];