lighttpd: link nixosTests.lighttpd to passthru.tests

Ref. https://nixos.org/manual/nixpkgs/unstable/#ssec-nixos-tests-linking
This commit is contained in:
Bjørn Forsman 2022-07-25 10:13:50 +02:00 committed by Franz Pletz
parent 9b6965dcfc
commit 90b3a5b927

View file

@ -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/";