Merge pull request #74628 from Mic92/nixos-ref-tests
treewide: reference nixos tests in packages
This commit is contained in:
commit
33e6bbde59
|
@ -1,4 +1,5 @@
|
|||
{ stdenv, fetchurl, fetchpatch, openssl, zlib, pcre, libxml2, libxslt
|
||||
, nixosTests
|
||||
, substituteAll, gd, geoip, perl
|
||||
, withDebug ? false
|
||||
, withStream ? true
|
||||
|
@ -109,7 +110,10 @@ stdenv.mkDerivation {
|
|||
mv $out/sbin $out/bin
|
||||
'';
|
||||
|
||||
passthru.modules = modules;
|
||||
passthru = {
|
||||
modules = modules;
|
||||
tests.nginx = nixosTests.nginx;
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "A reverse proxy and lightweight webserver";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl, lua, jemalloc }:
|
||||
{ stdenv, fetchurl, lua, jemalloc, nixosTests }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "5.0.6";
|
||||
|
@ -29,6 +29,8 @@ stdenv.mkDerivation rec {
|
|||
|
||||
doCheck = false; # needs tcl
|
||||
|
||||
passthru.tests.redis = nixosTests.redis;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://redis.io;
|
||||
description = "An open source, advanced key-value store";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl, makeWrapper, perl, ebtables, ipset, iptables }:
|
||||
{ stdenv, fetchurl, makeWrapper, perl, ebtables, ipset, iptables, nixosTests }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "2.4.1";
|
||||
|
@ -21,6 +21,8 @@ stdenv.mkDerivation rec {
|
|||
done
|
||||
'';
|
||||
|
||||
passthru.tests.ferm = nixosTests.ferm;
|
||||
|
||||
meta = {
|
||||
homepage = http://ferm.foo-projects.org/;
|
||||
description = "Tool to maintain complex firewalls";
|
||||
|
|
Loading…
Reference in a new issue