@@ -255,6 +255,17 @@ meta.platforms = stdenv.lib.platforms.linux;
255255 <varname>tests</varname>
256256 </term>
257257 <listitem>
258+ <warning>
259+ <para>
260+ This attribute is special in that it is not actually under the
261+ <literal>meta</literal> attribute set but rather under the
262+ <literal>passthru</literal> attribute set. This is due to a current
263+ limitation of Nix, and will change as soon as Nixpkgs will be able to
264+ depend on a new enough version of Nix. See
265+ <link xlink:href="https://github.com/NixOS/nix/issues/2532">the relevant
266+ issue</link> for more details.
267+ </para>
268+ </warning>
258269 <para>
259270 An attribute set with as values tests. A test is a derivation, which
260271 builds successfully when the test passes, and fails to build otherwise. A
@@ -269,7 +280,7 @@ meta.platforms = stdenv.lib.platforms.linux;
269280{ /* ... */, nixosTests }:
270281{
271282 # ...
272− meta.tests = {
283+ passthru.tests = {
273284 basic-functionality-and-dovecot-integration = nixosTests.opensmtpd;
274285 };
275286}