about summary refs log tree commit diff
diff options
context:
space:
mode:
authoraszlig <aszlig@nix.build>2021-06-02 11:50:59 +0200
committeraszlig <aszlig@nix.build>2021-06-02 11:50:59 +0200
commit5744b2032361064b59227840e98becc549791932 (patch)
tree8ea02783b8e737de0c69d3c6dd338a09ab15298a
parenta4cdae01efb7cac9b0fbf12a1dcc38b047fa503a (diff)
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 <aszlig@nix.build>
-rw-r--r--modules/user/aszlig/profiles/workstation/default.nix2
-rw-r--r--modules/user/aszlig/programs/flameshot/default.nix2
2 files changed, 4 insertions, 0 deletions
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";