about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--pkgs/applications/office/trilium/default.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/applications/office/trilium/default.nix b/pkgs/applications/office/trilium/default.nix
index 2c8a85c49338..cfaaff1d0a80 100644
--- a/pkgs/applications/office/trilium/default.nix
+++ b/pkgs/applications/office/trilium/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, autoPatchelfHook, atomEnv, makeWrapper, makeDesktopItem, gtk3, wrapGAppsHook, zlib, libxkbfile }:
+{ stdenv, nixosTests, fetchurl, autoPatchelfHook, atomEnv, makeWrapper, makeDesktopItem, gtk3, wrapGAppsHook, zlib, libxkbfile }:
 
 let
   description = "Trilium Notes is a hierarchical note taking application with focus on building large personal knowledge bases.";
@@ -107,5 +107,9 @@ in {
       EOF
       chmod a+x $out/bin/trilium-server
     '';
+
+    passthru.tests = {
+      trilium-server = nixosTests.trilium-server;
+    };
   };
 }