docs: document that nix will not support derivations in meta

That's sad, but… https://github.com/NixOS/nix/issues/2532
This commit is contained in:
Léo Gaspard 2019-06-17 19:03:43 +02:00
parent b7d2f37680
commit e04856a173
No known key found for this signature in database
GPG Key ID: 771E7AD1170FE690

View File

@ -272,11 +272,9 @@ meta.platforms = stdenv.lib.platforms.linux;
<para> <para>
This attribute is special in that it is not actually under the This attribute is special in that it is not actually under the
<literal>meta</literal> attribute set but rather under the <literal>meta</literal> attribute set but rather under the
<literal>passthru</literal> attribute set. This is due to a current <literal>passthru</literal> attribute set. This is due to how
limitation of Nix, and will change as soon as Nixpkgs will be able to <literal>meta</literal> attributes work, and the fact that they
depend on a new enough version of Nix. See are supposed to contain only metadata, not derivations.
<link xlink:href="https://github.com/NixOS/nix/issues/2532">the relevant
issue</link> for more details.
</para> </para>
</warning> </warning>
<para> <para>