meta.tests: rename into passthru.tests

Nix currently rejects derivations in `meta` values. This works around
that limitation by using `passthru` instead.

Closes https://github.com/NixOS/nixpkgs/issues/50230
This commit is contained in:
Léo Gaspard
2018-11-11 23:11:46 +09:00
parent cae5598611
commit 2986ce16a8
5 changed files with 20 additions and 14 deletions
+3 -6
View File
@@ -61,11 +61,8 @@ stdenv.mkDerivation rec {
license = licenses.isc;
platforms = platforms.linux;
maintainers = with maintainers; [ rickynils obadz ekleog ];
# https://github.com/NixOS/nixpkgs/issues/50230 must be resolved before
# this can be enabled.
#
# tests = {
# basic-functionality-and-dovecot-interaction = nixosTests.opensmtpd;
# };
};
passthru.tests = {
basic-functionality-and-dovecot-interaction = nixosTests.opensmtpd;
};
}