about summary refs log tree commit diff
path: root/tests/default.nix
diff options
context:
space:
mode:
authorsternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org>2021-02-16 02:22:51 +0100
committersternenseemann <sternenseemann@systemli.org>2021-02-25 19:52:33 +0100
commitbd05126ea1ea109d23318c4e26f678ada65cdf2b (patch)
treecea96314372684d6cdfa765b52ee403fdf999cc4 /tests/default.nix
parenta4e4ca8b9a5ad24787343d6e7bdd5be99776ecd2 (diff)
tests/profpatsch/programs/nman: add nixos test for nman
We can't really do normal unit tests, since they'd be integration tests
requiring nix. Recursive nix is also a bad idea in normal derivations,
so we add a NixOS test for nman.

Here we are also somewhat limited since we already need to have all
store paths used by nman in /nix/store otherwise we'd need to access the
network which would fail. However we can verify that nman only builds
specific store paths before finding the desired man page this way.
Diffstat (limited to 'tests/default.nix')
-rw-r--r--tests/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/default.nix b/tests/default.nix
index e47ddd46..e7f54e76 100644
--- a/tests/default.nix
+++ b/tests/default.nix
@@ -15,6 +15,7 @@ in {
   games = {
     starbound = callTest ./games/starbound.nix;
   };
+  profpatsch.programs.nman = callTest ./profpatsch/programs/nman.nix;
   programs = {
     gnupg = callTest ./programs/gnupg;
   };