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:
@@ -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;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user