nixpkgs manual: fix a typo in cross-compilation

I can't say I really understand that much about our cross stuff,
but this seems very clear.
This commit is contained in:
Vladimír Čunát 2020-02-10 16:56:58 +01:00
parent edfd964253
commit 79210713e6
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -256,7 +256,7 @@
</question>
<answer>
<para>
<programlisting>doCheck = stdenv.hostPlatform != stdenv.buildPlatfrom;</programlisting>
<programlisting>doCheck = stdenv.hostPlatform == stdenv.buildPlatfrom;</programlisting>
Add it to your <function>mkDerivation</function> invocation.
</para>
</answer>