From 39ecfaf0bad22982bb9189688633d664e1d8b5e6 Mon Sep 17 00:00:00 2001 From: Christian Kampka Date: Sat, 14 Dec 2019 11:08:31 +0100 Subject: trilium-server: Add passthru tests --- pkgs/applications/office/trilium/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'pkgs/applications/office') 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; + }; }; } -- cgit 1.4.1