From cc88c41d333238db9363258b386bb5304fa81d58 Mon Sep 17 00:00:00 2001 From: aszlig Date: Sun, 29 Apr 2018 14:36:57 +0200 Subject: core/tests: Add tests for Chromium and Firefox While hasPackage is not yet very accurate when it comes to detecting whether a package is in systemPackages (it only matches the name attribute), let's make at least two of the most frequently used browsers part of our machine specific tests. Signed-off-by: aszlig --- modules/core/tests.nix | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'modules') diff --git a/modules/core/tests.nix b/modules/core/tests.nix index f095d9b1..dbf2b3ef 100644 --- a/modules/core/tests.nix +++ b/modules/core/tests.nix @@ -48,6 +48,9 @@ let || config.services.ceph.osd.enable; path = ["nixos" "ceph"]; } + { check = hasPackage pkgs.chromium; + path = ["nixos" "chromium"]; + } { check = config.services.cjdns.enable; path = ["nixos" "cjdns"]; } @@ -137,6 +140,9 @@ let { check = config.services.ferm.enable; path = ["nixos" "ferm"]; } + { check = hasPackage pkgs.firefox; + path = ["nixos" "firefox"]; + } { check = config.networking.firewall.enable; path = ["nixos" "firewall"]; } -- cgit 1.4.1