Merge pull request #94077 from mweinelt/tor

tor: passthru tests
This commit is contained in:
Mario Rodas
2020-07-28 16:53:48 -05:00
committed by GitHub
+5 -2
View File
@@ -1,5 +1,5 @@
{ stdenv, fetchurl, pkgconfig, libevent, openssl, zlib, torsocks { stdenv, fetchurl, pkgconfig, libevent, openssl, zlib, torsocks
, libseccomp, systemd, libcap, lzma, zstd, scrypt , libseccomp, systemd, libcap, lzma, zstd, scrypt, nixosTests
# for update.nix # for update.nix
, writeScript , writeScript
@@ -54,7 +54,9 @@ stdenv.mkDerivation rec {
rm -rf $out/share/tor rm -rf $out/share/tor
''; '';
passthru.updateScript = import ./update.nix { passthru = {
tests.tor = nixosTests.tor;
updateScript = import ./update.nix {
inherit (stdenv) lib; inherit (stdenv) lib;
inherit inherit
writeScript writeScript
@@ -68,6 +70,7 @@ stdenv.mkDerivation rec {
nix nix
; ;
}; };
};
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = "https://www.torproject.org/"; homepage = "https://www.torproject.org/";