trilium-server: Add passthru tests

This commit is contained in:
Christian Kampka 2019-12-14 11:08:31 +01:00
parent 9f97485399
commit 39ecfaf0ba
No known key found for this signature in database
GPG key ID: B88E140DB4FE1AA5

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;
};
};
}