lighttpd: link nixosTests.lighttpd to passthru.tests
Ref. https://nixos.org/manual/nixpkgs/unstable/#ssec-nixos-tests-linking
This commit is contained in:
committed by
Franz Pletz
parent
9b6965dcfc
commit
90b3a5b927
@@ -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/";
|
||||
|
||||
Reference in New Issue
Block a user