From 5744b2032361064b59227840e98becc549791932 Mon Sep 17 00:00:00 2001 From: aszlig Date: Wed, 2 Jun 2021 11:50:59 +0200 Subject: modules: Properly link tests to machine configs The PSI and Flameshot tests so far weren't part of the channels of the machines where I use both programs, so if one of those tests would have failed the channels would have advanced regardless of that. Signed-off-by: aszlig --- modules/user/aszlig/profiles/workstation/default.nix | 2 ++ modules/user/aszlig/programs/flameshot/default.nix | 2 ++ 2 files changed, 4 insertions(+) diff --git a/modules/user/aszlig/profiles/workstation/default.nix b/modules/user/aszlig/profiles/workstation/default.nix index e5591eeb..f4a5a0ae 100644 --- a/modules/user/aszlig/profiles/workstation/default.nix +++ b/modules/user/aszlig/profiles/workstation/default.nix @@ -32,6 +32,8 @@ in { }) ]; + vuizvui.requiresTests = lib.singleton ["vuizvui" "programs" "psi"]; + environment.pathsToLink = lib.singleton "/share/chromium/extensions"; # The default theme hurts my eyes. diff --git a/modules/user/aszlig/programs/flameshot/default.nix b/modules/user/aszlig/programs/flameshot/default.nix index 29bb638d..a9385a1f 100644 --- a/modules/user/aszlig/programs/flameshot/default.nix +++ b/modules/user/aszlig/programs/flameshot/default.nix @@ -38,6 +38,8 @@ in { config = lib.mkIf cfg.enable { environment.systemPackages = lib.singleton cfg.package; + vuizvui.requiresTests = lib.singleton ["vuizvui" "programs" "flameshot"]; + services.dbus.packages = lib.singleton (pkgs.writeTextFile { name = "flameshot-dbus"; destination = "/share/dbus-1/services/org.flameshot.Flameshot.service"; -- cgit 1.4.1