lighttpd: link nixosTests.lighttpd to passthru.tests
Ref. https://nixos.org/manual/nixpkgs/unstable/#ssec-nixos-tests-linking
This commit is contained in:
parent
9b6965dcfc
commit
90b3a5b927
1 changed files with 5 additions and 0 deletions
|
@ -10,6 +10,7 @@
|
|||
, enableWebDAV ? false, sqlite, libuuid
|
||||
, enableExtendedAttrs ? false, attr
|
||||
, perl
|
||||
, nixosTests
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
@ -72,6 +73,10 @@ stdenv.mkDerivation rec {
|
|||
rm "$out/share/lighttpd/doc/config/vhosts.d/Makefile"*
|
||||
'';
|
||||
|
||||
passthru.tests = {
|
||||
inherit (nixosTests) lighttpd;
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Lightweight high-performance web server";
|
||||
homepage = "http://www.lighttpd.net/";
|
||||
|
|
Loading…
Reference in a new issue