trilium-server: Add passthru tests

This commit is contained in:
Christian Kampka
2019-12-19 10:14:14 +01:00
parent 9f97485399
commit 39ecfaf0ba
+5 -1
View File
@@ -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;
};
};
}