tor: passthru tests

This commit is contained in:
Martin Weinelt 2020-07-28 15:16:37 +02:00
parent 7bf0f7301a
commit a24694a90d
No known key found for this signature in database
GPG Key ID: BD4AA0528F63F17E

View File

@ -1,5 +1,5 @@
{ stdenv, fetchurl, pkgconfig, libevent, openssl, zlib, torsocks
, libseccomp, systemd, libcap, lzma, zstd, scrypt
, libseccomp, systemd, libcap, lzma, zstd, scrypt, nixosTests
# for update.nix
, writeScript
@ -54,7 +54,9 @@ stdenv.mkDerivation rec {
rm -rf $out/share/tor
'';
passthru.updateScript = import ./update.nix {
passthru = {
tests.tor = nixosTests.tor;
updateScript = import ./update.nix {
inherit (stdenv) lib;
inherit
writeScript
@ -68,6 +70,7 @@ stdenv.mkDerivation rec {
nix
;
};
};
meta = with stdenv.lib; {
homepage = "https://www.torproject.org/";