tor: passthru tests
This commit is contained in:
parent
7bf0f7301a
commit
a24694a90d
@ -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,19 +54,22 @@ stdenv.mkDerivation rec {
|
|||||||
rm -rf $out/share/tor
|
rm -rf $out/share/tor
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru.updateScript = import ./update.nix {
|
passthru = {
|
||||||
inherit (stdenv) lib;
|
tests.tor = nixosTests.tor;
|
||||||
inherit
|
updateScript = import ./update.nix {
|
||||||
writeScript
|
inherit (stdenv) lib;
|
||||||
common-updater-scripts
|
inherit
|
||||||
bash
|
writeScript
|
||||||
coreutils
|
common-updater-scripts
|
||||||
curl
|
bash
|
||||||
gnupg
|
coreutils
|
||||||
gnugrep
|
curl
|
||||||
gnused
|
gnupg
|
||||||
nix
|
gnugrep
|
||||||
;
|
gnused
|
||||||
|
nix
|
||||||
|
;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user