about summary refs log tree commit diff
path: root/pkgs/tools
diff options
context:
space:
mode:
authorEmery Hemingway <ehmry@posteo.net>2020-04-16 12:32:32 +0530
committerEmery Hemingway <ehmry@posteo.net>2020-04-22 11:45:04 +0530
commita2e3fc32b3e9bda252a280d77e051b2142be576d (patch)
treecac754d43742b8fe09a3e7ea98f8ff9c94a9ba70 /pkgs/tools
parent513e1339c0728df254b40efd49a67fb8653681e3 (diff)
downloadnixlib-a2e3fc32b3e9bda252a280d77e051b2142be576d.tar
nixlib-a2e3fc32b3e9bda252a280d77e051b2142be576d.tar.gz
nixlib-a2e3fc32b3e9bda252a280d77e051b2142be576d.tar.bz2
nixlib-a2e3fc32b3e9bda252a280d77e051b2142be576d.tar.lz
nixlib-a2e3fc32b3e9bda252a280d77e051b2142be576d.tar.xz
nixlib-a2e3fc32b3e9bda252a280d77e051b2142be576d.tar.zst
nixlib-a2e3fc32b3e9bda252a280d77e051b2142be576d.zip
cjdns: declare tests from nixosTests
Diffstat (limited to 'pkgs/tools')
-rw-r--r--pkgs/tools/networking/cjdns/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/tools/networking/cjdns/default.nix b/pkgs/tools/networking/cjdns/default.nix
index 452181754b17..9a74344d2936 100644
--- a/pkgs/tools/networking/cjdns/default.nix
+++ b/pkgs/tools/networking/cjdns/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub, nodejs, which, python27, utillinux }:
+{ stdenv, fetchFromGitHub, nodejs, which, python27, utillinux, nixosTests }:
 
 let version = "20.6"; in
 stdenv.mkDerivation {
@@ -29,6 +29,8 @@ stdenv.mkDerivation {
     cp -R contrib tools node_build node_modules $out/share/cjdns/
   '';
 
+  passthru.tests.basic = nixosTests.cjdns;
+
   meta = with stdenv.lib; {
     homepage = "https://github.com/cjdelisle/cjdns";
     description = "Encrypted networking for regular people";